Closed Bug 1722894 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 29836 - [CSP] Fix WPT eval-blocked-in-about-blank-iframe

Categories

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

task

Tracking

()

RESOLVED FIXED
92 Branch
Tracking Status
firefox92 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

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

[CSP] Fix WPT eval-blocked-in-about-blank-iframe

The test was failing for all vendors since it expected to get a
securitypolicyviolation event in the parent frame instead of the frame
where the eval was blocked.

I rewrote the test in a modern way and deleted the old http blink test
this one had been converted from.

Bug: 651742
Change-Id: Ie8b7ae4842c0934b3c18086a2aee93c8a8ca292a
Reviewed-on: https://chromium-review.googlesource.com/3059564
WPT-Export-Revision: 55e1eaffa0bb69b9ec79684bc67c7064497d4ff6

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

CI Results

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

Total 1 tests and 1 subtests

Status Summary

Firefox

TIMEOUT: 2

Chrome

OK : 1
PASS : 1

Safari

TIMEOUT: 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/content-security-policy/unsafe-eval/eval-blocked-in-about-blank-iframe.html: TIMEOUT (Chrome: OK, Safari: TIMEOUT)
eval-blocked-in-about-blank-iframe: TIMEOUT (Chrome: PASS, Safari: TIMEOUT)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d318020d6e73
[wpt PR 29836] - [CSP] Fix WPT eval-blocked-in-about-blank-iframe, a=testonly
https://hg.mozilla.org/integration/autoland/rev/b8117966c115
[wpt PR 29836] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
You need to log in before you can comment on or make changes to this bug.