Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / http / tests / serviceworker / waiting.html
index 762c4ca..e326f89 100644 (file)
@@ -8,12 +8,12 @@
 // "waiting" is set
 async_test(function(t) {
     var step = t.step_func.bind(t);
-    var url = 'resources/worker-no-op.js';
+    var url = 'resources/empty-worker.js';
     var scope = 'resources/blank.html';
     var frame;
     var registration;
 
-    navigator.serviceWorker.unregister(scope)
+    service_worker_unregister(t, scope)
     .then(function() { return with_iframe(scope); })
     .then(function(f) {
         frame = f;