Closed Bug 1657640 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 24905 - [TrustedTypes] WPT test > check violation's sourceFile.

Categories

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

task

Tracking

()

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream][domsecurity-backlog])

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

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

arthursonzogni <arthursonzogni@chromium.org> wrote:

[TrustedTypes] WPT test > check violation's sourceFile.

Check what is the reported sourceFile depending on the script's origin.
Currently, the full URL isn't exposed in the case of a cross-origin
script. This is an issue. See https://crbug.com/1113163

TODO: Add checks with redirects.

Bug:1113163
Change-Id: I8bbd1234a485568127a21c6abfbd4d4a623494f2
Reviewed-on: https://chromium-review.googlesource.com/2341125
WPT-Export-Revision: 67883085de38e3d311307336d83de993513a7970

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

CI Results

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

Total 1 tests and 3 subtests

Status Summary

Firefox

ERROR: 1

Chrome

OK : 1
PASS : 3

Safari

ERROR: 1

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/trusted-types/trusted-types-source-file-path.tentative.html: ERROR (Chrome: OK, Safari: ERROR)

Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5482dc7e339d
[wpt PR 24905] - [TrustedTypes] WPT test > check violation's sourceFile., a=testonly
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cf28cf8b5694
[wpt PR 24905] - [TrustedTypes] WPT test > check violation's sourceFile., a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
Regressions: 1659254
You need to log in before you can comment on or make changes to this bug.