[wpt-sync] Sync PR 56828 - Implement setHTMLUnsafe(html, {runScripts: true})
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
People
(Reporter: wpt-sync, Unassigned)
References
(Depends on 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 56828 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/56828
Details from upstream follow.
Noam Rosenthal <nrosenthal@chromium.org> wrote:
Implement setHTMLUnsafe(html, {runScripts: true})
The runScripts option executes the scripts after insertion, similar to
createContextualFragment.Change-Id: Iefe8cd0741a1064fc399b85856295746f8d791d7
I2P: https://groups.google.com/a/chromium.org/d/msgid/blink-dev/6942d982.050a0220.1050d6.07ec.GAE%40google.com
Bug: 469706054Reviewed-on: https://chromium-review.googlesource.com/7269427
WPT-Export-Revision: 25b0fb8230b12260ae975ecdfbb9fee84f9039e5
| Assignee | ||
Updated•1 day ago
|
| Assignee | ||
Comment 1•19 hours ago
|
||
| Assignee | ||
Comment 2•18 hours ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 16 subtests
Status Summary
Firefox
PASS : 4
FAIL : 4
TIMEOUT: 2
NOTRUN : 7
Chrome
PASS : 4
FAIL : 4
TIMEOUT: 2
NOTRUN : 7
Safari
PASS : 4
FAIL : 4
TIMEOUT: 2
NOTRUN : 7
Links
Details
New Tests That Don't Pass
- /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/setHTMLUnsafe-runScripts.tentative.html [wpt.fyi]:
TIMEOUT(Chrome:TIMEOUT, Safari:TIMEOUT)- Element: setHTMLUnsafe with runScripts & no shadowdom.:
FAIL(Chrome:FAIL, Safari:FAIL) - Element: setHTMLUnsafe with script inside declarative shadow DOM.:
FAIL(Chrome:FAIL, Safari:FAIL) - Element: setHTMLUnsafe with external script.:
TIMEOUT(Chrome:TIMEOUT, Safari:TIMEOUT) - Element: setHTMLUnsafe with external async script.:
NOTRUN(Chrome:NOTRUN, Safari:NOTRUN) - Element: setHTMLUnsafe with external defer script.:
NOTRUN(Chrome:NOTRUN, Safari:NOTRUN) - Element: setHTMLUnsafe script cannot observe intermediate state.:
NOTRUN(Chrome:NOTRUN, Safari:NOTRUN) - ShadowRoot: setHTMLUnsafe with runScripts & no shadowdom.:
FAIL(Chrome:FAIL, Safari:FAIL) - ShadowRoot: setHTMLUnsafe with script inside declarative shadow DOM.:
FAIL(Chrome:FAIL, Safari:FAIL) - ShadowRoot: setHTMLUnsafe with external script.:
NOTRUN(Chrome:NOTRUN, Safari:NOTRUN) - ShadowRoot: setHTMLUnsafe with external async script.:
NOTRUN(Chrome:NOTRUN, Safari:NOTRUN) - ShadowRoot: setHTMLUnsafe with external defer script.:
NOTRUN(Chrome:NOTRUN, Safari:NOTRUN) - ShadowRoot: setHTMLUnsafe script cannot observe intermediate state.:
NOTRUN(Chrome:NOTRUN, Safari:NOTRUN)
- Element: setHTMLUnsafe with runScripts & no shadowdom.:
Description
•