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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/w3c/cross-origin-objects-expected.txt

Issue 1360233007: bindings: Moves event handlers and methods of Window to the instance object. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
OLDNEW
1 This is a testharness.js-based test. 1 This is a testharness.js-based test.
2 PASS Basic sanity-checking 2 PASS Basic sanity-checking
3 FAIL Only whitelisted properties are accessible cross-origin Blocked a frame wit h origin "http://web-platform.test:8000" from accessing a cross-origin frame. 3 FAIL Only whitelisted properties are accessible cross-origin Blocked a frame wit h origin "http://web-platform.test:8000" from accessing a cross-origin frame.
4 PASS [[GetPrototypeOf]] should return null 4 PASS [[GetPrototypeOf]] should return null
5 PASS [[SetPrototypeOf]] should throw 5 PASS [[SetPrototypeOf]] should throw
6 PASS [[IsExtensible]] should return true for cross-origin objects 6 PASS [[IsExtensible]] should return true for cross-origin objects
7 PASS [[PreventExtensions]] should throw for cross-origin objects 7 PASS [[PreventExtensions]] should throw for cross-origin objects
8 FAIL [[GetOwnProperty]] - Properties on cross-origin objects should be reported |own| Blocked a frame with origin "http://web-platform.test:8000" from accessing a cross-origin frame. 8 FAIL [[GetOwnProperty]] - Properties on cross-origin objects should be reported |own| Blocked a frame with origin "http://web-platform.test:8000" from accessing a cross-origin frame.
9 FAIL [[GetOwnProperty]] - Property descriptors for cross-origin properties shoul d be set up correctly assert_equals: property descriptor for location should be non-enumerable expected false but got true 9 FAIL [[GetOwnProperty]] - Property descriptors for cross-origin properties shoul d be set up correctly assert_equals: property descriptor for location should be non-enumerable expected false but got true
10 PASS [[Delete]] Should throw on cross-origin objects 10 PASS [[Delete]] Should throw on cross-origin objects
11 FAIL [[DefineOwnProperty]] Should throw for cross-origin objects assert_throws: Can't define cross-origin value property length function "function () { Object.d efineProperty(obj, prop, valueDesc); }" did not throw 11 FAIL [[DefineOwnProperty]] Should throw for cross-origin objects assert_throws: Can't define cross-origin value property length function "function () { Object.d efineProperty(obj, prop, valueDesc); }" did not throw
12 PASS [[Enumerate]] should return an empty iterator 12 PASS [[Enumerate]] should return an empty iterator
13 FAIL [[OwnPropertyKeys]] should return all properties from cross-origin objects assert_array_equals: Object.getOwnPropertyNames() gives the right answer for cro ss-origin Window lengths differ, expected 13 got 9 13 FAIL [[OwnPropertyKeys]] should return all properties from cross-origin objects assert_array_equals: Object.getOwnPropertyNames() gives the right answer for cro ss-origin Location property 0, expected "href" but got "assign"
14 PASS A and B jointly observe the same identity for cross-origin Window and Locat ion 14 PASS A and B jointly observe the same identity for cross-origin Window and Locat ion
15 PASS Cross-origin functions get local Function.prototype 15 PASS Cross-origin functions get local Function.prototype
16 FAIL Cross-origin Window accessors get local Function.prototype Cannot read prop erty 'name' of undefined 16 FAIL Cross-origin Window accessors get local Function.prototype Cannot read prop erty 'name' of undefined
17 FAIL Same-origin observers get different functions for cross-origin objects asse rt_true: same-origin Window functions get their own object expected true got fal se 17 FAIL Same-origin observers get different functions for cross-origin objects asse rt_true: same-origin Window functions get their own object expected true got fal se
18 FAIL Same-origin obsevers get different accessors for cross-origin Window assert _true: different Window accessors per-incumbent script settings object expected true got false 18 FAIL Same-origin obsevers get different accessors for cross-origin Window assert _true: different Window accessors per-incumbent script settings object expected true got false
19 FAIL Same-origin observers get different accessors for cross-origin Location Blo cked a frame with origin "http://web-platform.test:8000" from accessing a cross- origin frame. 19 FAIL Same-origin observers get different accessors for cross-origin Location Blo cked a frame with origin "http://web-platform.test:8000" from accessing a cross- origin frame.
20 PASS Cross-origin object identity preserved across document.domain 20 PASS Cross-origin object identity preserved across document.domain
21 Harness: the test ran to completion. 21 Harness: the test ran to completion.
22 22
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698