OLD | NEW |
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.. | |
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: 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: 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: 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: 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: 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:
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:
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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: Fai
led to execute 'btoa' on 'Window': Blocked a frame with origin "http://127.0.0.1
:8000" from accessing a cross-origin frame.. |
(...skipping 10 matching lines...) Expand all Loading... |
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: 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: 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: 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: 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: 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: 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: 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. | 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: 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. | 35 PASS: successfullyParsed should be 'true' and is. |
37 | 36 |
38 TEST COMPLETE | 37 TEST COMPLETE |
39 | 38 |
OLD | NEW |