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

Side by Side 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, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Cross-origin access to 'window.location.pathname' over 'get' and 'set' in proper ty descriptor should throw a SecurityError. 1 Cross-origin access to 'window.location.pathname' over 'get' and 'set' in proper ty descriptor should throw a SecurityError.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS pathnameDescriptor is non-null. 6 FAIL pathnameDescriptor should be non-null. Was undefined
7 PASS typeof pathnameDescriptor.get is "function" 7 FAIL typeof pathnameDescriptor.get should be function. Threw exception TypeError : Cannot read property 'get' of undefined
8 PASS typeof pathnameDescriptor.set is "function" 8 FAIL typeof pathnameDescriptor.set should be function. Threw exception TypeError : Cannot read property 'set' of undefined
9 PASS pathnameDescriptor.get.call(targetWindow.location) threw exception Security Error: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cros s-origin frame.. 9 FAIL pathnameDescriptor.get.call(targetWindow.location) should throw SecurityErr or: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-o rigin frame.. Threw exception TypeError: Cannot read property 'get' of undefined .
10 PASS pathnameDescriptor.set.call(targetWindow.location, 1) threw exception Secur ityError: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a c ross-origin frame.. 10 FAIL pathnameDescriptor.set.call(targetWindow.location, 1) should throw Security Error: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cros s-origin frame.. Threw exception TypeError: Cannot read property 'set' of undefi ned.
11 PASS successfullyParsed is true 11 PASS successfullyParsed is true
12 12
13 TEST COMPLETE 13 TEST COMPLETE
14 14
OLDNEW
« 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