Index: LayoutTests/fast/history/replacestate-nocrash.html |
diff --git a/LayoutTests/fast/history/replacestate-nocrash.html b/LayoutTests/fast/history/replacestate-nocrash.html |
index 5c85e709d51e3984921e581876069b153a3cecbe..640cc8584e3793e366bfa6ef51643e1c74e8c47b 100644 |
--- a/LayoutTests/fast/history/replacestate-nocrash.html |
+++ b/LayoutTests/fast/history/replacestate-nocrash.html |
@@ -5,8 +5,10 @@ Test passes if it does not crash. |
if (window.testRunner) |
testRunner.dumpAsText(); |
-Object.prototype.__defineSetter__("foo",function(){history.replaceState("")}); |
-history.replaceState({foo:1,zzz:Array(1<<22).join("a")}); |
+Object.prototype.__defineSetter__('foo', function() { |
+ history.replaceState('', '') |
+}); |
+history.replaceState({foo:1, zzz:Array(1<<22).join('a')}, ''); |
history.state.length; |
</script> |
</html> |