Closed
Bug 1497158
Opened 7 years ago
Closed 7 years ago
[wpt-sync] Sync PR 13386 - Added tests to ensure that script blocks are converted to utf-8 before hashing
Categories
(Core :: DOM: Security, enhancement, P4)
Core
DOM: Security
Tracking
()
RESOLVED
FIXED
mozilla64
Tracking | Status | |
---|---|---|
firefox64 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream][domsecurity-backlog])
Sync web-platform-tests PR 13386 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/13386
Details from upstream follow.
Andy Paicu <andypaicu@chromium.org> wrote:
> Added tests to ensure that script blocks are converted to utf-8 before hashing
>
> https://github.com/w3c/webappsec-csp/issues/109
>
> Bug: 892570
> Change-Id: I52d0ff8ab6abd58de9503992f44ea42df50cb6b7
> Reviewed-on: https://chromium-review.googlesource.com/1264536
> WPT-Export-Revision: d03a66cb41a03b1eef483acbcdd3342aceb42f10
Assignee | ||
Updated•7 years ago
|
Component: web-platform-tests → DOM: Security
Product: Testing → Core
Updated•7 years ago
|
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
Assignee | ||
Comment 1•7 years ago
|
||
Assignee | ||
Comment 2•7 years ago
|
||
Assignee | ||
Comment 3•7 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=430e382beafaaab8311d26ca287f47b32c8dbfd1
Assignee | ||
Comment 4•7 years ago
|
||
Ran 6 tests and 8 subtests
OK : 6
PASS : 4
FAIL : 4
New tests that have failures or other problems:
/content-security-policy/script-src/hash-always-converted-to-utf-8/iso-8859-1.html
Should convert the script contents to UTF-8 before hashing: FAIL
/content-security-policy/script-src/hash-always-converted-to-utf-8/iso-8859-3.html
Should convert the script contents to UTF-8 before hashing: FAIL
/content-security-policy/script-src/hash-always-converted-to-utf-8/iso-8859-7.html
Should convert the script contents to UTF-8 before hashing: FAIL
/content-security-policy/script-src/hash-always-converted-to-utf-8/iso-8859-9.html
Should convert the script contents to UTF-8 before hashing: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/8f3fb46ce24e
[wpt PR 13386] - Added tests to ensure that script blocks are converted to utf-8 before hashing, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/48ded72d05a2
[wpt PR 13386] - Update wpt metadata, a=testonly
Comment 6•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/8f3fb46ce24e
https://hg.mozilla.org/mozilla-central/rev/48ded72d05a2
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in
before you can comment on or make changes to this bug.
Description
•