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

Unified Diff: LayoutTests/http/tests/security/cross-origin-access-over-property-descriptor-expected.txt

Issue 1303403007: bindings: Enables attribute tests for Location. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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 | « LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/security/cross-origin-access-over-property-descriptor-expected.txt
diff --git a/LayoutTests/http/tests/security/cross-origin-access-over-property-descriptor-expected.txt b/LayoutTests/http/tests/security/cross-origin-access-over-property-descriptor-expected.txt
index 96b0b2fbc5291058945f180c723f0cd8cb16c575..65ea5bfc2d217405a3c7a561da272b7acc6eb677 100644
--- a/LayoutTests/http/tests/security/cross-origin-access-over-property-descriptor-expected.txt
+++ b/LayoutTests/http/tests/security/cross-origin-access-over-property-descriptor-expected.txt
@@ -3,11 +3,11 @@ Cross-origin access to 'window.location.pathname' over 'get' and 'set' in proper
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS pathnameDescriptor is non-null.
-PASS typeof pathnameDescriptor.get is "function"
-PASS typeof pathnameDescriptor.set is "function"
-PASS pathnameDescriptor.get.call(targetWindow.location) threw exception SecurityError: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame..
-PASS pathnameDescriptor.set.call(targetWindow.location, 1) threw exception SecurityError: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame..
+FAIL pathnameDescriptor should be non-null. Was undefined
+FAIL typeof pathnameDescriptor.get should be function. Threw exception TypeError: Cannot read property 'get' of undefined
+FAIL typeof pathnameDescriptor.set should be function. Threw exception TypeError: Cannot read property 'set' of undefined
+FAIL pathnameDescriptor.get.call(targetWindow.location) should throw SecurityError: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame.. Threw exception TypeError: Cannot read property 'get' of undefined.
+FAIL pathnameDescriptor.set.call(targetWindow.location, 1) should throw SecurityError: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame.. Threw exception TypeError: Cannot read property 'set' of undefined.
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698