1 | 1 | This is a testharness.js-based test.
|
---|
| 2 | Found 126 tests; 125 PASS, 1 FAIL, 0 TIMEOUT, 0 NOTRUN.
|
---|
2 | 3 | PASS Window Security testing
|
---|
3 | | FAIL A SecurityError exception must be thrown when window.applicationCache is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
4 | | if (item.isMethod)
|
---|
5 | | if (item.args)
|
---|
6 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
7 | | else
|
---|
8 | | fr.contentWindow[item.name]();
|
---|
9 | | else
|
---|
10 | | fr.contentWindow[item.name];
|
---|
11 | | }" did not throw
|
---|
12 | | FAIL A SecurityError exception must be thrown when window.devicePixelRatio is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
13 | | if (item.isMethod)
|
---|
14 | | if (item.args)
|
---|
15 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
16 | | else
|
---|
17 | | fr.contentWindow[item.name]();
|
---|
18 | | else
|
---|
19 | | fr.contentWindow[item.name];
|
---|
20 | | }" did not throw
|
---|
21 | | FAIL A SecurityError exception must be thrown when window.document is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
22 | | if (item.isMethod)
|
---|
23 | | if (item.args)
|
---|
24 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
25 | | else
|
---|
26 | | fr.contentWindow[item.name]();
|
---|
27 | | else
|
---|
28 | | fr.contentWindow[item.name];
|
---|
29 | | }" did not throw
|
---|
30 | | FAIL A SecurityError exception must be thrown when window.external is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
31 | | if (item.isMethod)
|
---|
32 | | if (item.args)
|
---|
33 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
34 | | else
|
---|
35 | | fr.contentWindow[item.name]();
|
---|
36 | | else
|
---|
37 | | fr.contentWindow[item.name];
|
---|
38 | | }" did not throw
|
---|
39 | | FAIL A SecurityError exception must be thrown when window.frameElement is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
40 | | if (item.isMethod)
|
---|
41 | | if (item.args)
|
---|
42 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
43 | | else
|
---|
44 | | fr.contentWindow[item.name]();
|
---|
45 | | else
|
---|
46 | | fr.contentWindow[item.name];
|
---|
47 | | }" did not throw
|
---|
48 | | FAIL A SecurityError exception must be thrown when window.history is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
49 | | if (item.isMethod)
|
---|
50 | | if (item.args)
|
---|
51 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
52 | | else
|
---|
53 | | fr.contentWindow[item.name]();
|
---|
54 | | else
|
---|
55 | | fr.contentWindow[item.name];
|
---|
56 | | }" did not throw
|
---|
57 | | FAIL A SecurityError exception must be thrown when window.innerWidth is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
58 | | if (item.isMethod)
|
---|
59 | | if (item.args)
|
---|
60 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
61 | | else
|
---|
62 | | fr.contentWindow[item.name]();
|
---|
63 | | else
|
---|
64 | | fr.contentWindow[item.name];
|
---|
65 | | }" did not throw
|
---|
66 | | FAIL A SecurityError exception must be thrown when window.innerHeight is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
67 | | if (item.isMethod)
|
---|
68 | | if (item.args)
|
---|
69 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
70 | | else
|
---|
71 | | fr.contentWindow[item.name]();
|
---|
72 | | else
|
---|
73 | | fr.contentWindow[item.name];
|
---|
74 | | }" did not throw
|
---|
75 | | FAIL A SecurityError exception must be thrown when window.locationbar is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
76 | | if (item.isMethod)
|
---|
77 | | if (item.args)
|
---|
78 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
79 | | else
|
---|
80 | | fr.contentWindow[item.name]();
|
---|
81 | | else
|
---|
82 | | fr.contentWindow[item.name];
|
---|
83 | | }" did not throw
|
---|
84 | | FAIL A SecurityError exception must be thrown when window.localStorage is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
85 | | if (item.isMethod)
|
---|
86 | | if (item.args)
|
---|
87 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
88 | | else
|
---|
89 | | fr.contentWindow[item.name]();
|
---|
90 | | else
|
---|
91 | | fr.contentWindow[item.name];
|
---|
92 | | }" did not throw
|
---|
93 | | FAIL A SecurityError exception must be thrown when window.menubar is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
94 | | if (item.isMethod)
|
---|
95 | | if (item.args)
|
---|
96 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
97 | | else
|
---|
98 | | fr.contentWindow[item.name]();
|
---|
99 | | else
|
---|
100 | | fr.contentWindow[item.name];
|
---|
101 | | }" did not throw
|
---|
102 | | FAIL A SecurityError exception must be thrown when window.name is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
103 | | if (item.isMethod)
|
---|
104 | | if (item.args)
|
---|
105 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
106 | | else
|
---|
107 | | fr.contentWindow[item.name]();
|
---|
108 | | else
|
---|
109 | | fr.contentWindow[item.name];
|
---|
110 | | }" did not throw
|
---|
111 | | FAIL A SecurityError exception must be thrown when window.navigator is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
112 | | if (item.isMethod)
|
---|
113 | | if (item.args)
|
---|
114 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
115 | | else
|
---|
116 | | fr.contentWindow[item.name]();
|
---|
117 | | else
|
---|
118 | | fr.contentWindow[item.name];
|
---|
119 | | }" did not throw
|
---|
120 | | FAIL A SecurityError exception must be thrown when window.onabort is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
121 | | if (item.isMethod)
|
---|
122 | | if (item.args)
|
---|
123 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
124 | | else
|
---|
125 | | fr.contentWindow[item.name]();
|
---|
126 | | else
|
---|
127 | | fr.contentWindow[item.name];
|
---|
128 | | }" did not throw
|
---|
129 | | FAIL A SecurityError exception must be thrown when window.onafterprint is accessed from a different origin. assert_true: window.onafterprint should exist. expected true got false
|
---|
130 | | FAIL A SecurityError exception must be thrown when window.onbeforeprint is accessed from a different origin. assert_true: window.onbeforeprint should exist. expected true got false
|
---|
131 | | FAIL A SecurityError exception must be thrown when window.onbeforeunload is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
132 | | if (item.isMethod)
|
---|
133 | | if (item.args)
|
---|
134 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
135 | | else
|
---|
136 | | fr.contentWindow[item.name]();
|
---|
137 | | else
|
---|
138 | | fr.contentWindow[item.name];
|
---|
139 | | }" did not throw
|
---|
140 | | FAIL A SecurityError exception must be thrown when window.onblur is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
141 | | if (item.isMethod)
|
---|
142 | | if (item.args)
|
---|
143 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
144 | | else
|
---|
145 | | fr.contentWindow[item.name]();
|
---|
146 | | else
|
---|
147 | | fr.contentWindow[item.name];
|
---|
148 | | }" did not throw
|
---|
149 | | FAIL A SecurityError exception must be thrown when window.oncancel is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
150 | | if (item.isMethod)
|
---|
151 | | if (item.args)
|
---|
152 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
153 | | else
|
---|
154 | | fr.contentWindow[item.name]();
|
---|
155 | | else
|
---|
156 | | fr.contentWindow[item.name];
|
---|
157 | | }" did not throw
|
---|
158 | | FAIL A SecurityError exception must be thrown when window.oncanplay is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
159 | | if (item.isMethod)
|
---|
160 | | if (item.args)
|
---|
161 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
162 | | else
|
---|
163 | | fr.contentWindow[item.name]();
|
---|
164 | | else
|
---|
165 | | fr.contentWindow[item.name];
|
---|
166 | | }" did not throw
|
---|
167 | | FAIL A SecurityError exception must be thrown when window.oncanplaythrough is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
168 | | if (item.isMethod)
|
---|
169 | | if (item.args)
|
---|
170 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
171 | | else
|
---|
172 | | fr.contentWindow[item.name]();
|
---|
173 | | else
|
---|
174 | | fr.contentWindow[item.name];
|
---|
175 | | }" did not throw
|
---|
176 | | FAIL A SecurityError exception must be thrown when window.onchange is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
177 | | if (item.isMethod)
|
---|
178 | | if (item.args)
|
---|
179 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
180 | | else
|
---|
181 | | fr.contentWindow[item.name]();
|
---|
182 | | else
|
---|
183 | | fr.contentWindow[item.name];
|
---|
184 | | }" did not throw
|
---|
185 | | FAIL A SecurityError exception must be thrown when window.onclick is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
186 | | if (item.isMethod)
|
---|
187 | | if (item.args)
|
---|
188 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
189 | | else
|
---|
190 | | fr.contentWindow[item.name]();
|
---|
191 | | else
|
---|
192 | | fr.contentWindow[item.name];
|
---|
193 | | }" did not throw
|
---|
194 | | FAIL A SecurityError exception must be thrown when window.onclose is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
195 | | if (item.isMethod)
|
---|
196 | | if (item.args)
|
---|
197 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
198 | | else
|
---|
199 | | fr.contentWindow[item.name]();
|
---|
200 | | else
|
---|
201 | | fr.contentWindow[item.name];
|
---|
202 | | }" did not throw
|
---|
203 | | FAIL A SecurityError exception must be thrown when window.oncontextmenu is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
204 | | if (item.isMethod)
|
---|
205 | | if (item.args)
|
---|
206 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
207 | | else
|
---|
208 | | fr.contentWindow[item.name]();
|
---|
209 | | else
|
---|
210 | | fr.contentWindow[item.name];
|
---|
211 | | }" did not throw
|
---|
212 | | FAIL A SecurityError exception must be thrown when window.oncuechange is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
213 | | if (item.isMethod)
|
---|
214 | | if (item.args)
|
---|
215 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
216 | | else
|
---|
217 | | fr.contentWindow[item.name]();
|
---|
218 | | else
|
---|
219 | | fr.contentWindow[item.name];
|
---|
220 | | }" did not throw
|
---|
221 | | FAIL A SecurityError exception must be thrown when window.ondblclick is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
222 | | if (item.isMethod)
|
---|
223 | | if (item.args)
|
---|
224 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
225 | | else
|
---|
226 | | fr.contentWindow[item.name]();
|
---|
227 | | else
|
---|
228 | | fr.contentWindow[item.name];
|
---|
229 | | }" did not throw
|
---|
230 | | FAIL A SecurityError exception must be thrown when window.ondrag is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
231 | | if (item.isMethod)
|
---|
232 | | if (item.args)
|
---|
233 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
234 | | else
|
---|
235 | | fr.contentWindow[item.name]();
|
---|
236 | | else
|
---|
237 | | fr.contentWindow[item.name];
|
---|
238 | | }" did not throw
|
---|
239 | | FAIL A SecurityError exception must be thrown when window.ondragend is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
240 | | if (item.isMethod)
|
---|
241 | | if (item.args)
|
---|
242 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
243 | | else
|
---|
244 | | fr.contentWindow[item.name]();
|
---|
245 | | else
|
---|
246 | | fr.contentWindow[item.name];
|
---|
247 | | }" did not throw
|
---|
248 | | FAIL A SecurityError exception must be thrown when window.ondragenter is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
249 | | if (item.isMethod)
|
---|
250 | | if (item.args)
|
---|
251 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
252 | | else
|
---|
253 | | fr.contentWindow[item.name]();
|
---|
254 | | else
|
---|
255 | | fr.contentWindow[item.name];
|
---|
256 | | }" did not throw
|
---|
257 | | FAIL A SecurityError exception must be thrown when window.ondragleave is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
258 | | if (item.isMethod)
|
---|
259 | | if (item.args)
|
---|
260 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
261 | | else
|
---|
262 | | fr.contentWindow[item.name]();
|
---|
263 | | else
|
---|
264 | | fr.contentWindow[item.name];
|
---|
265 | | }" did not throw
|
---|
266 | | FAIL A SecurityError exception must be thrown when window.ondragover is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
267 | | if (item.isMethod)
|
---|
268 | | if (item.args)
|
---|
269 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
270 | | else
|
---|
271 | | fr.contentWindow[item.name]();
|
---|
272 | | else
|
---|
273 | | fr.contentWindow[item.name];
|
---|
274 | | }" did not throw
|
---|
275 | | FAIL A SecurityError exception must be thrown when window.ondragstart is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
276 | | if (item.isMethod)
|
---|
277 | | if (item.args)
|
---|
278 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
279 | | else
|
---|
280 | | fr.contentWindow[item.name]();
|
---|
281 | | else
|
---|
282 | | fr.contentWindow[item.name];
|
---|
283 | | }" did not throw
|
---|
284 | | FAIL A SecurityError exception must be thrown when window.ondrop is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
285 | | if (item.isMethod)
|
---|
286 | | if (item.args)
|
---|
287 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
288 | | else
|
---|
289 | | fr.contentWindow[item.name]();
|
---|
290 | | else
|
---|
291 | | fr.contentWindow[item.name];
|
---|
292 | | }" did not throw
|
---|
293 | | FAIL A SecurityError exception must be thrown when window.ondurationchange is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
294 | | if (item.isMethod)
|
---|
295 | | if (item.args)
|
---|
296 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
297 | | else
|
---|
298 | | fr.contentWindow[item.name]();
|
---|
299 | | else
|
---|
300 | | fr.contentWindow[item.name];
|
---|
301 | | }" did not throw
|
---|
302 | | FAIL A SecurityError exception must be thrown when window.onemptied is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
303 | | if (item.isMethod)
|
---|
304 | | if (item.args)
|
---|
305 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
306 | | else
|
---|
307 | | fr.contentWindow[item.name]();
|
---|
308 | | else
|
---|
309 | | fr.contentWindow[item.name];
|
---|
310 | | }" did not throw
|
---|
311 | | FAIL A SecurityError exception must be thrown when window.onended is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
312 | | if (item.isMethod)
|
---|
313 | | if (item.args)
|
---|
314 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
315 | | else
|
---|
316 | | fr.contentWindow[item.name]();
|
---|
317 | | else
|
---|
318 | | fr.contentWindow[item.name];
|
---|
319 | | }" did not throw
|
---|
320 | | FAIL A SecurityError exception must be thrown when window.onerror is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
321 | | if (item.isMethod)
|
---|
322 | | if (item.args)
|
---|
323 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
324 | | else
|
---|
325 | | fr.contentWindow[item.name]();
|
---|
326 | | else
|
---|
327 | | fr.contentWindow[item.name];
|
---|
328 | | }" did not throw
|
---|
329 | | FAIL A SecurityError exception must be thrown when window.onfocus is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
330 | | if (item.isMethod)
|
---|
331 | | if (item.args)
|
---|
332 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
333 | | else
|
---|
334 | | fr.contentWindow[item.name]();
|
---|
335 | | else
|
---|
336 | | fr.contentWindow[item.name];
|
---|
337 | | }" did not throw
|
---|
338 | | FAIL A SecurityError exception must be thrown when window.onhashchange is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
339 | | if (item.isMethod)
|
---|
340 | | if (item.args)
|
---|
341 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
342 | | else
|
---|
343 | | fr.contentWindow[item.name]();
|
---|
344 | | else
|
---|
345 | | fr.contentWindow[item.name];
|
---|
346 | | }" did not throw
|
---|
347 | | FAIL A SecurityError exception must be thrown when window.oninput is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
348 | | if (item.isMethod)
|
---|
349 | | if (item.args)
|
---|
350 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
351 | | else
|
---|
352 | | fr.contentWindow[item.name]();
|
---|
353 | | else
|
---|
354 | | fr.contentWindow[item.name];
|
---|
355 | | }" did not throw
|
---|
356 | | FAIL A SecurityError exception must be thrown when window.oninvalid is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
357 | | if (item.isMethod)
|
---|
358 | | if (item.args)
|
---|
359 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
360 | | else
|
---|
361 | | fr.contentWindow[item.name]();
|
---|
362 | | else
|
---|
363 | | fr.contentWindow[item.name];
|
---|
364 | | }" did not throw
|
---|
365 | | FAIL A SecurityError exception must be thrown when window.onkeydown is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
366 | | if (item.isMethod)
|
---|
367 | | if (item.args)
|
---|
368 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
369 | | else
|
---|
370 | | fr.contentWindow[item.name]();
|
---|
371 | | else
|
---|
372 | | fr.contentWindow[item.name];
|
---|
373 | | }" did not throw
|
---|
374 | | FAIL A SecurityError exception must be thrown when window.onkeypress is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
375 | | if (item.isMethod)
|
---|
376 | | if (item.args)
|
---|
377 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
378 | | else
|
---|
379 | | fr.contentWindow[item.name]();
|
---|
380 | | else
|
---|
381 | | fr.contentWindow[item.name];
|
---|
382 | | }" did not throw
|
---|
383 | | FAIL A SecurityError exception must be thrown when window.onkeyup is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
384 | | if (item.isMethod)
|
---|
385 | | if (item.args)
|
---|
386 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
387 | | else
|
---|
388 | | fr.contentWindow[item.name]();
|
---|
389 | | else
|
---|
390 | | fr.contentWindow[item.name];
|
---|
391 | | }" did not throw
|
---|
392 | | FAIL A SecurityError exception must be thrown when window.onload is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
393 | | if (item.isMethod)
|
---|
394 | | if (item.args)
|
---|
395 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
396 | | else
|
---|
397 | | fr.contentWindow[item.name]();
|
---|
398 | | else
|
---|
399 | | fr.contentWindow[item.name];
|
---|
400 | | }" did not throw
|
---|
401 | | FAIL A SecurityError exception must be thrown when window.onloadeddata is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
402 | | if (item.isMethod)
|
---|
403 | | if (item.args)
|
---|
404 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
405 | | else
|
---|
406 | | fr.contentWindow[item.name]();
|
---|
407 | | else
|
---|
408 | | fr.contentWindow[item.name];
|
---|
409 | | }" did not throw
|
---|
410 | | FAIL A SecurityError exception must be thrown when window.onloadedmetadata is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
411 | | if (item.isMethod)
|
---|
412 | | if (item.args)
|
---|
413 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
414 | | else
|
---|
415 | | fr.contentWindow[item.name]();
|
---|
416 | | else
|
---|
417 | | fr.contentWindow[item.name];
|
---|
418 | | }" did not throw
|
---|
419 | | FAIL A SecurityError exception must be thrown when window.onloadstart is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
420 | | if (item.isMethod)
|
---|
421 | | if (item.args)
|
---|
422 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
423 | | else
|
---|
424 | | fr.contentWindow[item.name]();
|
---|
425 | | else
|
---|
426 | | fr.contentWindow[item.name];
|
---|
427 | | }" did not throw
|
---|
428 | | FAIL A SecurityError exception must be thrown when window.onmessage is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
429 | | if (item.isMethod)
|
---|
430 | | if (item.args)
|
---|
431 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
432 | | else
|
---|
433 | | fr.contentWindow[item.name]();
|
---|
434 | | else
|
---|
435 | | fr.contentWindow[item.name];
|
---|
436 | | }" did not throw
|
---|
437 | | FAIL A SecurityError exception must be thrown when window.onmousedown is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
438 | | if (item.isMethod)
|
---|
439 | | if (item.args)
|
---|
440 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
441 | | else
|
---|
442 | | fr.contentWindow[item.name]();
|
---|
443 | | else
|
---|
444 | | fr.contentWindow[item.name];
|
---|
445 | | }" did not throw
|
---|
446 | | FAIL A SecurityError exception must be thrown when window.onmousemove is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
447 | | if (item.isMethod)
|
---|
448 | | if (item.args)
|
---|
449 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
450 | | else
|
---|
451 | | fr.contentWindow[item.name]();
|
---|
452 | | else
|
---|
453 | | fr.contentWindow[item.name];
|
---|
454 | | }" did not throw
|
---|
455 | | FAIL A SecurityError exception must be thrown when window.onmouseout is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
456 | | if (item.isMethod)
|
---|
457 | | if (item.args)
|
---|
458 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
459 | | else
|
---|
460 | | fr.contentWindow[item.name]();
|
---|
461 | | else
|
---|
462 | | fr.contentWindow[item.name];
|
---|
463 | | }" did not throw
|
---|
464 | | FAIL A SecurityError exception must be thrown when window.onmouseover is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
465 | | if (item.isMethod)
|
---|
466 | | if (item.args)
|
---|
467 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
468 | | else
|
---|
469 | | fr.contentWindow[item.name]();
|
---|
470 | | else
|
---|
471 | | fr.contentWindow[item.name];
|
---|
472 | | }" did not throw
|
---|
473 | | FAIL A SecurityError exception must be thrown when window.onmouseup is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
474 | | if (item.isMethod)
|
---|
475 | | if (item.args)
|
---|
476 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
477 | | else
|
---|
478 | | fr.contentWindow[item.name]();
|
---|
479 | | else
|
---|
480 | | fr.contentWindow[item.name];
|
---|
481 | | }" did not throw
|
---|
482 | | FAIL A SecurityError exception must be thrown when window.onmousewheel is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
483 | | if (item.isMethod)
|
---|
484 | | if (item.args)
|
---|
485 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
486 | | else
|
---|
487 | | fr.contentWindow[item.name]();
|
---|
488 | | else
|
---|
489 | | fr.contentWindow[item.name];
|
---|
490 | | }" did not throw
|
---|
491 | | FAIL A SecurityError exception must be thrown when window.onoffline is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
492 | | if (item.isMethod)
|
---|
493 | | if (item.args)
|
---|
494 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
495 | | else
|
---|
496 | | fr.contentWindow[item.name]();
|
---|
497 | | else
|
---|
498 | | fr.contentWindow[item.name];
|
---|
499 | | }" did not throw
|
---|
500 | | FAIL A SecurityError exception must be thrown when window.ononline is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
501 | | if (item.isMethod)
|
---|
502 | | if (item.args)
|
---|
503 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
504 | | else
|
---|
505 | | fr.contentWindow[item.name]();
|
---|
506 | | else
|
---|
507 | | fr.contentWindow[item.name];
|
---|
508 | | }" did not throw
|
---|
509 | | FAIL A SecurityError exception must be thrown when window.onpause is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
510 | | if (item.isMethod)
|
---|
511 | | if (item.args)
|
---|
512 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
513 | | else
|
---|
514 | | fr.contentWindow[item.name]();
|
---|
515 | | else
|
---|
516 | | fr.contentWindow[item.name];
|
---|
517 | | }" did not throw
|
---|
518 | | FAIL A SecurityError exception must be thrown when window.onplay is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
519 | | if (item.isMethod)
|
---|
520 | | if (item.args)
|
---|
521 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
522 | | else
|
---|
523 | | fr.contentWindow[item.name]();
|
---|
524 | | else
|
---|
525 | | fr.contentWindow[item.name];
|
---|
526 | | }" did not throw
|
---|
527 | | FAIL A SecurityError exception must be thrown when window.onplaying is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
528 | | if (item.isMethod)
|
---|
529 | | if (item.args)
|
---|
530 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
531 | | else
|
---|
532 | | fr.contentWindow[item.name]();
|
---|
533 | | else
|
---|
534 | | fr.contentWindow[item.name];
|
---|
535 | | }" did not throw
|
---|
536 | | FAIL A SecurityError exception must be thrown when window.onpagehide is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
537 | | if (item.isMethod)
|
---|
538 | | if (item.args)
|
---|
539 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
540 | | else
|
---|
541 | | fr.contentWindow[item.name]();
|
---|
542 | | else
|
---|
543 | | fr.contentWindow[item.name];
|
---|
544 | | }" did not throw
|
---|
545 | | FAIL A SecurityError exception must be thrown when window.onpageshow is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
546 | | if (item.isMethod)
|
---|
547 | | if (item.args)
|
---|
548 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
549 | | else
|
---|
550 | | fr.contentWindow[item.name]();
|
---|
551 | | else
|
---|
552 | | fr.contentWindow[item.name];
|
---|
553 | | }" did not throw
|
---|
554 | | FAIL A SecurityError exception must be thrown when window.onpopstate is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
555 | | if (item.isMethod)
|
---|
556 | | if (item.args)
|
---|
557 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
558 | | else
|
---|
559 | | fr.contentWindow[item.name]();
|
---|
560 | | else
|
---|
561 | | fr.contentWindow[item.name];
|
---|
562 | | }" did not throw
|
---|
563 | | FAIL A SecurityError exception must be thrown when window.onprogress is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
564 | | if (item.isMethod)
|
---|
565 | | if (item.args)
|
---|
566 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
567 | | else
|
---|
568 | | fr.contentWindow[item.name]();
|
---|
569 | | else
|
---|
570 | | fr.contentWindow[item.name];
|
---|
571 | | }" did not throw
|
---|
572 | | FAIL A SecurityError exception must be thrown when window.onratechange is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
573 | | if (item.isMethod)
|
---|
574 | | if (item.args)
|
---|
575 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
576 | | else
|
---|
577 | | fr.contentWindow[item.name]();
|
---|
578 | | else
|
---|
579 | | fr.contentWindow[item.name];
|
---|
580 | | }" did not throw
|
---|
581 | | FAIL A SecurityError exception must be thrown when window.onreset is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
582 | | if (item.isMethod)
|
---|
583 | | if (item.args)
|
---|
584 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
585 | | else
|
---|
586 | | fr.contentWindow[item.name]();
|
---|
587 | | else
|
---|
588 | | fr.contentWindow[item.name];
|
---|
589 | | }" did not throw
|
---|
590 | | FAIL A SecurityError exception must be thrown when window.onresize is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
591 | | if (item.isMethod)
|
---|
592 | | if (item.args)
|
---|
593 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
594 | | else
|
---|
595 | | fr.contentWindow[item.name]();
|
---|
596 | | else
|
---|
597 | | fr.contentWindow[item.name];
|
---|
598 | | }" did not throw
|
---|
599 | | FAIL A SecurityError exception must be thrown when window.onscroll is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
600 | | if (item.isMethod)
|
---|
601 | | if (item.args)
|
---|
602 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
603 | | else
|
---|
604 | | fr.contentWindow[item.name]();
|
---|
605 | | else
|
---|
606 | | fr.contentWindow[item.name];
|
---|
607 | | }" did not throw
|
---|
608 | | FAIL A SecurityError exception must be thrown when window.onseeked is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
609 | | if (item.isMethod)
|
---|
610 | | if (item.args)
|
---|
611 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
612 | | else
|
---|
613 | | fr.contentWindow[item.name]();
|
---|
614 | | else
|
---|
615 | | fr.contentWindow[item.name];
|
---|
616 | | }" did not throw
|
---|
617 | | FAIL A SecurityError exception must be thrown when window.onseeking is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
618 | | if (item.isMethod)
|
---|
619 | | if (item.args)
|
---|
620 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
621 | | else
|
---|
622 | | fr.contentWindow[item.name]();
|
---|
623 | | else
|
---|
624 | | fr.contentWindow[item.name];
|
---|
625 | | }" did not throw
|
---|
626 | | FAIL A SecurityError exception must be thrown when window.onselect is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
627 | | if (item.isMethod)
|
---|
628 | | if (item.args)
|
---|
629 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
630 | | else
|
---|
631 | | fr.contentWindow[item.name]();
|
---|
632 | | else
|
---|
633 | | fr.contentWindow[item.name];
|
---|
634 | | }" did not throw
|
---|
635 | | FAIL A SecurityError exception must be thrown when window.onshow is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
636 | | if (item.isMethod)
|
---|
637 | | if (item.args)
|
---|
638 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
639 | | else
|
---|
640 | | fr.contentWindow[item.name]();
|
---|
641 | | else
|
---|
642 | | fr.contentWindow[item.name];
|
---|
643 | | }" did not throw
|
---|
644 | | FAIL A SecurityError exception must be thrown when window.onstalled is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
645 | | if (item.isMethod)
|
---|
646 | | if (item.args)
|
---|
647 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
648 | | else
|
---|
649 | | fr.contentWindow[item.name]();
|
---|
650 | | else
|
---|
651 | | fr.contentWindow[item.name];
|
---|
652 | | }" did not throw
|
---|
653 | | FAIL A SecurityError exception must be thrown when window.onstorage is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
654 | | if (item.isMethod)
|
---|
655 | | if (item.args)
|
---|
656 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
657 | | else
|
---|
658 | | fr.contentWindow[item.name]();
|
---|
659 | | else
|
---|
660 | | fr.contentWindow[item.name];
|
---|
661 | | }" did not throw
|
---|
662 | | FAIL A SecurityError exception must be thrown when window.onsubmit is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
663 | | if (item.isMethod)
|
---|
664 | | if (item.args)
|
---|
665 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
666 | | else
|
---|
667 | | fr.contentWindow[item.name]();
|
---|
668 | | else
|
---|
669 | | fr.contentWindow[item.name];
|
---|
670 | | }" did not throw
|
---|
671 | | FAIL A SecurityError exception must be thrown when window.onsuspend is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
672 | | if (item.isMethod)
|
---|
673 | | if (item.args)
|
---|
674 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
675 | | else
|
---|
676 | | fr.contentWindow[item.name]();
|
---|
677 | | else
|
---|
678 | | fr.contentWindow[item.name];
|
---|
679 | | }" did not throw
|
---|
680 | | FAIL A SecurityError exception must be thrown when window.ontimeupdate is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
681 | | if (item.isMethod)
|
---|
682 | | if (item.args)
|
---|
683 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
684 | | else
|
---|
685 | | fr.contentWindow[item.name]();
|
---|
686 | | else
|
---|
687 | | fr.contentWindow[item.name];
|
---|
688 | | }" did not throw
|
---|
689 | | FAIL A SecurityError exception must be thrown when window.onunload is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
690 | | if (item.isMethod)
|
---|
691 | | if (item.args)
|
---|
692 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
693 | | else
|
---|
694 | | fr.contentWindow[item.name]();
|
---|
695 | | else
|
---|
696 | | fr.contentWindow[item.name];
|
---|
697 | | }" did not throw
|
---|
698 | | FAIL A SecurityError exception must be thrown when window.onvolumechange is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
699 | | if (item.isMethod)
|
---|
700 | | if (item.args)
|
---|
701 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
702 | | else
|
---|
703 | | fr.contentWindow[item.name]();
|
---|
704 | | else
|
---|
705 | | fr.contentWindow[item.name];
|
---|
706 | | }" did not throw
|
---|
707 | | FAIL A SecurityError exception must be thrown when window.onwaiting is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
708 | | if (item.isMethod)
|
---|
709 | | if (item.args)
|
---|
710 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
711 | | else
|
---|
712 | | fr.contentWindow[item.name]();
|
---|
713 | | else
|
---|
714 | | fr.contentWindow[item.name];
|
---|
715 | | }" did not throw
|
---|
716 | | FAIL A SecurityError exception must be thrown when window.pageXOffset is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
717 | | if (item.isMethod)
|
---|
718 | | if (item.args)
|
---|
719 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
720 | | else
|
---|
721 | | fr.contentWindow[item.name]();
|
---|
722 | | else
|
---|
723 | | fr.contentWindow[item.name];
|
---|
724 | | }" did not throw
|
---|
725 | | FAIL A SecurityError exception must be thrown when window.pageYOffset is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
726 | | if (item.isMethod)
|
---|
727 | | if (item.args)
|
---|
728 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
729 | | else
|
---|
730 | | fr.contentWindow[item.name]();
|
---|
731 | | else
|
---|
732 | | fr.contentWindow[item.name];
|
---|
733 | | }" did not throw
|
---|
734 | | FAIL A SecurityError exception must be thrown when window.personalbar is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
735 | | if (item.isMethod)
|
---|
736 | | if (item.args)
|
---|
737 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
738 | | else
|
---|
739 | | fr.contentWindow[item.name]();
|
---|
740 | | else
|
---|
741 | | fr.contentWindow[item.name];
|
---|
742 | | }" did not throw
|
---|
743 | | FAIL A SecurityError exception must be thrown when window.screen is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
744 | | if (item.isMethod)
|
---|
745 | | if (item.args)
|
---|
746 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
747 | | else
|
---|
748 | | fr.contentWindow[item.name]();
|
---|
749 | | else
|
---|
750 | | fr.contentWindow[item.name];
|
---|
751 | | }" did not throw
|
---|
752 | | FAIL A SecurityError exception must be thrown when window.scrollbars is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
753 | | if (item.isMethod)
|
---|
754 | | if (item.args)
|
---|
755 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
756 | | else
|
---|
757 | | fr.contentWindow[item.name]();
|
---|
758 | | else
|
---|
759 | | fr.contentWindow[item.name];
|
---|
760 | | }" did not throw
|
---|
761 | | FAIL A SecurityError exception must be thrown when window.statusbar is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
762 | | if (item.isMethod)
|
---|
763 | | if (item.args)
|
---|
764 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
765 | | else
|
---|
766 | | fr.contentWindow[item.name]();
|
---|
767 | | else
|
---|
768 | | fr.contentWindow[item.name];
|
---|
769 | | }" did not throw
|
---|
770 | | FAIL A SecurityError exception must be thrown when window.status is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
771 | | if (item.isMethod)
|
---|
772 | | if (item.args)
|
---|
773 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
774 | | else
|
---|
775 | | fr.contentWindow[item.name]();
|
---|
776 | | else
|
---|
777 | | fr.contentWindow[item.name];
|
---|
778 | | }" did not throw
|
---|
779 | | FAIL A SecurityError exception must be thrown when window.screenX is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
780 | | if (item.isMethod)
|
---|
781 | | if (item.args)
|
---|
782 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
783 | | else
|
---|
784 | | fr.contentWindow[item.name]();
|
---|
785 | | else
|
---|
786 | | fr.contentWindow[item.name];
|
---|
787 | | }" did not throw
|
---|
788 | | FAIL A SecurityError exception must be thrown when window.screenY is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
789 | | if (item.isMethod)
|
---|
790 | | if (item.args)
|
---|
791 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
792 | | else
|
---|
793 | | fr.contentWindow[item.name]();
|
---|
794 | | else
|
---|
795 | | fr.contentWindow[item.name];
|
---|
796 | | }" did not throw
|
---|
797 | | FAIL A SecurityError exception must be thrown when window.sessionStorage is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
798 | | if (item.isMethod)
|
---|
799 | | if (item.args)
|
---|
800 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
801 | | else
|
---|
802 | | fr.contentWindow[item.name]();
|
---|
803 | | else
|
---|
804 | | fr.contentWindow[item.name];
|
---|
805 | | }" did not throw
|
---|
806 | | FAIL A SecurityError exception must be thrown when window.toolbar is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
807 | | if (item.isMethod)
|
---|
808 | | if (item.args)
|
---|
809 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
810 | | else
|
---|
811 | | fr.contentWindow[item.name]();
|
---|
812 | | else
|
---|
813 | | fr.contentWindow[item.name];
|
---|
814 | | }" did not throw
|
---|
815 | | FAIL A SecurityError exception must be thrown when window.alert is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
816 | | if (item.isMethod)
|
---|
817 | | if (item.args)
|
---|
818 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
819 | | else
|
---|
820 | | fr.contentWindow[item.name]();
|
---|
821 | | else
|
---|
822 | | fr.contentWindow[item.name];
|
---|
823 | | }" did not throw
|
---|
824 | | FAIL A SecurityError exception must be thrown when window.clearInterval is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
825 | | if (item.isMethod)
|
---|
826 | | if (item.args)
|
---|
827 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
828 | | else
|
---|
829 | | fr.contentWindow[item.name]();
|
---|
830 | | else
|
---|
831 | | fr.contentWindow[item.name];
|
---|
832 | | }" did not throw
|
---|
833 | | FAIL A SecurityError exception must be thrown when window.clearTimeout is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
834 | | if (item.isMethod)
|
---|
835 | | if (item.args)
|
---|
836 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
837 | | else
|
---|
838 | | fr.contentWindow[item.name]();
|
---|
839 | | else
|
---|
840 | | fr.contentWindow[item.name];
|
---|
841 | | }" did not throw
|
---|
842 | | FAIL A SecurityError exception must be thrown when window.confirm is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
843 | | if (item.isMethod)
|
---|
844 | | if (item.args)
|
---|
845 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
846 | | else
|
---|
847 | | fr.contentWindow[item.name]();
|
---|
848 | | else
|
---|
849 | | fr.contentWindow[item.name];
|
---|
850 | | }" did not throw
|
---|
851 | | FAIL A SecurityError exception must be thrown when window.getComputedStyle is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
852 | | if (item.isMethod)
|
---|
853 | | if (item.args)
|
---|
854 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
855 | | else
|
---|
856 | | fr.contentWindow[item.name]();
|
---|
857 | | else
|
---|
858 | | fr.contentWindow[item.name];
|
---|
859 | | }" did not throw
|
---|
860 | | FAIL A SecurityError exception must be thrown when window.getSelection is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
861 | | if (item.isMethod)
|
---|
862 | | if (item.args)
|
---|
863 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
864 | | else
|
---|
865 | | fr.contentWindow[item.name]();
|
---|
866 | | else
|
---|
867 | | fr.contentWindow[item.name];
|
---|
868 | | }" did not throw
|
---|
869 | | FAIL A SecurityError exception must be thrown when window.matchMedia is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
870 | | if (item.isMethod)
|
---|
871 | | if (item.args)
|
---|
872 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
873 | | else
|
---|
874 | | fr.contentWindow[item.name]();
|
---|
875 | | else
|
---|
876 | | fr.contentWindow[item.name];
|
---|
877 | | }" did not throw
|
---|
878 | | FAIL A SecurityError exception must be thrown when window.moveBy is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
879 | | if (item.isMethod)
|
---|
880 | | if (item.args)
|
---|
881 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
882 | | else
|
---|
883 | | fr.contentWindow[item.name]();
|
---|
884 | | else
|
---|
885 | | fr.contentWindow[item.name];
|
---|
886 | | }" did not throw
|
---|
887 | | FAIL A SecurityError exception must be thrown when window.moveTo is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
888 | | if (item.isMethod)
|
---|
889 | | if (item.args)
|
---|
890 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
891 | | else
|
---|
892 | | fr.contentWindow[item.name]();
|
---|
893 | | else
|
---|
894 | | fr.contentWindow[item.name];
|
---|
895 | | }" did not throw
|
---|
896 | | FAIL A SecurityError exception must be thrown when window.open is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
897 | | if (item.isMethod)
|
---|
898 | | if (item.args)
|
---|
899 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
900 | | else
|
---|
901 | | fr.contentWindow[item.name]();
|
---|
902 | | else
|
---|
903 | | fr.contentWindow[item.name];
|
---|
904 | | }" did not throw
|
---|
905 | | FAIL A SecurityError exception must be thrown when window.print is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
906 | | if (item.isMethod)
|
---|
907 | | if (item.args)
|
---|
908 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
909 | | else
|
---|
910 | | fr.contentWindow[item.name]();
|
---|
911 | | else
|
---|
912 | | fr.contentWindow[item.name];
|
---|
913 | | }" did not throw
|
---|
914 | | FAIL A SecurityError exception must be thrown when window.prompt is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
915 | | if (item.isMethod)
|
---|
916 | | if (item.args)
|
---|
917 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
918 | | else
|
---|
919 | | fr.contentWindow[item.name]();
|
---|
920 | | else
|
---|
921 | | fr.contentWindow[item.name];
|
---|
922 | | }" did not throw
|
---|
923 | | FAIL A SecurityError exception must be thrown when window.resizeTo is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
924 | | if (item.isMethod)
|
---|
925 | | if (item.args)
|
---|
926 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
927 | | else
|
---|
928 | | fr.contentWindow[item.name]();
|
---|
929 | | else
|
---|
930 | | fr.contentWindow[item.name];
|
---|
931 | | }" did not throw
|
---|
932 | | FAIL A SecurityError exception must be thrown when window.resizeBy is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
933 | | if (item.isMethod)
|
---|
934 | | if (item.args)
|
---|
935 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
936 | | else
|
---|
937 | | fr.contentWindow[item.name]();
|
---|
938 | | else
|
---|
939 | | fr.contentWindow[item.name];
|
---|
940 | | }" did not throw
|
---|
941 | | FAIL A SecurityError exception must be thrown when window.scroll is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
942 | | if (item.isMethod)
|
---|
943 | | if (item.args)
|
---|
944 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
945 | | else
|
---|
946 | | fr.contentWindow[item.name]();
|
---|
947 | | else
|
---|
948 | | fr.contentWindow[item.name];
|
---|
949 | | }" did not throw
|
---|
950 | | FAIL A SecurityError exception must be thrown when window.scrollTo is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
951 | | if (item.isMethod)
|
---|
952 | | if (item.args)
|
---|
953 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
954 | | else
|
---|
955 | | fr.contentWindow[item.name]();
|
---|
956 | | else
|
---|
957 | | fr.contentWindow[item.name];
|
---|
958 | | }" did not throw
|
---|
959 | | FAIL A SecurityError exception must be thrown when window.scrollBy is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
960 | | if (item.isMethod)
|
---|
961 | | if (item.args)
|
---|
962 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
963 | | else
|
---|
964 | | fr.contentWindow[item.name]();
|
---|
965 | | else
|
---|
966 | | fr.contentWindow[item.name];
|
---|
967 | | }" did not throw
|
---|
968 | | FAIL A SecurityError exception must be thrown when window.setInterval is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
969 | | if (item.isMethod)
|
---|
970 | | if (item.args)
|
---|
971 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
972 | | else
|
---|
973 | | fr.contentWindow[item.name]();
|
---|
974 | | else
|
---|
975 | | fr.contentWindow[item.name];
|
---|
976 | | }" did not throw
|
---|
977 | | FAIL A SecurityError exception must be thrown when window.setTimeout is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
978 | | if (item.isMethod)
|
---|
979 | | if (item.args)
|
---|
980 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
981 | | else
|
---|
982 | | fr.contentWindow[item.name]();
|
---|
983 | | else
|
---|
984 | | fr.contentWindow[item.name];
|
---|
985 | | }" did not throw
|
---|
986 | | FAIL A SecurityError exception must be thrown when window.showModalDialog is accessed from a different origin. assert_true: window.showModalDialog should exist. expected true got false
|
---|
987 | | FAIL A SecurityError exception must be thrown when window.stop is accessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () {
|
---|
988 | | if (item.isMethod)
|
---|
989 | | if (item.args)
|
---|
990 | | fr.contentWindow[item.name](item.args[0], item.args[1]);
|
---|
991 | | else
|
---|
992 | | fr.contentWindow[item.name]();
|
---|
993 | | else
|
---|
994 | | fr.contentWindow[item.name];
|
---|
995 | | }" did not throw
|
---|
| 4 | PASS A SecurityError exception must be thrown when window.applicationCache is accessed from a different origin.
|
---|
| 5 | PASS A SecurityError exception must be thrown when window.devicePixelRatio is accessed from a different origin.
|
---|
| 6 | PASS A SecurityError exception must be thrown when window.document is accessed from a different origin.
|
---|
| 7 | PASS A SecurityError exception must be thrown when window.external is accessed from a different origin.
|
---|
| 8 | PASS A SecurityError exception must be thrown when window.frameElement is accessed from a different origin.
|
---|
| 9 | PASS A SecurityError exception must be thrown when window.history is accessed from a different origin.
|
---|
| 10 | PASS A SecurityError exception must be thrown when window.innerWidth is accessed from a different origin.
|
---|
| 11 | PASS A SecurityError exception must be thrown when window.innerHeight is accessed from a different origin.
|
---|
| 12 | PASS A SecurityError exception must be thrown when window.locationbar is accessed from a different origin.
|
---|
| 13 | PASS A SecurityError exception must be thrown when window.localStorage is accessed from a different origin.
|
---|
| 14 | PASS A SecurityError exception must be thrown when window.menubar is accessed from a different origin.
|
---|
| 15 | PASS A SecurityError exception must be thrown when window.name is accessed from a different origin.
|
---|
| 16 | PASS A SecurityError exception must be thrown when window.navigator is accessed from a different origin.
|
---|
| 17 | PASS A SecurityError exception must be thrown when window.onabort is accessed from a different origin.
|
---|
| 18 | PASS A SecurityError exception must be thrown when window.onafterprint is accessed from a different origin.
|
---|
| 19 | PASS A SecurityError exception must be thrown when window.onbeforeprint is accessed from a different origin.
|
---|
| 20 | PASS A SecurityError exception must be thrown when window.onbeforeunload is accessed from a different origin.
|
---|
| 21 | PASS A SecurityError exception must be thrown when window.onblur is accessed from a different origin.
|
---|
| 22 | PASS A SecurityError exception must be thrown when window.oncancel is accessed from a different origin.
|
---|
| 23 | PASS A SecurityError exception must be thrown when window.oncanplay is accessed from a different origin.
|
---|
| 24 | PASS A SecurityError exception must be thrown when window.oncanplaythrough is accessed from a different origin.
|
---|
| 25 | PASS A SecurityError exception must be thrown when window.onchange is accessed from a different origin.
|
---|
| 26 | PASS A SecurityError exception must be thrown when window.onclick is accessed from a different origin.
|
---|
| 27 | PASS A SecurityError exception must be thrown when window.onclose is accessed from a different origin.
|
---|
| 28 | PASS A SecurityError exception must be thrown when window.oncontextmenu is accessed from a different origin.
|
---|
| 29 | PASS A SecurityError exception must be thrown when window.oncuechange is accessed from a different origin.
|
---|
| 30 | PASS A SecurityError exception must be thrown when window.ondblclick is accessed from a different origin.
|
---|
| 31 | PASS A SecurityError exception must be thrown when window.ondrag is accessed from a different origin.
|
---|
| 32 | PASS A SecurityError exception must be thrown when window.ondragend is accessed from a different origin.
|
---|
| 33 | PASS A SecurityError exception must be thrown when window.ondragenter is accessed from a different origin.
|
---|
| 34 | PASS A SecurityError exception must be thrown when window.ondragleave is accessed from a different origin.
|
---|
| 35 | PASS A SecurityError exception must be thrown when window.ondragover is accessed from a different origin.
|
---|
| 36 | PASS A SecurityError exception must be thrown when window.ondragstart is accessed from a different origin.
|
---|
| 37 | PASS A SecurityError exception must be thrown when window.ondrop is accessed from a different origin.
|
---|
| 38 | PASS A SecurityError exception must be thrown when window.ondurationchange is accessed from a different origin.
|
---|
| 39 | PASS A SecurityError exception must be thrown when window.onemptied is accessed from a different origin.
|
---|
| 40 | PASS A SecurityError exception must be thrown when window.onended is accessed from a different origin.
|
---|
| 41 | PASS A SecurityError exception must be thrown when window.onerror is accessed from a different origin.
|
---|
| 42 | PASS A SecurityError exception must be thrown when window.onfocus is accessed from a different origin.
|
---|
| 43 | PASS A SecurityError exception must be thrown when window.onhashchange is accessed from a different origin.
|
---|
| 44 | PASS A SecurityError exception must be thrown when window.oninput is accessed from a different origin.
|
---|
| 45 | PASS A SecurityError exception must be thrown when window.oninvalid is accessed from a different origin.
|
---|
| 46 | PASS A SecurityError exception must be thrown when window.onkeydown is accessed from a different origin.
|
---|
| 47 | PASS A SecurityError exception must be thrown when window.onkeypress is accessed from a different origin.
|
---|
| 48 | PASS A SecurityError exception must be thrown when window.onkeyup is accessed from a different origin.
|
---|
| 49 | PASS A SecurityError exception must be thrown when window.onload is accessed from a different origin.
|
---|
| 50 | PASS A SecurityError exception must be thrown when window.onloadeddata is accessed from a different origin.
|
---|
| 51 | PASS A SecurityError exception must be thrown when window.onloadedmetadata is accessed from a different origin.
|
---|
| 52 | PASS A SecurityError exception must be thrown when window.onloadstart is accessed from a different origin.
|
---|
| 53 | PASS A SecurityError exception must be thrown when window.onmessage is accessed from a different origin.
|
---|
| 54 | PASS A SecurityError exception must be thrown when window.onmousedown is accessed from a different origin.
|
---|
| 55 | PASS A SecurityError exception must be thrown when window.onmousemove is accessed from a different origin.
|
---|
| 56 | PASS A SecurityError exception must be thrown when window.onmouseout is accessed from a different origin.
|
---|
| 57 | PASS A SecurityError exception must be thrown when window.onmouseover is accessed from a different origin.
|
---|
| 58 | PASS A SecurityError exception must be thrown when window.onmouseup is accessed from a different origin.
|
---|
| 59 | PASS A SecurityError exception must be thrown when window.onmousewheel is accessed from a different origin.
|
---|
| 60 | PASS A SecurityError exception must be thrown when window.onoffline is accessed from a different origin.
|
---|
| 61 | PASS A SecurityError exception must be thrown when window.ononline is accessed from a different origin.
|
---|
| 62 | PASS A SecurityError exception must be thrown when window.onpause is accessed from a different origin.
|
---|
| 63 | PASS A SecurityError exception must be thrown when window.onplay is accessed from a different origin.
|
---|
| 64 | PASS A SecurityError exception must be thrown when window.onplaying is accessed from a different origin.
|
---|
| 65 | PASS A SecurityError exception must be thrown when window.onpagehide is accessed from a different origin.
|
---|
| 66 | PASS A SecurityError exception must be thrown when window.onpageshow is accessed from a different origin.
|
---|
| 67 | PASS A SecurityError exception must be thrown when window.onpopstate is accessed from a different origin.
|
---|
| 68 | PASS A SecurityError exception must be thrown when window.onprogress is accessed from a different origin.
|
---|
| 69 | PASS A SecurityError exception must be thrown when window.onratechange is accessed from a different origin.
|
---|
| 70 | PASS A SecurityError exception must be thrown when window.onreset is accessed from a different origin.
|
---|
| 71 | PASS A SecurityError exception must be thrown when window.onresize is accessed from a different origin.
|
---|
| 72 | PASS A SecurityError exception must be thrown when window.onscroll is accessed from a different origin.
|
---|
| 73 | PASS A SecurityError exception must be thrown when window.onseeked is accessed from a different origin.
|
---|
| 74 | PASS A SecurityError exception must be thrown when window.onseeking is accessed from a different origin.
|
---|
| 75 | PASS A SecurityError exception must be thrown when window.onselect is accessed from a different origin.
|
---|
| 76 | FAIL A SecurityError exception must be thrown when window.onshow is accessed from a different origin. assert_true: window.onshow should exist. expected true got false
|
---|
| 77 | PASS A SecurityError exception must be thrown when window.onstalled is accessed from a different origin.
|
---|
| 78 | PASS A SecurityError exception must be thrown when window.onstorage is accessed from a different origin.
|
---|
| 79 | PASS A SecurityError exception must be thrown when window.onsubmit is accessed from a different origin.
|
---|
| 80 | PASS A SecurityError exception must be thrown when window.onsuspend is accessed from a different origin.
|
---|
| 81 | PASS A SecurityError exception must be thrown when window.ontimeupdate is accessed from a different origin.
|
---|
| 82 | PASS A SecurityError exception must be thrown when window.onunload is accessed from a different origin.
|
---|
| 83 | PASS A SecurityError exception must be thrown when window.onvolumechange is accessed from a different origin.
|
---|
| 84 | PASS A SecurityError exception must be thrown when window.onwaiting is accessed from a different origin.
|
---|
| 85 | PASS A SecurityError exception must be thrown when window.pageXOffset is accessed from a different origin.
|
---|
| 86 | PASS A SecurityError exception must be thrown when window.pageYOffset is accessed from a different origin.
|
---|
| 87 | PASS A SecurityError exception must be thrown when window.personalbar is accessed from a different origin.
|
---|
| 88 | PASS A SecurityError exception must be thrown when window.screen is accessed from a different origin.
|
---|
| 89 | PASS A SecurityError exception must be thrown when window.scrollbars is accessed from a different origin.
|
---|
| 90 | PASS A SecurityError exception must be thrown when window.statusbar is accessed from a different origin.
|
---|
| 91 | PASS A SecurityError exception must be thrown when window.status is accessed from a different origin.
|
---|
| 92 | PASS A SecurityError exception must be thrown when window.screenX is accessed from a different origin.
|
---|
| 93 | PASS A SecurityError exception must be thrown when window.screenY is accessed from a different origin.
|
---|
| 94 | PASS A SecurityError exception must be thrown when window.sessionStorage is accessed from a different origin.
|
---|
| 95 | PASS A SecurityError exception must be thrown when window.toolbar is accessed from a different origin.
|
---|
| 96 | PASS A SecurityError exception must be thrown when window.alert is accessed from a different origin.
|
---|
| 97 | PASS A SecurityError exception must be thrown when window.clearInterval is accessed from a different origin.
|
---|
| 98 | PASS A SecurityError exception must be thrown when window.clearTimeout is accessed from a different origin.
|
---|
| 99 | PASS A SecurityError exception must be thrown when window.confirm is accessed from a different origin.
|
---|
| 100 | PASS A SecurityError exception must be thrown when window.getComputedStyle is accessed from a different origin.
|
---|
| 101 | PASS A SecurityError exception must be thrown when window.getSelection is accessed from a different origin.
|
---|
| 102 | PASS A SecurityError exception must be thrown when window.matchMedia is accessed from a different origin.
|
---|
| 103 | PASS A SecurityError exception must be thrown when window.moveBy is accessed from a different origin.
|
---|
| 104 | PASS A SecurityError exception must be thrown when window.moveTo is accessed from a different origin.
|
---|
| 105 | PASS A SecurityError exception must be thrown when window.open is accessed from a different origin.
|
---|
| 106 | PASS A SecurityError exception must be thrown when window.print is accessed from a different origin.
|
---|
| 107 | PASS A SecurityError exception must be thrown when window.prompt is accessed from a different origin.
|
---|
| 108 | PASS A SecurityError exception must be thrown when window.resizeTo is accessed from a different origin.
|
---|
| 109 | PASS A SecurityError exception must be thrown when window.resizeBy is accessed from a different origin.
|
---|
| 110 | PASS A SecurityError exception must be thrown when window.scroll is accessed from a different origin.
|
---|
| 111 | PASS A SecurityError exception must be thrown when window.scrollTo is accessed from a different origin.
|
---|
| 112 | PASS A SecurityError exception must be thrown when window.scrollBy is accessed from a different origin.
|
---|
| 113 | PASS A SecurityError exception must be thrown when window.setInterval is accessed from a different origin.
|
---|
| 114 | PASS A SecurityError exception must be thrown when window.setTimeout is accessed from a different origin.
|
---|
| 115 | PASS A SecurityError exception must be thrown when window.stop is accessed from a different origin.
|
---|
996 | 116 | PASS A SecurityError exception should not be thrown when window.closed is accessed from a different origin.
|
---|
997 | 117 | PASS A SecurityError exception should not be thrown when window.frames is accessed from a different origin.
|
---|
998 | 118 | PASS A SecurityError exception should not be thrown when window.length is accessed from a different origin.
|
---|
|