OLD | NEW |
---|---|
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 Test passes if it does not crash. | 3 Test passes if it does not crash. |
4 <script> | 4 <script> |
5 if (window.testRunner) | 5 if (window.testRunner) |
6 testRunner.dumpAsText(); | 6 testRunner.dumpAsText(); |
7 | 7 |
8 Object.prototype.__defineSetter__("foo",function(){history.replaceState("")}); | 8 Object.prototype.__defineSetter__("foo",function(){history.replaceState("")}); |
9 history.replaceState({foo:1,zzz:Array(1<<22).join("a")}); | 9 history.replaceState({foo:1,zzz:Array(1<<22).join("a")}); |
10 history.state.length; | 10 history.state.length; |
11 </script> | 11 </script> |
12 </html> | 12 </html> |
OLD | NEW |