OLD | NEW |
(Empty) | |
| 1 "use strict"; |
| 2 self.importScripts('/resources/testharness.js'); |
| 3 |
| 4 test(() => { |
| 5 assert_equals(self.applicationCache, undefined, "self.applicationCache must be
undefined"); |
| 6 assert_false("applicationCache" in self, "applicationCache must not even be a
property of self"); |
| 7 }, "self.applicationCache must not exist"); |
| 8 |
| 9 test(() => { |
| 10 assert_equals(self.ApplicationCache, undefined, "self.ApplicationCache must be
undefined"); |
| 11 assert_false("ApplicationCache" in self, "ApplicationCache must not even be a
property of self"); |
| 12 }, "ApplicationCache must not be exposed"); |
| 13 |
| 14 done(); |
OLD | NEW |