Handle OwnPropertyKeys according to the spec
Categories
(Core :: DOM: Core & HTML, defect, P2)
Tracking
()
People
(Reporter: jkt, Assigned: jkt, NeedInfo)
References
Details
Attachments
(1 file)
Per the WebIDL specification, [[OwnPropertyKeys]] for the named properties object should return only @@toStringTag. Named properties should be resolved via [[GetOwnProperty]] but not enumerated as own keys.
Spec reference: https://webidl.spec.whatwg.org/#named-properties-object
Currently, WindowNamedPropertiesHandler::ownPropNames enumerates child browsing context names and document-exposed names when JSITER_HIDDEN is set. This is incorrect per spec.
See in https://bugzilla.mozilla.org/show_bug.cgi?id=1730243 test fails.
| Assignee | ||
Updated•8 days ago
|
| Assignee | ||
Comment 1•8 days ago
|
||
Depends on D279095
Updated•5 days ago
|
| Assignee | ||
Comment 2•13 hours ago
|
||
I think you'll have to send this to lando, I don't have l3 access anymore. Thanks for the review!
Comment 5•11 hours ago
|
||
Backed out for causing failures at test_window_element_enumeration.html.
Backout link: https://hg.mozilla.org/integration/autoland/rev/354c926233a2
Push with failures: https://treeherder.mozilla.org/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception%2Cretry%2Cusercancel&revision=1a641a1daffd2a05b3124a4e531fc861b2a49bc9
Failure log: https://treeherder.mozilla.org/logviewer?job_id=545333903&repo=autoland&task=WwlBiXi8TAC6Pci57trhqA.0&lineNumber=4549
Description
•