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

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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 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.
188 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. 188 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.
189 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. 189 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.
190 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.
190 This test checks cross-frame access security (rdar://problem/5251309). 191 This test checks cross-frame access security (rdar://problem/5251309).
191 192
192 193
193 194
194 ----- tests for getting of allowed properties ----- 195 ----- tests for getting of allowed properties -----
195 196
196 197
197 ----- tests for getting of allowed Functions ----- 198 ----- tests for getting of allowed Functions -----
198 199
199 PASS: canGet('targetWindow.blur') should be 'true' and is. 200 PASS: canGet('targetWindow.blur') should be 'true' and is.
200 PASS: canGet('targetWindow.close') should be 'true' and is. 201 PASS: canGet('targetWindow.close') should be 'true' and is.
201 PASS: canGet('targetWindow.focus') should be 'true' and is. 202 PASS: canGet('targetWindow.focus') should be 'true' and is.
202 203
203 ----- tests for getting of allowed Attributes ----- 204 ----- tests for getting of allowed Attributes -----
204 205
205 PASS: canGet('targetWindow.closed') should be 'true' and is. 206 PASS: canGet('targetWindow.closed') should be 'true' and is.
206 PASS: canGet('targetWindow.frames') should be 'true' and is. 207 PASS: canGet('targetWindow.frames') should be 'true' and is.
207 PASS: canGet('targetWindow.history') should be 'true' and is.
208 PASS: canGet('targetWindow.length') should be 'true' and is. 208 PASS: canGet('targetWindow.length') should be 'true' and is.
209 PASS: canGet('targetWindow.opener') should be 'true' and is. 209 PASS: canGet('targetWindow.opener') should be 'true' and is.
210 PASS: canGet('targetWindow.parent') should be 'true' and is. 210 PASS: canGet('targetWindow.parent') should be 'true' and is.
211 PASS: canGet('targetWindow.self') should be 'true' and is. 211 PASS: canGet('targetWindow.self') should be 'true' and is.
212 PASS: canGet('targetWindow.top') should be 'true' and is. 212 PASS: canGet('targetWindow.top') should be 'true' and is.
213 PASS: canGet('targetWindow.window') should be 'true' and is. 213 PASS: canGet('targetWindow.window') should be 'true' and is.
214 214
215 ----- tests for getting of not allowed properties ----- 215 ----- tests for getting of not allowed properties -----
216 216
217 217
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 PASS: canGet('targetWindow.crypto') should be 'false' and is. 356 PASS: canGet('targetWindow.crypto') should be 'false' and is.
357 PASS: canGet('targetWindow.defaultStatus') should be 'false' and is. 357 PASS: canGet('targetWindow.defaultStatus') should be 'false' and is.
358 PASS: canGet('targetWindow.defaultstatus') should be 'false' and is. 358 PASS: canGet('targetWindow.defaultstatus') should be 'false' and is.
359 PASS: canGet('targetWindow.devicePixelRatio') should be 'false' and is. 359 PASS: canGet('targetWindow.devicePixelRatio') should be 'false' and is.
360 Firefox allows access to 'document' but throws an exception when you access its properties. 360 Firefox allows access to 'document' but throws an exception when you access its properties.
361 PASS: canGet('targetWindow.document') should be 'false' and is. 361 PASS: canGet('targetWindow.document') should be 'false' and is.
362 PASS: canGet('targetWindow.embeds') should be 'false' and is. 362 PASS: canGet('targetWindow.embeds') should be 'false' and is.
363 PASS: canGet('targetWindow.eval') should be 'false' and is. 363 PASS: canGet('targetWindow.eval') should be 'false' and is.
364 PASS: canGet('targetWindow.event') should be 'false' and is. 364 PASS: canGet('targetWindow.event') should be 'false' and is.
365 PASS: canGet('targetWindow.frameElement') should be 'false' and is. 365 PASS: canGet('targetWindow.frameElement') should be 'false' and is.
366 PASS: canGet('targetWindow.history') should be 'false' and is.
366 PASS: canGet('targetWindow.images') should be 'false' and is. 367 PASS: canGet('targetWindow.images') should be 'false' and is.
367 PASS: canGet('targetWindow.innerHeight') should be 'false' and is. 368 PASS: canGet('targetWindow.innerHeight') should be 'false' and is.
368 PASS: canGet('targetWindow.innerWidth') should be 'false' and is. 369 PASS: canGet('targetWindow.innerWidth') should be 'false' and is.
369 PASS: canGet('targetWindow.locationbar') should be 'false' and is. 370 PASS: canGet('targetWindow.locationbar') should be 'false' and is.
370 PASS: canGet('targetWindow.menubar') should be 'false' and is. 371 PASS: canGet('targetWindow.menubar') should be 'false' and is.
371 PASS: canGet('targetWindow.name') should be 'false' and is. 372 PASS: canGet('targetWindow.name') should be 'false' and is.
372 PASS: canGet('targetWindow.navigator') should be 'false' and is. 373 PASS: canGet('targetWindow.navigator') should be 'false' and is.
373 PASS: canGet('targetWindow.offscreenBuffering') should be 'false' and is. 374 PASS: canGet('targetWindow.offscreenBuffering') should be 'false' and is.
374 PASS: canGet('targetWindow.onabort') should be 'false' and is. 375 PASS: canGet('targetWindow.onabort') should be 'false' and is.
375 PASS: canGet('targetWindow.onbeforeunload') should be 'false' and is. 376 PASS: canGet('targetWindow.onbeforeunload') should be 'false' and is.
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 PASS: canGet('targetWindow.screenTop') should be 'false' and is. 408 PASS: canGet('targetWindow.screenTop') should be 'false' and is.
408 PASS: canGet('targetWindow.screenX') should be 'false' and is. 409 PASS: canGet('targetWindow.screenX') should be 'false' and is.
409 PASS: canGet('targetWindow.screenY') should be 'false' and is. 410 PASS: canGet('targetWindow.screenY') should be 'false' and is.
410 PASS: canGet('targetWindow.scrollX') should be 'false' and is. 411 PASS: canGet('targetWindow.scrollX') should be 'false' and is.
411 PASS: canGet('targetWindow.scrollY') should be 'false' and is. 412 PASS: canGet('targetWindow.scrollY') should be 'false' and is.
412 PASS: canGet('targetWindow.scrollbars') should be 'false' and is. 413 PASS: canGet('targetWindow.scrollbars') should be 'false' and is.
413 PASS: canGet('targetWindow.status') should be 'false' and is. 414 PASS: canGet('targetWindow.status') should be 'false' and is.
414 PASS: canGet('targetWindow.statusbar') should be 'false' and is. 415 PASS: canGet('targetWindow.statusbar') should be 'false' and is.
415 PASS: canGet('targetWindow.toolbar') should be 'false' and is. 416 PASS: canGet('targetWindow.toolbar') should be 'false' and is.
416 417
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698