6 testRunner
.dumpAsText();
9 window
.location
.hash
= '#foobarbaz';
10 var node
= document
.createElement('div');
11 node
.innerHTML
= 'anchor has been set';
12 document
.body
.appendChild(node
);
14 window
.location
.hash
= '#';
15 var node
= document
.createElement('div');
16 node
.innerHTML
= 'anchor has been removed';
17 document
.body
.appendChild(node
);
23 <body onload='runTest()'
>
24 Test for https://bugs.webkit.org/show_bug.cgi?id=
18951<br>
25 WebKit used to be confused when setting the ref to an empty anchor from a non-empty anchor, causing all sorts of weird loading behavior.
<br>