Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/content-security-policy/blink-contrib-2/stylehash-default-src.sub.html

Issue 2695813009: Import wpt@503f5b5f78ec4e87d144f78609f363f0ed0ea8db (Closed)
Patch Set: Skip some tests Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>stylehash allowed from default-src</title>
5 <script src="/resources/testharness.js"></script>
6 <script src="/resources/testharnessreport.js"></script>
7 </head>
8
9 <body>
10 <p id="p">Test</p>
11 <style>p#p { color: green; }</style>
12 <script>
13 var color = window.getComputedStyle(document.querySelector('#p')).color;
14 assert_equals(color, "rgb(0, 128, 0)");
15 done();
16 </script>
17
18 <div id="log"></div>
19 <script async defer src="../support/checkReport.sub.js?reportExists=false">< /script>
20 </body>
21 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698