Index: third_party/WebKit/LayoutTests/external/wpt/html/browsers/offline/no-appcache-in-shared-workers-historical.js |
diff --git a/third_party/WebKit/LayoutTests/external/wpt/html/browsers/offline/no-appcache-in-shared-workers-historical.js b/third_party/WebKit/LayoutTests/external/wpt/html/browsers/offline/no-appcache-in-shared-workers-historical.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4f9b732e34a0a42466979581f025067f5820b33e |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/external/wpt/html/browsers/offline/no-appcache-in-shared-workers-historical.js |
@@ -0,0 +1,14 @@ |
+"use strict"; |
+self.importScripts('/resources/testharness.js'); |
+ |
+test(() => { |
+ assert_equals(self.applicationCache, undefined, "self.applicationCache must be undefined"); |
+ assert_false("applicationCache" in self, "applicationCache must not even be a property of self"); |
+}, "self.applicationCache must not exist"); |
+ |
+test(() => { |
+ assert_equals(self.ApplicationCache, undefined, "self.ApplicationCache must be undefined"); |
+ assert_false("ApplicationCache" in self, "ApplicationCache must not even be a property of self"); |
+}, "ApplicationCache must not be exposed"); |
+ |
+done(); |