Index: LayoutTests/http/tests/security/cross-frame-access-object-prototype-expected.txt |
diff --git a/LayoutTests/http/tests/security/cross-frame-access-object-prototype-expected.txt b/LayoutTests/http/tests/security/cross-frame-access-object-prototype-expected.txt |
index 51fe8ab438f320201d0f7b346c1bf815097237fb..3642ae997628478bcdbbee7463e1005c48aa9c72 100644 |
--- a/LayoutTests/http/tests/security/cross-frame-access-object-prototype-expected.txt |
+++ b/LayoutTests/http/tests/security/cross-frame-access-object-prototype-expected.txt |
@@ -1,15 +1,12 @@ |
-CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match. |
-CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match. |
-CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match. |
-CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match. |
-CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match. |
+SecurityError: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match. |
+SecurityError: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a frame with origin "http://localhost:8000". Protocols, domains, and ports must match. |
----- test getting values cross-frame using Object.prototype ----- |
-PASS: Object.prototype.__lookupGetter__.call(targetFrame, 'myGetter'); should be 'undefined' and is. |
-PASS: Object.prototype.__lookupSetter__.call(targetFrame, 'mySetter'); should be 'undefined' and is. |
-PASS: Object.prototype.propertyIsEnumerable.call(targetFrame, 'myProp'); should be 'false' and is. |
+PASS: Object.prototype.__lookupGetter__.call(targetFrame, 'myGetter'); should have thrown an exception, and did. |
+PASS: Object.prototype.__lookupSetter__.call(targetFrame, 'mySetter'); should have thrown an exception, and did. |
+PASS: Object.prototype.propertyIsEnumerable.call(targetFrame, 'myProp'); should have thrown an exception, and did. |
-------- |