Closed Bug 1895480 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 46133 - Adding sink check on test block-text-node-insertion-into-script-eleme…

Categories

(Core :: DOM: Security, task, P4)

task

Tracking

()

RESOLVED FIXED
130 Branch
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.

Component: web-platform-tests → DOM: Security
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

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)
  • /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)
  • /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)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/566c6427fb52 [wpt PR 46133] - Adding sink check on script element related tests in trusted types, a=testonly https://hg.mozilla.org/integration/autoland/rev/45646ab1e7a1 [wpt PR 46133] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
Regressions: 1908823
You need to log in before you can comment on or make changes to this bug.