Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(258)

Unified Diff: LayoutTests/http/tests/security/xss-eval.html

Issue 19932002: Throw exceptions on all failed cross-origin access checks. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: test. Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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!");

Powered by Google App Engine
This is Rietveld 408576698