Index: LayoutTests/http/tests/security/xss-eval.html |
diff --git a/LayoutTests/http/tests/security/xss-eval.html b/LayoutTests/http/tests/security/xss-eval.html |
index 338ae8e82f17d238052a8fb4c198ebfb607fce28..31273b3a4c40586566e3978b5d1d655d2c6882c2 100644 |
--- a/LayoutTests/http/tests/security/xss-eval.html |
+++ b/LayoutTests/http/tests/security/xss-eval.html |
@@ -42,7 +42,7 @@ addEventListener("message", function() |
shouldBe("childEvalCaller('document').testExpando", |
(function() { try { |
return childEvalCaller('document').testExpando; |
- } catch(e) { return e.name; } })(), "TypeError"); |
+ } catch(e) { return e.name; } })(), "SecurityError"); |
shouldBe("childLocalEvalCaller('document').testExpando", |
(function() { try { return childLocalEvalCaller('document').testExpando; } catch(e) { return e.name; } })(), "It's me too!"); |