Index: LayoutTests/fast/js/string-anchor-expected.txt |
diff --git a/LayoutTests/fast/js/string-anchor-expected.txt b/LayoutTests/fast/js/string-anchor-expected.txt |
index 50b53eaeae895fdda41d7968e21722534392689f..a26c774003c341eea0e556844132b592b2e382de 100644 |
--- a/LayoutTests/fast/js/string-anchor-expected.txt |
+++ b/LayoutTests/fast/js/string-anchor-expected.txt |
@@ -9,8 +9,8 @@ PASS '_'.anchor(0x2A) is "<a name=\"42\">_</a>" |
PASS '_'.anchor('"') is "<a name=\""\">_</a>" |
PASS '_'.anchor('" href="http://www.evil.com') is "<a name=\"" href="http://www.evil.com\">_</a>" |
PASS String.prototype.anchor.call(0x2A, 0x2A) is "<a name=\"42\">42</a>" |
-PASS String.prototype.anchor.call(undefined) threw exception TypeError: Type error. |
-PASS String.prototype.anchor.call(null) threw exception TypeError: Type error. |
+FAIL String.prototype.anchor.call(undefined) should throw TypeError: Type error. Was <a name="undefined">undefined</a>. |
+FAIL String.prototype.anchor.call(null) should throw TypeError: Type error. Was <a name="undefined">null</a>. |
PASS String.prototype.anchor.length is 1 |
PASS successfullyParsed is true |