2 <a href=
"foobar.html">Nonexistent Resource
</a><br>
7 if (/\/resources\/foobar.html$/.test(document
.getElementsByTagName("a")[0].href
))
8 parent
.document
.getElementById("testResult").innerHTML
= "SUCCESS"
10 if (window
.testRunner
)
11 testRunner
.notifyDone();