Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(845)

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/html/browsers/offline/no-appcache-in-shared-workers-historical.js

Issue 2711183003: Import wpt@a7e9c2abcf65b78fcf1c246fec6681c74e1bc352 (Closed)
Patch Set: Update test expectations and baselines. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698