OLD | NEW |
---|---|
(Empty) | |
1 importScripts('interfaces.js'); | |
2 importScripts('worker-test-harness.js'); | |
3 | |
4 test(function() { | |
5 assert_throws({name: 'InvalidAccessError'}, function() { | |
6 self.close(); | |
7 }); | |
8 }, 'ServiceWorkerGlobalScope close operation'); | |
OLD | NEW |