| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Test Caching "no-store" For History Only</title> | 4 <title>Test Caching "no-store" For History Only</title> |
| 5 <script src="../../js-test-resources/js-test-pre.js"></script> | 5 <script src="../../js-test-resources/js-test-pre.js"></script> |
| 6 </head> | 6 </head> |
| 7 <body> | 7 <body> |
| 8 <p>Verifies that resources are loaded only once during the initial document | 8 <p>Verifies that resources are loaded only once during the initial document |
| 9 load, but are reloaded if they are requested again later and can not be cached. | 9 load, but are reloaded if they are requested again later and can not be cached. |
| 10 </p> | 10 </p> |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 shouldBeNonZero("secondRandomNumber"); | 39 shouldBeNonZero("secondRandomNumber"); |
| 40 shouldBeNonZero("thirdRandomNumber"); | 40 shouldBeNonZero("thirdRandomNumber"); |
| 41 shouldBeTrue("firstRandomNumber == secondRandomNumber"); | 41 shouldBeTrue("firstRandomNumber == secondRandomNumber"); |
| 42 shouldBeTrue("firstRandomNumber != thirdRandomNumber"); | 42 shouldBeTrue("firstRandomNumber != thirdRandomNumber"); |
| 43 finishJSTest(); | 43 finishJSTest(); |
| 44 } | 44 } |
| 45 window.addEventListener("load", function() { setTimeout(loadNextScript, 0); }, f
alse); | 45 window.addEventListener("load", function() { setTimeout(loadNextScript, 0); }, f
alse); |
| 46 var jsTestIsAsync = true; | 46 var jsTestIsAsync = true; |
| 47 </script> | 47 </script> |
| 48 <script src="resources/cache-simulator.cgi?uniqueId=1&Cache-control=max-age=0" o
nload="firstLoaded()" async></script> | 48 <script src="resources/cache-simulator.cgi?uniqueId=1&Cache-control=max-age=0" o
nload="firstLoaded()" async></script> |
| 49 <script src="../../js-test-resources/js-test-post.js"></script> | |
| 50 </body> | 49 </body> |
| 51 </html> | 50 </html> |
| OLD | NEW |