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

Unified Diff: LayoutTests/http/tests/security/cross-frame-access-call.html

Issue 9895001: Merge 111098 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1025/
Patch Set: Created 8 years, 9 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
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/cross-frame-access-call-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/security/cross-frame-access-call.html
===================================================================
--- LayoutTests/http/tests/security/cross-frame-access-call.html (revision 112459)
+++ LayoutTests/http/tests/security/cross-frame-access-call.html (working copy)
@@ -54,10 +54,10 @@
shouldBe("window.moveTo.call(targetWindow, 0, 0);", "undefined");
shouldBe("window.resizeBy.call(targetWindow, 0, 0);", "undefined");
shouldBe("window.resizeTo.call(targetWindow, 0, 0);", "undefined");
+ shouldBe("window.showModalDialog.call(targetWindow);", "undefined");
- // FIXME: showModalDialog now works on DRT and thus breaks this test. Will uncomment after adding a separate test for Mac for showModalDialog - Bug #39897
- // Throws a TypeError and logs to the error console
- // shouldBe("window.showModalDialog.call(targetWindow);", '"TypeError: Result of expression \'window.showModalDialog\' [undefined] is not an object."');
+ // Throws an EvalError and logs to the error console
+ shouldBe("window.eval.call(targetWindow, '1+2');", '"EvalError: The \\"this\\" value passed to eval must be the global object from which eval originated"');
// - Tests for the Location object -
// undefined value indicates failure
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/cross-frame-access-call-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698