Closed Bug 2084443 Opened 1 month ago Closed 26 days ago

[wpt-sync] Sync PR 63913 - [Trusted Types] Clean up stale WPT expectations and harden 007-crash

Categories

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

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 63913 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/63913
Details from upstream follow.

Mike Taylor <miketaylr@chromium.org> wrote:

[Trusted Types] Clean up stale WPT expectations and harden 007-crash

  1. Remove the stale [ Crash ] expectation for
    external/wpt/trusted-types/navigate-to-javascript-url-007-crash.html
    (the underlying Use-After-Detach crash in FrameLoader::StartNavigation
    was fixed in https://crrev.com/c/6821038), remove it from the
    virtual/threaded suite (it does not use requestIdleCallback), and use
    class="test-wait" on the root element so the crashtest waits until the
    default policy's createScript callback has removed the subframe.

  2. Remove the transitional [ Failure Pass ] expectations and
    stale-expected.txt baselines for eval-function-constructor.html and
    eval-function-constructor-untrusted-arguments-and-applying-default-policy.html
    now that V8's per-argument codegen callback check in
    CreateDynamicFunction (https://crrev.com/c/8252307) has rolled in.

Bug: 429011220, 330516530, 542045675
Change-Id: I056bd33c3c8ae872af0d4e8b0bf075a79975fedc

Reviewed-on: https://chromium-review.googlesource.com/8562699
WPT-Export-Revision: 2d986abb60e6d5bf0783e258f07924344d925160

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

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 242 tests and 1 subtests

Status Summary

Firefox

OK : 239
PASS: 1[GitHub] 2[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 3659[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 3660[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 3664[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview]
FAIL: 21

Chrome

PASS: 1

Safari

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /trusted-types/trusted-types-from-literal.tentative.html [wpt.fyi]
    • TrustedHTML.fromLiteral is supported: FAIL
    • TrustedHTML.fromLiteral: Basic string literal works.: FAIL
    • TrustedHTML.fromLiteral: Empty string literal works.: FAIL
    • TrustedHTML.fromLiteral: A very important emoji works.: FAIL
    • TrustedHTML.fromLiteral: Multi-line string literal works.: FAIL
    • TrustedHTML.fromLiteral: Bound method works.: FAIL
    • TrustedScript.fromLiteral is supported: FAIL
    • TrustedScript.fromLiteral: Basic string literal works.: FAIL
    • TrustedScript.fromLiteral: Empty string literal works.: FAIL
    • TrustedScript.fromLiteral: A very important emoji works.: FAIL
    • TrustedScript.fromLiteral: Multi-line string literal works.: FAIL
    • TrustedScript.fromLiteral: Bound method works.: FAIL
    • TrustedScriptURL.fromLiteral is supported: FAIL
    • TrustedScriptURL.fromLiteral: Basic string literal works.: FAIL
    • TrustedScriptURL.fromLiteral: Empty string literal works.: FAIL
    • TrustedScriptURL.fromLiteral: A very important emoji works.: FAIL
    • TrustedScriptURL.fromLiteral: Multi-line string literal works.: FAIL
    • TrustedScriptURL.fromLiteral: Bound method works.: FAIL
    • TrustedHTML.fromLiteral: Normalization of value works.: FAIL
    • TrustedScript.fromLiteral: No normalization of value occurs.: FAIL
    • TrustedScriptURL.fromLiteral: No normalization of value occurs.: FAIL
Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/39da52423675 https://hg.mozilla.org/integration/autoland/rev/d6c4747b5523 [wpt PR 63913] - [Trusted Types] Clean up stale WPT expectations and harden 007-crash, a=testonly
Status: NEW → RESOLVED
Closed: 26 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.