Index: third_party/WebKit/LayoutTests/http/tests/loading/doc-write-sync-third-party-script-reload-no-cache.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/loading/doc-write-sync-third-party-script-reload-no-cache.html b/third_party/WebKit/LayoutTests/http/tests/loading/doc-write-sync-third-party-script-reload-no-cache.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..660a7f68e5a586a94080608893f61d8c665a4d86 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/http/tests/loading/doc-write-sync-third-party-script-reload-no-cache.html |
@@ -0,0 +1,18 @@ |
+<!DOCTYPE html> |
+<script src="../resources/testharness.js"></script> |
+<script src="../resources/testharnessreport.js"></script> |
+<script> |
+ // This parameter will be used in testreload.js to indicate reload should |
+ // not be from the cache. |
+ var reloadFromCache = true; |
+</script> |
+ |
+<script src="./resources/testreload.js"></script> |
+ |
+<script> |
+ test(function () { |
+ assert_true(jsLoaded); |
+ assert_true(loadSuccess); |
+ assert_true(loadBlockedFirst); |
+ }, "cross origin doc.written scripts are not blocked in a page reload"); |
+</script> |