Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <script src="../resources/testharness.js"></script> | |
| 3 <script src="../resources/testharnessreport.js"></script> | |
| 4 <script> | |
| 5 // This parameter will be used in testreload.js to indicate reload should | |
| 6 // be from the cache. | |
| 7 var reloadFromCache = false; | |
|
jkarlin
2016/04/14 18:27:01
Instead, how about wrapping the code in testreload
shivanisha
2016/04/14 19:15:44
Changed the reload code for both variants to be in
| |
| 8 </script> | |
| 9 | |
| 10 <script src="./resources/testreload.js"></script> | |
| 11 | |
| 12 <script> | |
| 13 test(function () { | |
| 14 assert_true(jsLoaded); | |
| 15 assert_true(loadSuccess); | |
| 16 assert_true(loadBlockedFirst); | |
| 17 }, "cross origin doc.written scripts are not blocked in a page reload"); | |
| 18 </script> | |
| OLD | NEW |