| OLD | NEW |
| 1 CONSOLE WARNING: line 1: 'getMatchedCSSRules()' is deprecated. For more help, ch
eck https://code.google.com/p/chromium/issues/detail?id=437569#c2 | |
| 2 | 1 |
| 3 ----- tests for calling methods of another frame using Function.call ----- | 2 ----- tests for calling methods of another frame using Function.call ----- |
| 4 | 3 |
| 5 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
". |
| 6 | 5 |
| 7 | 6 |
| 8 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: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cro
ss-origin frame.. |
| 9 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: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cr
oss-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.. | 9 PASS window.open.call(targetWindow, '') threw exception SecurityError: 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: Faile
d to execute 'getSelection' on 'Window': Blocked a frame with origin "http://127
.0.0.1:8000" from accessing a cross-origin frame.. | 10 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.. |
| 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.. | 11 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.. |
| 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.. | 12 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.. |
| 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.. | 13 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.. |
| 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.. | 14 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.. |
| 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.
. | 15 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.. |
| 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.. | 16 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.. |
| 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.. | 17 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.. |
| 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.. | 18 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.. |
| 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.. | 19 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.. |
| 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.. | 20 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.. |
| 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.. | 21 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.. |
| 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.. | 22 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.. |
| 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.. | 23 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.. |
| 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.. | 24 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.. |
| 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.. | 25 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.. |
| 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.. | 26 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.. |
| 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.. | 27 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.. |
| 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.. | 28 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.. |
| 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.. | 29 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.. |
| 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.. | 30 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.. |
| 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.. | 31 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.. |
| 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.. | 32 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.. |
| 34 PASS: window.eval.call(targetWindow, '1+2'); should be '3' and is. | 33 PASS: window.eval.call(targetWindow, '1+2'); should be '3' and is. |
| 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.. | 34 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.. |
| 36 PASS: successfullyParsed should be 'true' and is. | 35 PASS: successfullyParsed should be 'true' and is. |
| 37 | 36 |
| 38 TEST COMPLETE | 37 TEST COMPLETE |
| 39 | 38 |
| OLD | NEW |