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

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

Issue 99083002: WIP: Migrate generated bindings to new ExceptionState constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. Created 7 years 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 1
2 ----- tests for calling methods of another frame using Function.call ----- 2 ----- tests for calling methods of another frame using Function.call -----
3 3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5 5
6 6
7 PASS window.setTimeout.call(targetWindow, 'void(0);', 0) threw exception Securit yError: Failed to execute 'setTimeout' on 'Window': Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame.. 7 PASS window.setTimeout.call(targetWindow, 'void(0);', 0) threw exception Securit yError: Failed to execute 'setTimeout' on 'Window': Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame..
8 PASS window.setInterval.call(targetWindow, 'void(0);', 0) threw exception Securi tyError: Failed to execute 'setInterval' on 'Window': Blocked a frame with origi n "http://127.0.0.1:8000" from accessing a cross-origin frame.. 8 PASS window.setInterval.call(targetWindow, 'void(0);', 0) threw exception Securi tyError: Failed to execute 'setInterval' on 'Window': Blocked a frame with origi n "http://127.0.0.1:8000" from accessing a cross-origin frame..
9 PASS window.showModalDialog.call(targetWindow); threw exception SecurityError: F ailed to execute 'showModalDialog' on 'Window': Blocked a frame with origin "htt p://127.0.0.1:8000" from accessing a cross-origin frame.. 9 PASS window.showModalDialog.call(targetWindow); threw exception SecurityError: F ailed to execute 'showModalDialog' on 'Window': Blocked a frame with origin "htt p://127.0.0.1:8000" from accessing a cross-origin frame..
10 PASS window.open.call(targetWindow, '') threw exception SecurityError: Failed to execute 'open' on 'Window': Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame.. 10 PASS window.open.call(targetWindow, '') threw exception SecurityError: Failed to execute 'open' on 'Window': Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame..
11 PASS window.getSelection.call(targetWindow) threw exception SecurityError: Block ed a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin fra me.. 11 PASS window.getSelection.call(targetWindow) threw exception SecurityError: Faile d to execute 'getSelection' on 'Window': Blocked a frame with origin "http://127 .0.0.1:8000" from accessing a cross-origin frame..
12 PASS window.find.call(targetWindow, 'string', false, false, false, false, false, false) threw exception SecurityError: Blocked a frame with origin "http://127.0 .0.1:8000" from accessing a cross-origin frame.. 12 PASS window.find.call(targetWindow, 'string', false, false, false, false, false, false) threw exception SecurityError: Failed to execute 'find' on 'Window': Blo cked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin f rame..
13 PASS window.confirm.call(targetWindow, 'message') threw exception SecurityError: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-orig in frame.. 13 PASS window.confirm.call(targetWindow, 'message') threw exception SecurityError: Failed to execute 'confirm' on 'Window': Blocked a frame with origin "http://12 7.0.0.1:8000" from accessing a cross-origin frame..
14 PASS window.prompt.call(targetWindow, 'message', 'defaultValue') threw exception SecurityError: Blocked a frame with origin "http://127.0.0.1:8000" from accessi ng a cross-origin frame.. 14 PASS window.prompt.call(targetWindow, 'message', 'defaultValue') threw exception SecurityError: Failed to execute 'prompt' on 'Window': Blocked a frame with ori gin "http://127.0.0.1:8000" from accessing a cross-origin frame..
15 PASS window.getComputedStyle.call(targetWindow, document.body, '') threw excepti on SecurityError: Blocked a frame with origin "http://127.0.0.1:8000" from acces sing a cross-origin frame.. 15 PASS window.getComputedStyle.call(targetWindow, document.body, '') threw excepti on SecurityError: Failed to execute 'getComputedStyle' on 'Window': Blocked a fr ame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame..
16 PASS window.getMatchedCSSRules.call(targetWindow, document.body, '') threw excep tion SecurityError: Blocked a frame with origin "http://127.0.0.1:8000" from acc essing a cross-origin frame.. 16 PASS window.getMatchedCSSRules.call(targetWindow, document.body, '') threw excep tion SecurityError: Failed to execute 'getMatchedCSSRules' on 'Window': Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame. .
17 PASS window.openDatabase.call(targetWindow, 'name', '1.0', 'description', 0) thr ew exception SecurityError: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame.. 17 PASS window.openDatabase.call(targetWindow, 'name', '1.0', 'description', 0) thr ew exception SecurityError: Failed to execute 'openDatabase' on 'Window': Blocke d a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin fram e..
18 PASS window.atob.call(targetWindow, 'string') threw exception SecurityError: Blo cked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin f rame.. 18 PASS window.atob.call(targetWindow, 'string') threw exception SecurityError: Fai led to execute 'atob' on 'Window': Blocked a frame with origin "http://127.0.0.1 :8000" from accessing a cross-origin frame..
19 PASS window.btoa.call(targetWindow, 'string') threw exception SecurityError: Blo cked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin f rame.. 19 PASS window.btoa.call(targetWindow, 'string') threw exception SecurityError: Fai led to execute 'btoa' on 'Window': Blocked a frame with origin "http://127.0.0.1 :8000" from accessing a cross-origin frame..
20 PASS window.clearTimeout.call(targetWindow, 0); threw exception SecurityError: B locked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame.. 20 PASS window.clearTimeout.call(targetWindow, 0); threw exception SecurityError: F ailed to execute 'clearTimeout' on 'Window': Blocked a frame with origin "http:/ /127.0.0.1:8000" from accessing a cross-origin frame..
21 PASS window.clearInterval.call(targetWindow, 0); threw exception SecurityError: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origi n frame.. 21 PASS window.clearInterval.call(targetWindow, 0); threw exception SecurityError: Failed to execute 'clearInterval' on 'Window': Blocked a frame with origin "http ://127.0.0.1:8000" from accessing a cross-origin frame..
22 PASS window.print.call(targetWindow); threw exception SecurityError: Blocked a f rame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame.. 22 PASS window.print.call(targetWindow); threw exception SecurityError: Failed to e xecute 'print' on 'Window': Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame..
23 PASS window.stop.call(targetWindow); threw exception SecurityError: Blocked a fr ame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame.. 23 PASS window.stop.call(targetWindow); threw exception SecurityError: Failed to ex ecute 'stop' on 'Window': Blocked a frame with origin "http://127.0.0.1:8000" fr om accessing a cross-origin frame..
24 PASS window.alert.call(targetWindow, 'message'); threw exception SecurityError: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origi n frame.. 24 PASS window.alert.call(targetWindow, 'message'); threw exception SecurityError: Failed to execute 'alert' on 'Window': Blocked a frame with origin "http://127.0 .0.1:8000" from accessing a cross-origin frame..
25 PASS window.scrollBy.call(targetWindow, 0, 0); threw exception SecurityError: Bl ocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame.. 25 PASS window.scrollBy.call(targetWindow, 0, 0); threw exception SecurityError: Fa iled to execute 'scrollBy' on 'Window': Blocked a frame with origin "http://127. 0.0.1:8000" from accessing a cross-origin frame..
26 PASS window.scrollTo.call(targetWindow, 0, 0); threw exception SecurityError: Bl ocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame.. 26 PASS window.scrollTo.call(targetWindow, 0, 0); threw exception SecurityError: Fa iled to execute 'scrollTo' on 'Window': Blocked a frame with origin "http://127. 0.0.1:8000" from accessing a cross-origin frame..
27 PASS window.scroll.call(targetWindow, 0, 0); threw exception SecurityError: Bloc ked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin fr ame.. 27 PASS window.scroll.call(targetWindow, 0, 0); threw exception SecurityError: Fail ed to execute 'scroll' on 'Window': Blocked a frame with origin "http://127.0.0. 1:8000" from accessing a cross-origin frame..
28 PASS window.moveBy.call(targetWindow, 0, 0); threw exception SecurityError: Bloc ked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin fr ame.. 28 PASS window.moveBy.call(targetWindow, 0, 0); threw exception SecurityError: Fail ed to execute 'moveBy' on 'Window': Blocked a frame with origin "http://127.0.0. 1:8000" from accessing a cross-origin frame..
29 PASS window.moveTo.call(targetWindow, 0, 0); threw exception SecurityError: Bloc ked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin fr ame.. 29 PASS window.moveTo.call(targetWindow, 0, 0); threw exception SecurityError: Fail ed to execute 'moveTo' on 'Window': Blocked a frame with origin "http://127.0.0. 1:8000" from accessing a cross-origin frame..
30 PASS window.resizeBy.call(targetWindow, 0, 0); threw exception SecurityError: Bl ocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame.. 30 PASS window.resizeBy.call(targetWindow, 0, 0); threw exception SecurityError: Fa iled to execute 'resizeBy' on 'Window': Blocked a frame with origin "http://127. 0.0.1:8000" from accessing a cross-origin frame..
31 PASS window.resizeTo.call(targetWindow, 0, 0); threw exception SecurityError: Bl ocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame.. 31 PASS window.resizeTo.call(targetWindow, 0, 0); threw exception SecurityError: Fa iled to execute 'resizeTo' on 'Window': Blocked a frame with origin "http://127. 0.0.1:8000" from accessing a cross-origin frame..
32 PASS window.addEventListener.call(targetWindow, 'load', null, false); threw exce ption SecurityError: Blocked a frame with origin "http://127.0.0.1:8000" from ac cessing a cross-origin frame.. 32 PASS window.addEventListener.call(targetWindow, 'load', null, false); threw exce ption SecurityError: Failed to execute 'addEventListener' on 'EventTarget': Bloc ked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin fr ame..
33 PASS window.removeEventListener.call(targetWindow, 'load', null, false); threw e xception SecurityError: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame.. 33 PASS window.removeEventListener.call(targetWindow, 'load', null, false); threw e xception SecurityError: Failed to execute 'removeEventListener' on 'EventTarget' : Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-ori gin frame..
34 PASS: window.eval.call(targetWindow, '1+2'); should be '3' and is. 34 PASS: window.eval.call(targetWindow, '1+2'); should be '3' and is.
35 PASS window.location.toString.call(targetWindow.location) threw exception Securi tyError: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cr oss-origin frame.. 35 PASS window.location.toString.call(targetWindow.location) threw exception Securi tyError: Failed to execute 'toString' on 'Location': Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame..
36 PASS: successfullyParsed should be 'true' and is. 36 PASS: successfullyParsed should be 'true' and is.
37 37
38 TEST COMPLETE 38 TEST COMPLETE
39 39
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698