Bug 247647 - Sync Document.readyState with the HTML Specification
Summary: Sync Document.readyState with the HTML Specification
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-11-08 14:50 PST by Ahmad Saleem
Modified: 2022-11-15 15:49 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmad Saleem 2022-11-08 14:50:16 PST
Hi Team,

While going through the WebDIL, I noticed that we are missing following:

'''
readonly attribute DocumentReadyState readyState;
'''

Web-Spec: https://html.spec.whatwg.org/#the-document-object

Checked with "readyState" and we only have "enum" but not above "read-only" bit.

https://github.com/WebKit/WebKit/blob/main/Source/WebCore/dom/Document.idl

___

I am just creating this bug to align with specs.

Thanks!
Comment 4 Radar WebKit Bug Importer 2022-11-15 14:51:29 PST
<rdar://problem/102388385>
Comment 5 Karl Dubost 2022-11-15 15:45:57 PST
I must not have been fully awake when I posted these two comments. Sigh.


It's not in https://searchfox.org/wubkat/source/Source/WebCore/dom/Document.idl#102
but I see it here
https://searchfox.org/wubkat/source/Source/WebCore/dom/Document+HTML.idl#38
Comment 6 Karl Dubost 2022-11-15 15:49:42 PST
I confirmed internally, this is working as intended.