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

Side by Side Diff: LayoutTests/http/tests/security/cross-frame-access-get-expected.txt

Issue 14198015: Deny cross-origin access to 'window.history'. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 7 years, 7 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
OLDNEW
1 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match. 1 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match.
2 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match. 2 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match.
3 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match. 3 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match.
4 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match. 4 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match.
5 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match. 5 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match.
6 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match. 6 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match.
7 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match. 7 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match.
8 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match. 8 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match.
9 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match. 9 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match.
10 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match. 10 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match.
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match. 177 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match.
178 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match. 178 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match.
179 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match. 179 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match.
180 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match. 180 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match.
181 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match. 181 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match.
182 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match. 182 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match.
183 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match. 183 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match.
184 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match. 184 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match.
185 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match. 185 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match.
186 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match. 186 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match.
187 CONSOLE MESSAGE: Blocked a frame with origin "http://127.0.0.1:8000" from access ing a frame with origin "http://localhost:8000". Protocols, domains, and ports m ust match.
187 This test checks cross-frame access security (rdar://problem/5251309). 188 This test checks cross-frame access security (rdar://problem/5251309).
188 189
189 190
190 191
191 ----- tests for getting of allowed properties ----- 192 ----- tests for getting of allowed properties -----
192 193
193 194
194 ----- tests for getting of allowed Functions ----- 195 ----- tests for getting of allowed Functions -----
195 196
196 PASS: canGet('targetWindow.blur') should be 'true' and is. 197 PASS: canGet('targetWindow.blur') should be 'true' and is.
197 PASS: canGet('targetWindow.close') should be 'true' and is. 198 PASS: canGet('targetWindow.close') should be 'true' and is.
198 PASS: canGet('targetWindow.focus') should be 'true' and is. 199 PASS: canGet('targetWindow.focus') should be 'true' and is.
199 200
200 ----- tests for getting of allowed Attributes ----- 201 ----- tests for getting of allowed Attributes -----
201 202
202 PASS: canGet('targetWindow.closed') should be 'true' and is. 203 PASS: canGet('targetWindow.closed') should be 'true' and is.
203 PASS: canGet('targetWindow.frames') should be 'true' and is. 204 PASS: canGet('targetWindow.frames') should be 'true' and is.
204 PASS: canGet('targetWindow.history') should be 'true' and is.
205 PASS: canGet('targetWindow.length') should be 'true' and is. 205 PASS: canGet('targetWindow.length') should be 'true' and is.
206 PASS: canGet('targetWindow.opener') should be 'true' and is. 206 PASS: canGet('targetWindow.opener') should be 'true' and is.
207 PASS: canGet('targetWindow.parent') should be 'true' and is. 207 PASS: canGet('targetWindow.parent') should be 'true' and is.
208 PASS: canGet('targetWindow.self') should be 'true' and is. 208 PASS: canGet('targetWindow.self') should be 'true' and is.
209 PASS: canGet('targetWindow.top') should be 'true' and is. 209 PASS: canGet('targetWindow.top') should be 'true' and is.
210 PASS: canGet('targetWindow.window') should be 'true' and is. 210 PASS: canGet('targetWindow.window') should be 'true' and is.
211 211
212 ----- tests for getting of not allowed properties ----- 212 ----- tests for getting of not allowed properties -----
213 213
214 214
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 PASS: canGet('targetWindow.crypto') should be 'false' and is. 350 PASS: canGet('targetWindow.crypto') should be 'false' and is.
351 PASS: canGet('targetWindow.defaultStatus') should be 'false' and is. 351 PASS: canGet('targetWindow.defaultStatus') should be 'false' and is.
352 PASS: canGet('targetWindow.defaultstatus') should be 'false' and is. 352 PASS: canGet('targetWindow.defaultstatus') should be 'false' and is.
353 PASS: canGet('targetWindow.devicePixelRatio') should be 'false' and is. 353 PASS: canGet('targetWindow.devicePixelRatio') should be 'false' and is.
354 Firefox allows access to 'document' but throws an exception when you access its properties. 354 Firefox allows access to 'document' but throws an exception when you access its properties.
355 PASS: canGet('targetWindow.document') should be 'false' and is. 355 PASS: canGet('targetWindow.document') should be 'false' and is.
356 PASS: canGet('targetWindow.embeds') should be 'false' and is. 356 PASS: canGet('targetWindow.embeds') should be 'false' and is.
357 PASS: canGet('targetWindow.eval') should be 'false' and is. 357 PASS: canGet('targetWindow.eval') should be 'false' and is.
358 PASS: canGet('targetWindow.event') should be 'false' and is. 358 PASS: canGet('targetWindow.event') should be 'false' and is.
359 PASS: canGet('targetWindow.frameElement') should be 'false' and is. 359 PASS: canGet('targetWindow.frameElement') should be 'false' and is.
360 PASS: canGet('targetWindow.history') should be 'false' and is.
360 PASS: canGet('targetWindow.images') should be 'false' and is. 361 PASS: canGet('targetWindow.images') should be 'false' and is.
361 PASS: canGet('targetWindow.innerHeight') should be 'false' and is. 362 PASS: canGet('targetWindow.innerHeight') should be 'false' and is.
362 PASS: canGet('targetWindow.innerWidth') should be 'false' and is. 363 PASS: canGet('targetWindow.innerWidth') should be 'false' and is.
363 PASS: canGet('targetWindow.locationbar') should be 'false' and is. 364 PASS: canGet('targetWindow.locationbar') should be 'false' and is.
364 PASS: canGet('targetWindow.menubar') should be 'false' and is. 365 PASS: canGet('targetWindow.menubar') should be 'false' and is.
365 PASS: canGet('targetWindow.name') should be 'false' and is. 366 PASS: canGet('targetWindow.name') should be 'false' and is.
366 PASS: canGet('targetWindow.navigator') should be 'false' and is. 367 PASS: canGet('targetWindow.navigator') should be 'false' and is.
367 PASS: canGet('targetWindow.offscreenBuffering') should be 'false' and is. 368 PASS: canGet('targetWindow.offscreenBuffering') should be 'false' and is.
368 PASS: canGet('targetWindow.onabort') should be 'false' and is. 369 PASS: canGet('targetWindow.onabort') should be 'false' and is.
369 PASS: canGet('targetWindow.onbeforeunload') should be 'false' and is. 370 PASS: canGet('targetWindow.onbeforeunload') should be 'false' and is.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 PASS: canGet('targetWindow.screenTop') should be 'false' and is. 402 PASS: canGet('targetWindow.screenTop') should be 'false' and is.
402 PASS: canGet('targetWindow.screenX') should be 'false' and is. 403 PASS: canGet('targetWindow.screenX') should be 'false' and is.
403 PASS: canGet('targetWindow.screenY') should be 'false' and is. 404 PASS: canGet('targetWindow.screenY') should be 'false' and is.
404 PASS: canGet('targetWindow.scrollX') should be 'false' and is. 405 PASS: canGet('targetWindow.scrollX') should be 'false' and is.
405 PASS: canGet('targetWindow.scrollY') should be 'false' and is. 406 PASS: canGet('targetWindow.scrollY') should be 'false' and is.
406 PASS: canGet('targetWindow.scrollbars') should be 'false' and is. 407 PASS: canGet('targetWindow.scrollbars') should be 'false' and is.
407 PASS: canGet('targetWindow.status') should be 'false' and is. 408 PASS: canGet('targetWindow.status') should be 'false' and is.
408 PASS: canGet('targetWindow.statusbar') should be 'false' and is. 409 PASS: canGet('targetWindow.statusbar') should be 'false' and is.
409 PASS: canGet('targetWindow.toolbar') should be 'false' and is. 410 PASS: canGet('targetWindow.toolbar') should be 'false' and is.
410 411
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698