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

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

Issue 647493002: Move promise_test and assert_promise_rejects out of worker-test-harness. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@geofencing_serviceworker
Patch Set: rebase Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 importScripts('../../resources/interfaces.js'); 1 importScripts('../../resources/interfaces.js');
2 importScripts('../../resources/worker-test-harness.js'); 2 importScripts('../../resources/worker-testharness.js');
3 3
4 test(function() { 4 test(function() {
5 assert_throws({name: 'InvalidAccessError'}, function() { 5 assert_throws({name: 'InvalidAccessError'}, function() {
6 self.close(); 6 self.close();
7 }); 7 });
8 }, 'ServiceWorkerGlobalScope close operation'); 8 }, 'ServiceWorkerGlobalScope close operation');
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698