[wpt-sync] Sync PR 46133 - Adding sink check on test block-text-node-insertion-into-script-eleme…
Categories
(Core :: DOM: Security, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox130 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 46133 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/46133
Details from upstream follow.
Ziran Sun <ziran@Zirans-MacBook-Pro.local> wrote:
Adding sink check on test block-text-node-insertion-into-script-eleme…
…nt.html.
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 3 tests and 11 subtests
Status Summary
Firefox
OK : 1
PASS : 12
FAIL : 7
TIMEOUT: 2
ERROR : 2[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt] 3[GitHub]
NOTRUN : 10
Chrome
OK : 2
PASS : 25
FAIL : 3
TIMEOUT: 2
NOTRUN : 2
Safari
ERROR : 3
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /trusted-types/block-text-node-insertion-into-script-element.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)- Regression test: Bypass via insertAdjacentText, initial comment.:
FAIL(Chrome:PASS) - Regression test: Bypass via appendChild into off-document script elementscript:
FAIL(Chrome:PASS) - Prep for subsequent tests: Clear SPV event queue.:
TIMEOUT(Chrome:PASS) - Spot tests around script + innerHTML interaction.:
NOTRUN(Chrome:PASS) - Prep for subsequent tests: Create default policy.:
NOTRUN(Chrome:PASS) - Test that default policy applies. script:
NOTRUN(Chrome:PASS) - Test a failing default policy. script:
NOTRUN(Chrome:PASS) - Spot tests around script + innerHTML interaction with default policy.:
NOTRUN(Chrome:PASS)
- Regression test: Bypass via insertAdjacentText, initial comment.:
- /trusted-types/block-text-node-insertion-into-svg-script-element.html [wpt.fyi]:
ERROR(Chrome:TIMEOUT, Safari:ERROR)- Regression test: Bypass via insertAdjacentText, initial comment.:
FAIL(Chrome:PASS) - Regression test: Bypass via appendChild into off-document script elementsvg:script:
FAIL(Chrome:PASS) - Prep for subsequent tests: Clear SPV event queue.:
TIMEOUT(Chrome:PASS) - Spot tests around script + innerHTML interaction.:
NOTRUN(Chrome:PASS) - Prep for subsequent tests: Create default policy.:
NOTRUN(Chrome:PASS) - Test that default policy applies. svg:script:
NOTRUN(Chrome:TIMEOUT) - Test a failing default policy. svg:script:
NOTRUN(Chrome:NOTRUN) - Spot tests around script + innerHTML interaction with default policy.:
NOTRUN(Chrome:NOTRUN)
- Regression test: Bypass via insertAdjacentText, initial comment.:
- /trusted-types/trusted-types-svg-script-set-href.html [wpt.fyi]:
ERROR[GitHub],OK[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview,Gecko-android-em-7.0-x86_64-qr-debug-geckoview,Gecko-android-em-7.0-x86_64-qr-opt-geckoview,Gecko-linux1804-64-qr-debug,Gecko-linux1804-64-qr-opt,Gecko-windows11-32-2009-qr-debug,Gecko-windows11-32-2009-qr-opt,Gecko-windows11-64-2009-qr-debug,Gecko-windows11-64-2009-qr-opt] (Chrome:OK, Safari:ERROR)- Assign string to SVGScriptElement.href.baseVal.:
FAIL(Chrome:PASS) - Assign string to non-attached SVGScriptElement.href via setAttribute.:
FAIL(Chrome:PASS) - Assign string to attached SVGScriptElement.href via setAttribute.:
FAIL(Chrome:PASS)
- Assign string to SVGScriptElement.href.baseVal.:
Comment 4•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/566c6427fb52
https://hg.mozilla.org/mozilla-central/rev/45646ab1e7a1
Description
•