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)

enhancement

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
Component: web-platform-tests → DOM: Security
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream][domsecurity-backlog]
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
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Depends on: 1498840
You need to log in before you can comment on or make changes to this bug.