Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / SelectorAPI / bug-17313.html
blobe3e869491ee6bed1a2a586087204cb9ac515be4a
1 <script type="text/javascript">
2 if (window.testRunner) {
3 testRunner.waitUntilDone();
4 testRunner.dumpAsText();
7 window.onload = function() {
8 function doReload() {
9 window.location = window.location + '?';
12 function doQSA() {
13 document.querySelectorAll('h1:first-child');
14 if (window.location.toString().indexOf('?') < 0)
15 window.setTimeout(doReload, 100);
16 else if (window.testRunner)
17 testRunner.notifyDone();
20 window.setTimeout(doQSA, 100);
22 </script>
23 <h1>Test case for <a href='http://bugs.webkit.org/show_bug.cgi?id=17313'>bug 17313</a></h1>
24 <p>The test has passed if reloading the page does not crash.</p>
25 <input type="hidden">