Chromium Code Reviews

Side by Side Diff: LayoutTests/http/tests/serviceworker/resources/serviceworkerglobalscope-close-worker.js

Issue 505063002: ServiceWorker: throw when close() or terminate() called (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove uses of 'close' within fetch tests Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
OLDNEW
(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');
OLDNEW

Powered by Google App Engine