| Index: third_party/WebKit/LayoutTests/external/wpt/content-security-policy/blink-contrib-2/stylehash-default-src.sub.html
|
| diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/blink-contrib-2/stylehash-default-src.sub.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/blink-contrib-2/stylehash-default-src.sub.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..159338c6db0e1a29c2b9840f4765c774dce4f5f6
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/blink-contrib-2/stylehash-default-src.sub.html
|
| @@ -0,0 +1,21 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| + <head>
|
| + <title>stylehash allowed from default-src</title>
|
| + <script src="/resources/testharness.js"></script>
|
| + <script src="/resources/testharnessreport.js"></script>
|
| + </head>
|
| +
|
| + <body>
|
| + <p id="p">Test</p>
|
| + <style>p#p { color: green; }</style>
|
| + <script>
|
| + var color = window.getComputedStyle(document.querySelector('#p')).color;
|
| + assert_equals(color, "rgb(0, 128, 0)");
|
| + done();
|
| + </script>
|
| +
|
| + <div id="log"></div>
|
| + <script async defer src="../support/checkReport.sub.js?reportExists=false"></script>
|
| + </body>
|
| +</html>
|
|
|