You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For historical reasons, Window objects must also have a writable, configurable, non-enumerable property named HTMLDocument whose value is the Document interface object.
Nor can I find a HTMLDocument interface in the DOM or HTML spec. This was changed in 83f13ee.
Since all the browsers do not follow the specification, I think the specification should be updated?
(Also, I suspect that scripts in the wild might use the string tag [object HTMLDocument] to detect document objects)
The text was updated successfully, but these errors were encountered:
This is whatwg/dom#221 basically. To address it we must first redo how we allocate document objects. That will make it easier to allocate a different one for XML vs HTML, etc. #2657 has some thoughts on how to get there and my three most recent PRs will help us get there I think.
(line 78382 616df18)
This is not the case in Firefox 53, Chrome 57, Safari 10, IE11:
Nor can I find a
HTMLDocument
interface in the DOM or HTML spec. This was changed in 83f13ee.Since all the browsers do not follow the specification, I think the specification should be updated?
(Also, I suspect that scripts in the wild might use the string tag
[object HTMLDocument]
to detect document objects)The text was updated successfully, but these errors were encountered: