blob: a8b0ca795465224e381d56d1021679469eb9dddc [file] [log] [blame]
<a href="/sometestfile.html" id="anchor">
A link!
</a>
<br>
<br>
<script>
{
if (window.layoutTestController)
layoutTestController.dumpAsText();
var anchor = document.getElementById("anchor");
document.write("Writing just the anchor object - " + anchor);
var anchorString = String(anchor);
document.write("<br><br>Writing the result of the String(anchor) - " + anchorString);
var anchorToString = anchor.toString();
document.write("<br><br>Writing the result of the anchor's toString() method - " + anchorToString);
}
</script>