OLD | NEW |
---|---|
(Empty) | |
1 <body> | |
Mike West
2016/06/14 08:44:59
Please also adjust `LayoutTests/http/tests/navigat
| |
2 <script> | |
3 | |
4 if (window.testRunner) | |
5 testRunner.dumpAsText(); | |
6 if(window.location.protocol=="file:") { | |
Mike West
2016/06/14 08:44:59
Nit: Space between `if` and `(`.
| |
7 try { | |
8 history.pushState({}, 'dummyTitle', '#foo=bar'); | |
Mike West
2016/06/14 08:44:59
Nit: Indentation.
| |
9 history.pushState({}, 'dummyTitle', '?foo=bar'); | |
Mike West
2016/06/14 08:44:59
Please also add `?foo#bar`.
| |
10 document.write("PASS."+document.URL); | |
11 } catch(e) { | |
12 document.write("FAILED.The reason:"+e.message); | |
13 } | |
14 } else { | |
15 document.write("FAILED."); | |
16 } | |
Mike West
2016/06/14 08:44:59
New tests should be written in terms of `testharne
| |
17 </script> | |
OLD | NEW |