[wpt-sync] Sync PR 27970 - Add comprehensive coverage for WindowProperties object
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox90 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 27970 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/27970
Details from upstream follow.
b'Alexey Shvayka <shvaikalesh@gmail.com>' wrote:
Add comprehensive coverage for WindowProperties object
Implementation bugs
This PR tests exclusively the current spec for named properties object.
Gecko (tested on Firefox Dev 89.0b14):
[[GetOwnProperty]]
doesn't return supported properties that are indices.Reflect.set
andReflect.defineProperty
incorrectly throwTypeError
in case of failure.[[OwnPropertyKeys]]
is not an ordinary method.Blink (tested on Chrome 92.0.4512.0):
🎉 Now fixed! 🎉[[DefineOwnProperty]]
doesn't fail for string keys, allowing expando properties.[[DefineOwnProperty]]
doesn't fail for symbols.Reflect.defineProperty
incorrectly returnstrue
for string properties (supported & not).[[Get]]
fails to perform named property visibility algorithm for supported indexed properties.[[Set]]
doesn't fail for symbols.Reflect.set
incorrectly returntrue
for string properties (supported & not).[[Delete]]
doesn't fail for symbols.WebKit: all passing with bug #222918.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
CI Results
Ran 15 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 4 tests and 7 subtests
Status Summary
Firefox
OK : 4
PASS : 116
FAIL : 8
Chrome
OK : 4
PASS : 91
FAIL : 21
Safari
OK : 3
PASS : 14
FAIL : 8
ERROR: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
/WebIDL/ecmascript-binding/window-named-properties-object.html
[[HasProperty]]: FAIL
[[Get]]: FAIL
[[OwnPropertyKeys]]: FAIL
New Tests That Don't Pass
/WebIDL/ecmascript-binding/window-named-properties-object.html
[[GetOwnProperty]]: FAIL (Chrome: PASS, Safari: FAIL)
[[DefineOwnProperty]]: FAIL (Chrome: FAIL, Safari: FAIL)
[[HasProperty]]: FAIL (Chrome: PASS, Safari: PASS)
[[Get]]: FAIL (Chrome: PASS, Safari: PASS)
[[Set]] (direct): FAIL (Chrome: FAIL, Safari: FAIL)
[[Delete]]: FAIL (Chrome: FAIL, Safari: FAIL)
[[OwnPropertyKeys]]: FAIL (Chrome: PASS, Safari: PASS)
/html/browsers/the-window-object/named-access-on-the-window-object/window-named-properties.html
duplicate property names: FAIL (Chrome: FAIL, Safari: FAIL)
Comment 6•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/8c27b0c23184
https://hg.mozilla.org/mozilla-central/rev/da97fe0d60e9
Description
•