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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/html/browsers/the-window-object/security-window/window-security-expected.txt

Issue 2653523003: Make DOMSelection cache Range (Closed)
Patch Set: update Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 This is a testharness.js-based test. 1 This is a testharness.js-based test.
2 PASS Window Security testing 2 PASS Window Security testing
3 FAIL A SecurityError exception must be thrown when window.applicationCache is ac cessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () { 3 PASS A SecurityError exception must be thrown when window.applicationCache is ac cessed from a different origin.
4 if (item.isMethod) 4 PASS A SecurityError exception must be thrown when window.devicePixelRatio is ac cessed from a different origin.
5 if (item.args) 5 PASS A SecurityError exception must be thrown when window.document is accessed f rom a different origin.
6 fr.contentWindow[item.name](item.args[0], item.args[1]); 6 PASS A SecurityError exception must be thrown when window.external is accessed f rom a different origin.
7 else 7 PASS A SecurityError exception must be thrown when window.frameElement is access ed from a different origin.
8 fr.contentWindow[item.name](); 8 PASS A SecurityError exception must be thrown when window.history is accessed fr om a different origin.
9 else 9 PASS A SecurityError exception must be thrown when window.innerWidth is accessed from a different origin.
10 fr.contentWindow[item.name]; 10 PASS A SecurityError exception must be thrown when window.innerHeight is accesse d from a different origin.
11 }" did not throw 11 PASS A SecurityError exception must be thrown when window.locationbar is accesse d from a different origin.
12 FAIL A SecurityError exception must be thrown when window.devicePixelRatio is ac cessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () { 12 PASS A SecurityError exception must be thrown when window.localStorage is access ed from a different origin.
13 if (item.isMethod) 13 PASS A SecurityError exception must be thrown when window.menubar is accessed fr om a different origin.
14 if (item.args) 14 PASS A SecurityError exception must be thrown when window.name is accessed from a different origin.
15 fr.contentWindow[item.name](item.args[0], item.args[1]); 15 PASS A SecurityError exception must be thrown when window.navigator is accessed from a different origin.
16 else 16 PASS A SecurityError exception must be thrown when window.onabort is accessed fr om a different origin.
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 f rom a different origin. assert_throws: A SecurityError exception should be throw n. 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 f rom a different origin. assert_throws: A SecurityError exception should be throw n. 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 access ed from a different origin. assert_throws: A SecurityError exception should be t hrown. 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 fr om 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 thr own. 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 accesse d from a different origin. assert_throws: A SecurityError exception should be th rown. 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 accesse d from a different origin. assert_throws: A SecurityError exception should be th rown. 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 access ed from a different origin. assert_throws: A SecurityError exception should be t hrown. 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 fr om 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. f unction "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 thro wn. 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 fr om 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 access ed from a different origin. assert_true: window.onafterprint should exist. expec ted true got false 17 FAIL A SecurityError exception must be thrown when window.onafterprint is access ed from a different origin. assert_true: window.onafterprint should exist. expec ted true got false
130 FAIL A SecurityError exception must be thrown when window.onbeforeprint is acces sed from a different origin. assert_true: window.onbeforeprint should exist. exp ected true got false 18 FAIL A SecurityError exception must be thrown when window.onbeforeprint is acces sed from a different origin. assert_true: window.onbeforeprint should exist. exp ected true got false
131 FAIL A SecurityError exception must be thrown when window.onbeforeunload is acce ssed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () { 19 PASS A SecurityError exception must be thrown when window.onbeforeunload is acce ssed from a different origin.
132 if (item.isMethod) 20 PASS A SecurityError exception must be thrown when window.onblur is accessed fro m a different origin.
133 if (item.args) 21 PASS A SecurityError exception must be thrown when window.oncancel is accessed f rom a different origin.
134 fr.contentWindow[item.name](item.args[0], item.args[1]); 22 PASS A SecurityError exception must be thrown when window.oncanplay is accessed from a different origin.
135 else 23 PASS A SecurityError exception must be thrown when window.oncanplaythrough is ac cessed from a different origin.
136 fr.contentWindow[item.name](); 24 PASS A SecurityError exception must be thrown when window.onchange is accessed f rom a different origin.
137 else 25 PASS A SecurityError exception must be thrown when window.onclick is accessed fr om a different origin.
138 fr.contentWindow[item.name]; 26 PASS A SecurityError exception must be thrown when window.onclose is accessed fr om a different origin.
139 }" did not throw 27 PASS A SecurityError exception must be thrown when window.oncontextmenu is acces sed from a different origin.
140 FAIL A SecurityError exception must be thrown when window.onblur is accessed fro m a different origin. assert_throws: A SecurityError exception should be thrown. function "function () { 28 PASS A SecurityError exception must be thrown when window.oncuechange is accesse d from a different origin.
141 if (item.isMethod) 29 PASS A SecurityError exception must be thrown when window.ondblclick is accessed from a different origin.
142 if (item.args) 30 PASS A SecurityError exception must be thrown when window.ondrag is accessed fro m a different origin.
143 fr.contentWindow[item.name](item.args[0], item.args[1]); 31 PASS A SecurityError exception must be thrown when window.ondragend is accessed from a different origin.
144 else 32 PASS A SecurityError exception must be thrown when window.ondragenter is accesse d from a different origin.
145 fr.contentWindow[item.name](); 33 PASS A SecurityError exception must be thrown when window.ondragleave is accesse d from a different origin.
146 else 34 PASS A SecurityError exception must be thrown when window.ondragover is accessed from a different origin.
147 fr.contentWindow[item.name]; 35 PASS A SecurityError exception must be thrown when window.ondragstart is accesse d from a different origin.
148 }" did not throw 36 PASS A SecurityError exception must be thrown when window.ondrop is accessed fro m a different origin.
149 FAIL A SecurityError exception must be thrown when window.oncancel is accessed f rom a different origin. assert_throws: A SecurityError exception should be throw n. function "function () { 37 PASS A SecurityError exception must be thrown when window.ondurationchange is ac cessed from a different origin.
150 if (item.isMethod) 38 PASS A SecurityError exception must be thrown when window.onemptied is accessed from a different origin.
151 if (item.args) 39 PASS A SecurityError exception must be thrown when window.onended is accessed fr om a different origin.
152 fr.contentWindow[item.name](item.args[0], item.args[1]); 40 PASS A SecurityError exception must be thrown when window.onerror is accessed fr om a different origin.
153 else 41 PASS A SecurityError exception must be thrown when window.onfocus is accessed fr om a different origin.
154 fr.contentWindow[item.name](); 42 PASS A SecurityError exception must be thrown when window.onhashchange is access ed from a different origin.
155 else 43 PASS A SecurityError exception must be thrown when window.oninput is accessed fr om a different origin.
156 fr.contentWindow[item.name]; 44 PASS A SecurityError exception must be thrown when window.oninvalid is accessed from a different origin.
157 }" did not throw 45 PASS A SecurityError exception must be thrown when window.onkeydown is accessed from a different origin.
158 FAIL A SecurityError exception must be thrown when window.oncanplay is accessed from a different origin. assert_throws: A SecurityError exception should be thro wn. function "function () { 46 PASS A SecurityError exception must be thrown when window.onkeypress is accessed from a different origin.
159 if (item.isMethod) 47 PASS A SecurityError exception must be thrown when window.onkeyup is accessed fr om a different origin.
160 if (item.args) 48 PASS A SecurityError exception must be thrown when window.onload is accessed fro m a different origin.
161 fr.contentWindow[item.name](item.args[0], item.args[1]); 49 PASS A SecurityError exception must be thrown when window.onloadeddata is access ed from a different origin.
162 else 50 PASS A SecurityError exception must be thrown when window.onloadedmetadata is ac cessed from a different origin.
163 fr.contentWindow[item.name](); 51 PASS A SecurityError exception must be thrown when window.onloadstart is accesse d from a different origin.
164 else 52 PASS A SecurityError exception must be thrown when window.onmessage is accessed from a different origin.
165 fr.contentWindow[item.name]; 53 PASS A SecurityError exception must be thrown when window.onmousedown is accesse d from a different origin.
166 }" did not throw 54 PASS A SecurityError exception must be thrown when window.onmousemove is accesse d from a different origin.
167 FAIL A SecurityError exception must be thrown when window.oncanplaythrough is ac cessed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () { 55 PASS A SecurityError exception must be thrown when window.onmouseout is accessed from a different origin.
168 if (item.isMethod) 56 PASS A SecurityError exception must be thrown when window.onmouseover is accesse d from a different origin.
169 if (item.args) 57 PASS A SecurityError exception must be thrown when window.onmouseup is accessed from a different origin.
170 fr.contentWindow[item.name](item.args[0], item.args[1]); 58 PASS A SecurityError exception must be thrown when window.onmousewheel is access ed from a different origin.
171 else 59 PASS A SecurityError exception must be thrown when window.onoffline is accessed from a different origin.
172 fr.contentWindow[item.name](); 60 PASS A SecurityError exception must be thrown when window.ononline is accessed f rom a different origin.
173 else 61 PASS A SecurityError exception must be thrown when window.onpause is accessed fr om a different origin.
174 fr.contentWindow[item.name]; 62 PASS A SecurityError exception must be thrown when window.onplay is accessed fro m a different origin.
175 }" did not throw 63 PASS A SecurityError exception must be thrown when window.onplaying is accessed from a different origin.
176 FAIL A SecurityError exception must be thrown when window.onchange is accessed f rom a different origin. assert_throws: A SecurityError exception should be throw n. function "function () { 64 PASS A SecurityError exception must be thrown when window.onpagehide is accessed from a different origin.
177 if (item.isMethod) 65 PASS A SecurityError exception must be thrown when window.onpageshow is accessed from a different origin.
178 if (item.args) 66 PASS A SecurityError exception must be thrown when window.onpopstate is accessed from a different origin.
179 fr.contentWindow[item.name](item.args[0], item.args[1]); 67 PASS A SecurityError exception must be thrown when window.onprogress is accessed from a different origin.
180 else 68 PASS A SecurityError exception must be thrown when window.onratechange is access ed from a different origin.
181 fr.contentWindow[item.name](); 69 PASS A SecurityError exception must be thrown when window.onreset is accessed fr om a different origin.
182 else 70 PASS A SecurityError exception must be thrown when window.onresize is accessed f rom a different origin.
183 fr.contentWindow[item.name]; 71 PASS A SecurityError exception must be thrown when window.onscroll is accessed f rom a different origin.
184 }" did not throw 72 PASS A SecurityError exception must be thrown when window.onseeked is accessed f rom a different origin.
185 FAIL A SecurityError exception must be thrown when window.onclick is accessed fr om a different origin. assert_throws: A SecurityError exception should be thrown . function "function () { 73 PASS A SecurityError exception must be thrown when window.onseeking is accessed from a different origin.
186 if (item.isMethod) 74 PASS A SecurityError exception must be thrown when window.onselect is accessed f rom a different origin.
187 if (item.args) 75 PASS A SecurityError exception must be thrown when window.onshow is accessed fro m a different origin.
188 fr.contentWindow[item.name](item.args[0], item.args[1]); 76 PASS A SecurityError exception must be thrown when window.onstalled is accessed from a different origin.
189 else 77 PASS A SecurityError exception must be thrown when window.onstorage is accessed from a different origin.
190 fr.contentWindow[item.name](); 78 PASS A SecurityError exception must be thrown when window.onsubmit is accessed f rom a different origin.
191 else 79 PASS A SecurityError exception must be thrown when window.onsuspend is accessed from a different origin.
192 fr.contentWindow[item.name]; 80 PASS A SecurityError exception must be thrown when window.ontimeupdate is access ed from a different origin.
193 }" did not throw 81 PASS A SecurityError exception must be thrown when window.onunload is accessed f rom a different origin.
194 FAIL A SecurityError exception must be thrown when window.onclose is accessed fr om a different origin. assert_throws: A SecurityError exception should be thrown . function "function () { 82 PASS A SecurityError exception must be thrown when window.onvolumechange is acce ssed from a different origin.
195 if (item.isMethod) 83 PASS A SecurityError exception must be thrown when window.onwaiting is accessed from a different origin.
196 if (item.args) 84 PASS A SecurityError exception must be thrown when window.pageXOffset is accesse d from a different origin.
197 fr.contentWindow[item.name](item.args[0], item.args[1]); 85 PASS A SecurityError exception must be thrown when window.pageYOffset is accesse d from a different origin.
198 else 86 PASS A SecurityError exception must be thrown when window.personalbar is accesse d from a different origin.
199 fr.contentWindow[item.name](); 87 PASS A SecurityError exception must be thrown when window.screen is accessed fro m a different origin.
200 else 88 PASS A SecurityError exception must be thrown when window.scrollbars is accessed from a different origin.
201 fr.contentWindow[item.name]; 89 PASS A SecurityError exception must be thrown when window.statusbar is accessed from a different origin.
202 }" did not throw 90 PASS A SecurityError exception must be thrown when window.status is accessed fro m a different origin.
203 FAIL A SecurityError exception must be thrown when window.oncontextmenu is acces sed from a different origin. assert_throws: A SecurityError exception should be thrown. function "function () { 91 PASS A SecurityError exception must be thrown when window.screenX is accessed fr om a different origin.
204 if (item.isMethod) 92 PASS A SecurityError exception must be thrown when window.screenY is accessed fr om a different origin.
205 if (item.args) 93 PASS A SecurityError exception must be thrown when window.sessionStorage is acce ssed from a different origin.
206 fr.contentWindow[item.name](item.args[0], item.args[1]); 94 PASS A SecurityError exception must be thrown when window.toolbar is accessed fr om a different origin.
207 else 95 PASS A SecurityError exception must be thrown when window.alert is accessed from a different origin.
208 fr.contentWindow[item.name](); 96 PASS A SecurityError exception must be thrown when window.clearInterval is acces sed from a different origin.
209 else 97 PASS A SecurityError exception must be thrown when window.clearTimeout is access ed from a different origin.
210 fr.contentWindow[item.name]; 98 PASS A SecurityError exception must be thrown when window.confirm is accessed fr om a different origin.
211 }" did not throw 99 PASS A SecurityError exception must be thrown when window.getComputedStyle is ac cessed from a different origin.
212 FAIL A SecurityError exception must be thrown when window.oncuechange is accesse d from a different origin. assert_throws: A SecurityError exception should be th rown. function "function () { 100 PASS A SecurityError exception must be thrown when window.getSelection is access ed from a different origin.
213 if (item.isMethod) 101 PASS A SecurityError exception must be thrown when window.matchMedia is accessed from a different origin.
214 if (item.args) 102 PASS A SecurityError exception must be thrown when window.moveBy is accessed fro m a different origin.
215 fr.contentWindow[item.name](item.args[0], item.args[1]); 103 PASS A SecurityError exception must be thrown when window.moveTo is accessed fro m a different origin.
216 else 104 PASS A SecurityError exception must be thrown when window.open is accessed from a different origin.
217 fr.contentWindow[item.name](); 105 PASS A SecurityError exception must be thrown when window.print is accessed from a different origin.
218 else 106 PASS A SecurityError exception must be thrown when window.prompt is accessed fro m a different origin.
219 fr.contentWindow[item.name]; 107 PASS A SecurityError exception must be thrown when window.resizeTo is accessed f rom a different origin.
220 }" did not throw 108 PASS A SecurityError exception must be thrown when window.resizeBy is accessed f rom a different origin.
221 FAIL A SecurityError exception must be thrown when window.ondblclick is accessed from a different origin. assert_throws: A SecurityError exception should be thr own. function "function () { 109 PASS A SecurityError exception must be thrown when window.scroll is accessed fro m a different origin.
222 if (item.isMethod) 110 PASS A SecurityError exception must be thrown when window.scrollTo is accessed f rom a different origin.
223 if (item.args) 111 PASS A SecurityError exception must be thrown when window.scrollBy is accessed f rom a different origin.
224 fr.contentWindow[item.name](item.args[0], item.args[1]); 112 PASS A SecurityError exception must be thrown when window.setInterval is accesse d from a different origin.
225 else 113 PASS A SecurityError exception must be thrown when window.setTimeout is accessed from a different origin.
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 fro m 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 thro wn. 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 accesse d from a different origin. assert_throws: A SecurityError exception should be th rown. 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 accesse d from a different origin. assert_throws: A SecurityError exception should be th rown. 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 thr own. 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 accesse d from a different origin. assert_throws: A SecurityError exception should be th rown. 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 fro m 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 ac cessed 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 thro wn. 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 fr om 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 fr om 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 fr om 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 access ed from a different origin. assert_throws: A SecurityError exception should be t hrown. 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 fr om 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 thro wn. 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 thro wn. 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 thr own. 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 fr om 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 fro m 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 access ed from a different origin. assert_throws: A SecurityError exception should be t hrown. 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 ac cessed 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 accesse d from a different origin. assert_throws: A SecurityError exception should be th rown. 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 thro wn. 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 accesse d from a different origin. assert_throws: A SecurityError exception should be th rown. 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 accesse d from a different origin. assert_throws: A SecurityError exception should be th rown. 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 thr own. 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 accesse d from a different origin. assert_throws: A SecurityError exception should be th rown. 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 thro wn. 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 access ed from a different origin. assert_throws: A SecurityError exception should be t hrown. 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 thro wn. 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 f rom a different origin. assert_throws: A SecurityError exception should be throw n. 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 fr om 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 fro m 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 thro wn. 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 thr own. 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 thr own. 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 thr own. 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 thr own. 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 access ed from a different origin. assert_throws: A SecurityError exception should be t hrown. 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 fr om 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 f rom a different origin. assert_throws: A SecurityError exception should be throw n. 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 f rom a different origin. assert_throws: A SecurityError exception should be throw n. 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 f rom a different origin. assert_throws: A SecurityError exception should be throw n. 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 thro wn. 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 f rom a different origin. assert_throws: A SecurityError exception should be throw n. 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 fro m 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 thro wn. 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 thro wn. 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 f rom a different origin. assert_throws: A SecurityError exception should be throw n. 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 thro wn. 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 access ed from a different origin. assert_throws: A SecurityError exception should be t hrown. 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 f rom a different origin. assert_throws: A SecurityError exception should be throw n. 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 acce ssed 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 thro wn. 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 accesse d from a different origin. assert_throws: A SecurityError exception should be th rown. 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 accesse d from a different origin. assert_throws: A SecurityError exception should be th rown. 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 accesse d from a different origin. assert_throws: A SecurityError exception should be th rown. 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 fro m 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 thr own. 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 thro wn. 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 fro m 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 fr om 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 fr om 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 acce ssed 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 fr om 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 acces sed 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 access ed from a different origin. assert_throws: A SecurityError exception should be t hrown. 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 fr om 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 ac cessed 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 access ed from a different origin. assert_throws: A SecurityError exception should be t hrown. 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 thr own. 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 fro m 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 fro m 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. f unction "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 fro m 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 f rom a different origin. assert_throws: A SecurityError exception should be throw n. 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 f rom a different origin. assert_throws: A SecurityError exception should be throw n. 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 fro m 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 f rom a different origin. assert_throws: A SecurityError exception should be throw n. 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 f rom a different origin. assert_throws: A SecurityError exception should be throw n. 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 accesse d from a different origin. assert_throws: A SecurityError exception should be th rown. 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 thr own. 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 acc essed from a different origin. assert_true: window.showModalDialog should exist. expected true got false 114 FAIL A SecurityError exception must be thrown when window.showModalDialog is acc essed 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. f unction "function () { 115 PASS A SecurityError exception must be thrown when window.stop is accessed from a different origin.
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
996 PASS A SecurityError exception should not be thrown when window.closed is access ed from a different origin. 116 PASS A SecurityError exception should not be thrown when window.closed is access ed from a different origin.
997 PASS A SecurityError exception should not be thrown when window.frames is access ed from a different origin. 117 PASS A SecurityError exception should not be thrown when window.frames is access ed from a different origin.
998 PASS A SecurityError exception should not be thrown when window.length is access ed from a different origin. 118 PASS A SecurityError exception should not be thrown when window.length is access ed from a different origin.
999 PASS A SecurityError exception should not be thrown when window.location is acce ssed from a different origin. 119 PASS A SecurityError exception should not be thrown when window.location is acce ssed from a different origin.
1000 PASS A SecurityError exception should not be thrown when window.opener is access ed from a different origin. 120 PASS A SecurityError exception should not be thrown when window.opener is access ed from a different origin.
1001 PASS A SecurityError exception should not be thrown when window.parent is access ed from a different origin. 121 PASS A SecurityError exception should not be thrown when window.parent is access ed from a different origin.
1002 PASS A SecurityError exception should not be thrown when window.self is accessed from a different origin. 122 PASS A SecurityError exception should not be thrown when window.self is accessed from a different origin.
1003 PASS A SecurityError exception should not be thrown when window.top is accessed from a different origin. 123 PASS A SecurityError exception should not be thrown when window.top is accessed from a different origin.
1004 PASS A SecurityError exception should not be thrown when window.window is access ed from a different origin. 124 PASS A SecurityError exception should not be thrown when window.window is access ed from a different origin.
1005 PASS A SecurityError exception should not be thrown when window.blur is accessed from a different origin. 125 PASS A SecurityError exception should not be thrown when window.blur is accessed from a different origin.
1006 PASS A SecurityError exception should not be thrown when window.close is accesse d from a different origin. 126 PASS A SecurityError exception should not be thrown when window.close is accesse d from a different origin.
1007 PASS A SecurityError exception should not be thrown when window.focus is accesse d from a different origin. 127 PASS A SecurityError exception should not be thrown when window.focus is accesse d from a different origin.
1008 PASS A SecurityError exception should not be thrown when window.postMessage is a ccessed from a different origin. 128 PASS A SecurityError exception should not be thrown when window.postMessage is a ccessed from a different origin.
1009 Harness: the test ran to completion. 129 Harness: the test ran to completion.
1010 130
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698