[wpt-sync] Sync PR 28559 - Remove Elements from toJSON
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox90 fixed)
| Tracking | Status | |
|---|---|---|
| firefox90 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 28559 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/28559
Details from upstream follow.
b'Toshiaki Tanaka <zokutyou2@gmail.com>' wrote:
Remove Elements from toJSON
- PerformanceElementTiming
- LargestContentfulPaint
- LayoutShiftAttribution
These include element or node in each toJSONForBinding implementation.
Those should be removed because they use the default toJSON operation and
those should not include interfaces that themselves do not have a toJSON
operation. So we should remove them from the toJSON builder and update
the existing toJSON WPT tests,Bug: 1199954
Change-Id: I282439c17485264f1621102e3d002a693d48c1f9
Reviewed-on: https://chromium-review.googlesource.com/2831166
WPT-Export-Revision: 63a333d2d05b1bf4ae0a6304affb970d37aa9f6a
| Assignee | ||
Comment 1•5 years ago
|
||
| Assignee | ||
Comment 2•5 years ago
|
||
CI Results
Ran 15 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 1 subtests
Status Summary
Firefox
OK : 2
FAIL: 2
Chrome
OK : 2
FAIL: 2
Safari
OK : 2
FAIL: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/element-timing/toJSON.html
Test toJSON() in PerformanceElementTiming.: FAIL (Chrome: FAIL, Safari: FAIL)
/largest-contentful-paint/toJSON.html
Test toJSON() in LargestContentfulPaint.: FAIL (Chrome: FAIL, Safari: FAIL)
Comment 4•5 years ago
|
||
| bugherder | ||
Description
•