Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / http / tests / serviceworker / active.html
index b1bd793..e2d5bb0 100644 (file)
@@ -8,12 +8,12 @@
 // "active" 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(step(function() { return with_iframe(scope); }))
       .then(step(function(f) {
           frame = f;