Closed Bug 1926409 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 48760 - Add tests for properties/attributes that used to be defined as Truste…

Categories

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

task

Tracking

()

RESOLVED FIXED
133 Branch
Tracking Status
firefox133 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Frédéric Wang <fwang@igalia.com> wrote:

Add tests for properties/attributes that used to be defined as Truste…

…dScriptURLs

These are still treated as TrustedScriptURLs in Chromium but not in the specification anymore. WebKit and Firefox don't treat them as TrustedScriptURLs either.
See https://github.com/w3c/trusted-types/issues/554

Component: web-platform-tests → DOM: Security
Product: Testing → Core

CI Results

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

Total 1 tests and 4 subtests

Status Summary

Firefox

OK : 1
PASS: 2
FAIL: 2

Chrome

OK : 1
FAIL: 4

Safari

OK : 1
PASS: 2
FAIL: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /trusted-types/legacy-trusted-script-urls.html [wpt.fyi]
    • getPropertyType() with legacy TrustedScriptURLs properties return null.: FAIL (Chrome: FAIL, Safari: FAIL)
    • getAttributeType() with legacy TrustedScriptURLs attributes return null.: FAIL (Chrome: FAIL, Safari: FAIL)
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/df9dc1356141 [wpt PR 48760] - Add tests for properties/attributes that used to be defined as Truste…, a=testonly https://hg.mozilla.org/integration/autoland/rev/b3864b8d8467 [wpt PR 48760] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
You need to log in before you can comment on or make changes to this bug.