Index: LayoutTests/http/tests/serviceworker/resources/appcache-ordering.is-appcached.html |
diff --git a/LayoutTests/http/tests/serviceworker/resources/appcache-ordering.is-appcached.html b/LayoutTests/http/tests/serviceworker/resources/appcache-ordering.is-appcached.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ecac835129aac314d2809b65e0b9752dcd6c8f4c |
--- /dev/null |
+++ b/LayoutTests/http/tests/serviceworker/resources/appcache-ordering.is-appcached.html |
@@ -0,0 +1,13 @@ |
+<html> <!-- Intentionally does NOT include a manifest attribute --> |
+<body> |
+<!-- This should FALLBACK to ordering.is_appcached.js as specified in manifest |
+ when the appcache is present --> |
+<script src="appcache-ordering.is-appcached404.js"></script> |
+<script> |
+ |
+// If the script of the fallback resource loaded, is_appcached will be defined. |
+window.parent.notifyIsAppCached(typeof is_appcached != 'undefined'); |
+ |
+</script> |
+</body> |
+</html> |