[wpt-sync] Sync PR 22405 - Fix error handling when calling replace/replaceSync on a non-constructed sheet.
Categories
(Core :: DOM: CSS Object Model, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox76 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 22405 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/22405
Details from upstream follow.
Emilio Cobos Álvarez <emilio@chromium.org> wrote:
Fix error handling when calling replace/replaceSync on a non-constructed sheet.
See https://github.com/WICG/construct-stylesheets/issues/62 for the rejected
promise bit. On top of that we were not returning so we were incorrectly
applying the styles.Bug: 1063809
Change-Id: I63aa937f66871e3b8eee577a7f2ddd873f45d2c3
Reviewed-on: https://chromium-review.googlesource.com/2116092
WPT-Export-Revision: 2417e1e10b880298c339f41cea2a06e0e2d4e700
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 1•6 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 1 subtests
Status Summary
Firefox
OK : 1
FAIL: 1
Chrome
OK : 1
FAIL: 1
Safari
OK : 1
FAIL: 1
Links
Details
New Tests That Don't Pass
/css/cssom/CSSStyleSheet-constructable-replace-on-regular-sheet.html
replace / replaceSync on non-constructed stylesheet: FAIL (Chrome: FAIL, Safari: FAIL)
Comment 3•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/403b7beab101
https://hg.mozilla.org/mozilla-central/rev/31fa3685f21b
Description
•