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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/cross-frame-access-getOwnPropertyDescriptor-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 test checks cross-frame access security of getOwnPropertyDescriptor (https: //bugs.webkit.org/show_bug.cgi?id=32119). 1 This test checks cross-frame access security of getOwnPropertyDescriptor (https: //bugs.webkit.org/show_bug.cgi?id=32119).
2 2
3 3
4 4
5 ----- tests for getting of not allowed properties ----- 5 ----- tests for getting of not allowed properties -----
6 6
7 7
8 ----- tests for getting of not allowed Constructors ----- 8 ----- tests for getting of not allowed Constructors -----
9 9
10 PASS: canGetDescriptor(targetWindow, 'Attr') should be 'false' and is. 10 PASS: canGetDescriptor(targetWindow, 'Attr') should be 'false' and is.
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 PASS: canGetDescriptor(targetWindow, 'releaseEvents') should be 'false' and is. 123 PASS: canGetDescriptor(targetWindow, 'releaseEvents') should be 'false' and is.
124 PASS: canGetDescriptor(targetWindow, 'removeEventListener') should be 'false' an d is. 124 PASS: canGetDescriptor(targetWindow, 'removeEventListener') should be 'false' an d is.
125 PASS: canGetDescriptor(targetWindow, 'resizeBy') should be 'false' and is. 125 PASS: canGetDescriptor(targetWindow, 'resizeBy') should be 'false' and is.
126 PASS: canGetDescriptor(targetWindow, 'resizeTo') should be 'false' and is. 126 PASS: canGetDescriptor(targetWindow, 'resizeTo') should be 'false' and is.
127 PASS: canGetDescriptor(targetWindow, 'scroll') should be 'false' and is. 127 PASS: canGetDescriptor(targetWindow, 'scroll') should be 'false' and is.
128 PASS: canGetDescriptor(targetWindow, 'scrollBy') should be 'false' and is. 128 PASS: canGetDescriptor(targetWindow, 'scrollBy') should be 'false' and is.
129 PASS: canGetDescriptor(targetWindow, 'scrollTo') should be 'false' and is. 129 PASS: canGetDescriptor(targetWindow, 'scrollTo') should be 'false' and is.
130 PASS: canGetDescriptor(targetWindow, 'setInterval') should be 'false' and is. 130 PASS: canGetDescriptor(targetWindow, 'setInterval') should be 'false' and is.
131 PASS: canGetDescriptor(targetWindow, 'setTimeout') should be 'false' and is. 131 PASS: canGetDescriptor(targetWindow, 'setTimeout') should be 'false' and is.
132 PASS: canGetDescriptor(targetWindow, 'stop') should be 'false' and is. 132 PASS: canGetDescriptor(targetWindow, 'stop') should be 'false' and is.
133 PASS: canGetDescriptor(targetWindow, 'blur') should be 'false' and is. 133 PASS: canGetDescriptor(targetWindow, 'blur') should be 'true' and is.
134 PASS: canGetDescriptor(targetWindow, 'close') should be 'false' and is. 134 PASS: canGetDescriptor(targetWindow, 'close') should be 'true' and is.
135 PASS: canGetDescriptor(targetWindow, 'focus') should be 'false' and is. 135 PASS: canGetDescriptor(targetWindow, 'focus') should be 'true' and is.
136 PASS: canGetDescriptor(targetWindow, 'postMessage') should be 'true' and is.
136 137
137 ----- tests for getting of not allowed Attributes ----- 138 ----- tests for getting of not allowed Attributes -----
138 139
139 PASS: canGetDescriptor(targetWindow, 'clientInformation') should be 'false' and is. 140 PASS: canGetDescriptor(targetWindow, 'clientInformation') should be 'false' and is.
140 PASS: canGetDescriptor(targetWindow, 'console') should be 'false' and is. 141 PASS: canGetDescriptor(targetWindow, 'console') should be 'false' and is.
141 PASS: canGetDescriptor(targetWindow, 'crypto') should be 'false' and is. 142 PASS: canGetDescriptor(targetWindow, 'crypto') should be 'false' and is.
142 PASS: canGetDescriptor(targetWindow, 'defaultStatus') should be 'false' and is. 143 PASS: canGetDescriptor(targetWindow, 'defaultStatus') should be 'false' and is.
143 PASS: canGetDescriptor(targetWindow, 'defaultstatus') should be 'false' and is. 144 PASS: canGetDescriptor(targetWindow, 'defaultstatus') should be 'false' and is.
144 PASS: canGetDescriptor(targetWindow, 'devicePixelRatio') should be 'false' and i s. 145 PASS: canGetDescriptor(targetWindow, 'devicePixelRatio') should be 'false' and i s.
145 Firefox allows access to 'document' but throws an exception when you access its properties. 146 Firefox allows access to 'document' but throws an exception when you access its properties.
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 PASS: canGetDescriptor(targetLocation, 'hash') should be 'false' and is. 219 PASS: canGetDescriptor(targetLocation, 'hash') should be 'false' and is.
219 PASS: canGetDescriptor(targetLocation, 'toString') should be 'false' and is. 220 PASS: canGetDescriptor(targetLocation, 'toString') should be 'false' and is.
220 PASS: canGetDescriptor(targetLocation, 'valueOf') should be 'false' and is. 221 PASS: canGetDescriptor(targetLocation, 'valueOf') should be 'false' and is.
221 PASS: canGetDescriptor(targetLocation, 'customProperty') should be 'false' and i s. 222 PASS: canGetDescriptor(targetLocation, 'customProperty') should be 'false' and i s.
222 PASS: canGetDescriptor(targetLocation, 'reload') should be 'false' and is. 223 PASS: canGetDescriptor(targetLocation, 'reload') should be 'false' and is.
223 PASS: canGetDescriptor(targetLocation, 'assign') should be 'true' and is. 224 PASS: canGetDescriptor(targetLocation, 'assign') should be 'true' and is.
224 PASS: canGetDescriptor(targetLocation, 'replace') should be 'true' and is. 225 PASS: canGetDescriptor(targetLocation, 'replace') should be 'true' and is.
225 ----- tests access to cross domain history object ----- 226 ----- tests access to cross domain history object -----
226 PASS: targetWindow.history should have thrown an exception, and did: SecurityErr or: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-o rigin frame. 227 PASS: targetWindow.history should have thrown an exception, and did: SecurityErr or: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-o rigin frame.
227 228
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698