| OLD | NEW | 
|---|
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> | 
| 2 <html> | 2 <html> | 
| 3     <head> | 3     <head> | 
| 4         <meta http-equiv="Content-Security-Policy" content="script-nonce noncyno
    nce;"> | 4         <meta http-equiv="Content-Security-Policy" content="script-src 'nonce-no
    ncynonce'"> | 
| 5         <script nonce="noncynonce"> | 5         <script nonce="noncynonce"> | 
| 6         if (window.testRunner) | 6         if (window.testRunner) | 
| 7             testRunner.dumpAsText(); | 7             testRunner.dumpAsText(); | 
| 8         </script> | 8         </script> | 
| 9         <script nonce="noncynonce"> | 9         <script nonce="noncynonce"> | 
| 10             alert('PASS (1/1)'); | 10             alert('PASS (1/1)'); | 
| 11         </script> | 11         </script> | 
| 12     </head> | 12     </head> | 
| 13     <body> | 13     <body> | 
| 14         <p> | 14         <p> | 
| 15             This tests the effect of a valid script-nonce value. It passes if | 15             This tests the effect of a valid script-nonce value. It passes if | 
| 16             no console warning is visible, and the alert() is executed. | 16             no console warning is visible, and the alert() is executed. | 
| 17         </p> | 17         </p> | 
| 18     </body> | 18     </body> | 
| 19 </html> | 19 </html> | 
| OLD | NEW | 
|---|