Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / http / tests / serviceworker / chromium / url-limits.html
index a487b6b..058a236 100644 (file)
@@ -28,12 +28,12 @@ async_test(function(t) {
 }, 'Exceedingly long scope URLs are rejected by register()');
 
 async_test(function(t) {
-    navigator.serviceWorker.unregister(long_url).
-        then(t.unreached_func('unregistering a long scope url should fail')).
+    navigator.serviceWorker.getRegistration(long_url).
+        then(t.unreached_func('getRegistration with a long url should fail')).
         catch(t.step_func(function(reason) {
             assert_equals(reason.name, 'SecurityError');
             t.done();
         }));
-}, 'Exceedingly long scope URLs are rejected by unregister()');
+}, 'Exceedingly long document URLs are rejected by getRegistration()');
 
 </script>