| OLD | NEW | 
| (Empty) |  | 
 |   1 <!DOCTYPE HTML> | 
 |   2 <p>This test passes if a script resource is loaded twice if asked to fetch it wi
    th and without CORS enabled.</p> | 
 |   3 <pre></pre> | 
 |   4 <!-- Non-CORS enabled script load, supplying credentials. --> | 
 |   5 <script src="http://localhost:8000/security/resources/cors-script.php?cors=true&
    credentials=true&value=1&value_cors=2"></script> | 
 |   6 <script> | 
 |   7 if (window.testRunner) { | 
 |   8     testRunner.dumpAsText(); | 
 |   9     testRunner.waitUntilDone(); | 
 |  10 } | 
 |  11  | 
 |  12 var expected = "12"; | 
 |  13  | 
 |  14 // Copy the 'result' value set by external script. | 
 |  15 var outcome = result; | 
 |  16 </script> | 
 |  17 <!-- CORS enabled script load, supplying credentials. Should not re-use above ca
    ched script, as response will differ. --> | 
 |  18 <script crossorigin="use-credentials" src="http://localhost:8000/security/resour
    ces/cors-script.php?cors=true&credentials=true&value=1&value_cors=2"></script> | 
 |  19 <script> | 
 |  20 outcome += result; | 
 |  21 document.querySelector("pre").innerHTML = outcome === expected ? "PASS" : "FAIL"
    ; | 
 |  22 if (window.testRunner) | 
 |  23     testRunner.notifyDone(); | 
 |  24 </script> | 
| OLD | NEW |