Closed Bug 1681259 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 26793 - CSP: Fix WPT test missing 'sub' suffix in file name

Categories

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

task

Tracking

()

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

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

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

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

b'Antonio Sartori <antoniosartori@chromium.org>' wrote:

CSP: Fix WPT test missing 'sub' suffix in file name

A Web Platform Test was failing because it was missing the 'sub'
suffix in the file name, so template substitution was not performed by
the web platform http server. This change fixes that.

Bug: 1021462,1149272
Change-Id: Ic665aab61912002edf6a1cbfded4ff1ca3340c46
Reviewed-on: https://chromium-review.googlesource.com/2577778
WPT-Export-Revision: f866a9ecbc03ce187d5244782613abc2b868c4c2

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

CI Results

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

Total 1 tests and 2 subtests

Status Summary

Firefox

OK : 1
PASS : 1
FAIL : 1

Chrome

OK : 1
PASS : 2

Safari

FAIL : 1
TIMEOUT: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/content-security-policy/script-src/script-src-strict_dynamic_double_policy_honor_source_expressions.sub.html
Non-allowed script injected via appendChild is not permitted with strict-dynamic + a nonce+allowed double policy.: FAIL (Chrome: PASS, Safari: TIMEOUT)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b69e30d0b200
[wpt PR 26793] - CSP: Fix WPT test missing 'sub' suffix in file name, a=testonly
https://hg.mozilla.org/integration/autoland/rev/d2b7d894ece2
[wpt PR 26793] - Update wpt metadata, a=testonly
You need to log in before you can comment on or make changes to this bug.