| OLD | NEW | 
|---|
| (Empty) |  | 
|  | 1 <!DOCTYPE html> | 
|  | 2 <html> | 
|  | 3     <head> | 
|  | 4     <title>Style Hash allow hash in default-src</title> | 
|  | 5     <script src="../../../resources/testharness.js"></script> | 
|  | 6     <script src="../../../resources/testharnessreport.js"></script> | 
|  | 7     <meta http-equiv="Content-Security-Policy" content="default-src * 'sha256-SX
    Mrww9+PS7ymkxYbv91id+HfXeO7p1uCY0xhNb4MIw='; script-src 'unsafe-inline'"> | 
|  | 8     </head> | 
|  | 9 | 
|  | 10     <body> | 
|  | 11     <p id="p"></p> | 
|  | 12     <style>p#p { color: green; }</style> | 
|  | 13     <script> | 
|  | 14     var color = window.getComputedStyle(document.querySelector('#p')).color; | 
|  | 15     assert_equals(color, "rgb(0, 128, 0)"); | 
|  | 16     done(); | 
|  | 17     </script> | 
|  | 18     </body> | 
|  | 19 </html> | 
| OLD | NEW | 
|---|