[webkit-changes] [WebKit/WebKit] 9ea548: Safari blocking JS reading nonce for <style> and <...
Anne van Kesteren
noreply at github.com
Wed Nov 22 01:55:57 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9ea548224a0026f1f4fb920e849ed48454ebee0e
https://github.com/WebKit/WebKit/commit/9ea548224a0026f1f4fb920e849ed48454ebee0e
Author: Anne van Kesteren <annevk at annevk.nl>
Date: 2023-11-22 (Wed, 22 Nov 2023)
Changed paths:
A LayoutTests/imported/w3c/web-platform-tests/content-security-policy/nonce-hiding/nonce-hiding-move-document-expected.txt
A LayoutTests/imported/w3c/web-platform-tests/content-security-policy/nonce-hiding/nonce-hiding-move-document.html
M LayoutTests/imported/w3c/web-platform-tests/content-security-policy/nonce-hiding/nonces-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/content-security-policy/nonce-hiding/nonces.html
M LayoutTests/imported/w3c/web-platform-tests/content-security-policy/nonce-hiding/w3c-import.log
M LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-metadata-expected.txt
M Source/WebCore/html/HTMLLinkElement.idl
M Source/WebCore/html/HTMLStyleElement.idl
Log Message:
-----------
Safari blocking JS reading nonce for <style> and <link>
https://bugs.webkit.org/show_bug.cgi?id=265173
rdar://118676659
Reviewed by Antti Koivisto.
Some leftover nonce IDL included [Reflect] and therefore those elements
had the older-but-now-bogus nonce semantics.
Tests have been synchronized and new tests in nonces.html are
upstreamed here:
https://github.com/web-platform-tests/wpt/pull/43280
The new test failures in WPT html/dom/reflection-metadata.html are
expected and match all other browsers. I filed an upstream issue on
that test here:
https://github.com/web-platform-tests/wpt/issues/43286
* LayoutTests/imported/w3c/web-platform-tests/content-security-policy/nonce-hiding/nonce-hiding-move-document-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/content-security-policy/nonce-hiding/nonce-hiding-move-document.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/content-security-policy/nonce-hiding/nonces-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/content-security-policy/nonce-hiding/nonces.html:
* LayoutTests/imported/w3c/web-platform-tests/content-security-policy/nonce-hiding/w3c-import.log:
* LayoutTests/imported/w3c/web-platform-tests/html/dom/reflection-metadata-expected.txt:
* Source/WebCore/html/HTMLLinkElement.idl:
* Source/WebCore/html/HTMLStyleElement.idl:
Canonical link: https://commits.webkit.org/271046@main
More information about the webkit-changes
mailing list