Index: LayoutTests/platform/chromium/http/tests/security/cross-frame-access-call-expected.txt |
=================================================================== |
--- LayoutTests/platform/chromium/http/tests/security/cross-frame-access-call-expected.txt (revision 112459) |
+++ LayoutTests/platform/chromium/http/tests/security/cross-frame-access-call-expected.txt (working copy) |
@@ -20,7 +20,7 @@ |
CONSOLE MESSAGE: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. |
-CONSOLE MESSAGE: Unsafe JavaScript attempt to access frame with URL about:blank from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. |
+CONSOLE MESSAGE: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. |
CONSOLE MESSAGE: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. |
@@ -52,8 +52,10 @@ |
CONSOLE MESSAGE: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. |
+CONSOLE MESSAGE: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-get-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-call.html. Domains, protocols and ports must match. |
+ |
----- tests for calling methods of another frame using Function.call ----- |
PASS: window.setTimeout.call(targetWindow, 'void(0);', 0) should be 'undefined' and is. |
@@ -67,7 +69,7 @@ |
PASS: window.openDatabase.call(targetWindow, 'name', '1.0', 'description', 0) should be 'undefined' and is. |
PASS: window.atob.call(targetWindow, 'string') should be 'undefined' and is. |
PASS: window.btoa.call(targetWindow, 'string') should be 'undefined' and is. |
-*** FAIL: window.open.call(targetWindow, '') should be 'undefined' but instead is [object DOMWindow]. *** |
+PASS: window.open.call(targetWindow, '') should be 'undefined' and is. |
PASS: window.addEventListener.call(targetWindow, 'load', null, false); should be 'undefined' and is. |
PASS: window.removeEventListener.call(targetWindow, 'load', null, false); should be 'undefined' and is. |
PASS: window.clearTimeout.call(targetWindow, 0); should be 'undefined' and is. |
@@ -82,5 +84,7 @@ |
PASS: window.moveTo.call(targetWindow, 0, 0); should be 'undefined' and is. |
PASS: window.resizeBy.call(targetWindow, 0, 0); should be 'undefined' and is. |
PASS: window.resizeTo.call(targetWindow, 0, 0); should be 'undefined' and is. |
+PASS: window.showModalDialog.call(targetWindow); should be 'undefined' and is. |
+*** FAIL: window.eval.call(targetWindow, '1+2'); should be 'EvalError: The "this" value passed to eval must be the global object from which eval originated' but instead is 3. *** |
PASS: window.location.toString.call(targetWindow.location) should be 'undefined' and is. |