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

Side by Side Diff: LayoutTests/http/tests/serviceworker/chromium/resources/xhr-is-not-exposed-to-service-workers.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/worker-test-harness.js'); 1 importScripts('../../resources/worker-testharness.js');
2 2
3 test(function() { 3 test(function() {
4 assert_false( 4 assert_false(
5 'XMLHttpRequest' in self, 5 'XMLHttpRequest' in self,
6 'XMLHttpRequest should not be in scope.'); 6 'XMLHttpRequest should not be in scope.');
7 }, 'XMLHttpRequest is not exposed to ServiceWorkerGlobalScope'); 7 }, 'XMLHttpRequest is not exposed to ServiceWorkerGlobalScope');
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698