[wpt-sync] Sync PR 44672 - Remove required attributes from SecurityPolicyViolationEventInit
Categories
(Core :: DOM: Security, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox125 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 44672 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/44672
Details from upstream follow.
Saeid Eid <saeideid@chromium.org> wrote:
Remove required attributes from SecurityPolicyViolationEventInit
The dictionary SecurityPolicyViolationEventInit is optional in the constructor of SecurityPolicyViolationEvent. This CL removes the required attribute from the properties of this dictionary and adds default values.
Bug: 325291983
Change-Id: I61e5527e7e8ccc2cd35e5022397ff42bf83ccd9e
Reviewed-on: https://chromium-review.googlesource.com/5296364
WPT-Export-Revision: 914e5ed9e38f6ac75e62f57c0c7305d982fc5613
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
| Assignee | ||
Comment 2•1 year ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 14 subtests
Status Summary
Firefox
OK : 1
PASS: 13
FAIL: 1
Chrome
OK : 1
PASS: 8
FAIL: 6
Safari
OK : 1
PASS: 8
FAIL: 6
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /content-security-policy/securitypolicyviolation/constructor-required-fields.html [wpt.fyi]
- SecurityPolicyViolationEvent constructor does not require disposition:
FAIL(Chrome:FAIL, Safari:FAIL)
- SecurityPolicyViolationEvent constructor does not require disposition:
Comment 4•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/72db1aeecf41
https://hg.mozilla.org/mozilla-central/rev/7abf13deeec1
Description
•