Closed Bug 1609963 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 21234 - Deflake CSP object-src-url*-allowed.html

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

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

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

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

arthursonzogni <arthursonzogni@chromium.org> wrote:

Deflake CSP object-src-url*-allowed.html

Remove attribute "async defer" to the \<script>. I believe it might delay the
execution of the script too much and cause its timeout not to be reached before
the WPT test timeout. Moreover, there are not reason to use "async defer" in
the first place.

Improve coding style along the way.

Bug: 985869, 1039642
Change-Id: I8e4667a455d96f03f3f2d99e229f529ec5d70153

Reviewed-on: https://chromium-review.googlesource.com/2007732
WPT-Export-Revision: c79b29dbb4d284c481a5bbfb573e9c2348493990

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 2 tests and 1 subtests

Status Summary

Firefox

OK : 2
PASS: 2

Chrome

OK : 2
PASS: 2

Safari

OK : 2
PASS: 2

Links

GitHub PR Head
GitHub PR Base

Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c4d3282ab87f
[wpt PR 21234] - Deflake CSP object-src-url*-allowed.html, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
You need to log in before you can comment on or make changes to this bug.