Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / http / tests / security / cross-frame-access-getOwnPropertyDescriptor-expected.txt
1 This test checks cross-frame access security of getOwnPropertyDescriptor (https://bugs.webkit.org/show_bug.cgi?id=32119).
2
3
4
5 ----- tests for getting of not allowed properties -----
6
7
8 ----- tests for getting of not allowed Constructors -----
9
10 PASS: canGetDescriptor(targetWindow, 'Attr') should be 'false' and is.
11 PASS: canGetDescriptor(targetWindow, 'Audio') should be 'false' and is.
12 PASS: canGetDescriptor(targetWindow, 'CDATASection') should be 'false' and is.
13 PASS: canGetDescriptor(targetWindow, 'CSSPrimitiveValue') should be 'false' and is.
14 PASS: canGetDescriptor(targetWindow, 'CSSRule') should be 'false' and is.
15 PASS: canGetDescriptor(targetWindow, 'CSSStyleDeclaration') should be 'false' and is.
16 PASS: canGetDescriptor(targetWindow, 'CSSValue') should be 'false' and is.
17 PASS: canGetDescriptor(targetWindow, 'CharacterData') should be 'false' and is.
18 PASS: canGetDescriptor(targetWindow, 'Comment') should be 'false' and is.
19 PASS: canGetDescriptor(targetWindow, 'DOMException') should be 'false' and is.
20 PASS: canGetDescriptor(targetWindow, 'DOMImplementation') should be 'false' and is.
21 PASS: canGetDescriptor(targetWindow, 'DOMParser') should be 'false' and is.
22 PASS: canGetDescriptor(targetWindow, 'Document') should be 'false' and is.
23 PASS: canGetDescriptor(targetWindow, 'DocumentFragment') should be 'false' and is.
24 PASS: canGetDescriptor(targetWindow, 'DocumentType') should be 'false' and is.
25 PASS: canGetDescriptor(targetWindow, 'Element') should be 'false' and is.
26 PASS: canGetDescriptor(targetWindow, 'EntityReference') should be 'false' and is.
27 PASS: canGetDescriptor(targetWindow, 'EvalError') should be 'false' and is.
28 PASS: canGetDescriptor(targetWindow, 'Event') should be 'false' and is.
29 PASS: canGetDescriptor(targetWindow, 'HTMLAnchorElement') should be 'false' and is.
30 PASS: canGetDescriptor(targetWindow, 'HTMLAudioElement') should be 'false' and is.
31 PASS: canGetDescriptor(targetWindow, 'HTMLAppletElement') should be 'false' and is.
32 PASS: canGetDescriptor(targetWindow, 'HTMLAreaElement') should be 'false' and is.
33 PASS: canGetDescriptor(targetWindow, 'HTMLBRElement') should be 'false' and is.
34 PASS: canGetDescriptor(targetWindow, 'HTMLBaseElement') should be 'false' and is.
35 PASS: canGetDescriptor(targetWindow, 'HTMLBodyElement') should be 'false' and is.
36 PASS: canGetDescriptor(targetWindow, 'HTMLButtonElement') should be 'false' and is.
37 PASS: canGetDescriptor(targetWindow, 'HTMLCanvasElement') should be 'false' and is.
38 PASS: canGetDescriptor(targetWindow, 'HTMLDListElement') should be 'false' and is.
39 PASS: canGetDescriptor(targetWindow, 'HTMLDirectoryElement') should be 'false' and is.
40 PASS: canGetDescriptor(targetWindow, 'HTMLDivElement') should be 'false' and is.
41 PASS: canGetDescriptor(targetWindow, 'HTMLDocument') should be 'false' and is.
42 PASS: canGetDescriptor(targetWindow, 'HTMLElement') should be 'false' and is.
43 PASS: canGetDescriptor(targetWindow, 'HTMLFieldSetElement') should be 'false' and is.
44 PASS: canGetDescriptor(targetWindow, 'HTMLFontElement') should be 'false' and is.
45 PASS: canGetDescriptor(targetWindow, 'HTMLFormElement') should be 'false' and is.
46 PASS: canGetDescriptor(targetWindow, 'HTMLFrameElement') should be 'false' and is.
47 PASS: canGetDescriptor(targetWindow, 'HTMLFrameSetElement') should be 'false' and is.
48 PASS: canGetDescriptor(targetWindow, 'HTMLHRElement') should be 'false' and is.
49 PASS: canGetDescriptor(targetWindow, 'HTMLHeadElement') should be 'false' and is.
50 PASS: canGetDescriptor(targetWindow, 'HTMLHeadingElement') should be 'false' and is.
51 PASS: canGetDescriptor(targetWindow, 'HTMLHtmlElement') should be 'false' and is.
52 PASS: canGetDescriptor(targetWindow, 'HTMLIFrameElement') should be 'false' and is.
53 PASS: canGetDescriptor(targetWindow, 'HTMLImageElement') should be 'false' and is.
54 PASS: canGetDescriptor(targetWindow, 'HTMLInputElement') should be 'false' and is.
55 PASS: canGetDescriptor(targetWindow, 'HTMLIsIndexElement') should be 'false' and is.
56 PASS: canGetDescriptor(targetWindow, 'HTMLLIElement') should be 'false' and is.
57 PASS: canGetDescriptor(targetWindow, 'HTMLLabelElement') should be 'false' and is.
58 PASS: canGetDescriptor(targetWindow, 'HTMLLegendElement') should be 'false' and is.
59 PASS: canGetDescriptor(targetWindow, 'HTMLLinkElement') should be 'false' and is.
60 PASS: canGetDescriptor(targetWindow, 'HTMLMapElement') should be 'false' and is.
61 PASS: canGetDescriptor(targetWindow, 'HTMLMarqueeElement') should be 'false' and is.
62 PASS: canGetDescriptor(targetWindow, 'HTMLMediaElement') should be 'false' and is.
63 PASS: canGetDescriptor(targetWindow, 'HTMLMenuElement') should be 'false' and is.
64 PASS: canGetDescriptor(targetWindow, 'HTMLMetaElement') should be 'false' and is.
65 PASS: canGetDescriptor(targetWindow, 'HTMLModElement') should be 'false' and is.
66 PASS: canGetDescriptor(targetWindow, 'HTMLOListElement') should be 'false' and is.
67 PASS: canGetDescriptor(targetWindow, 'HTMLOptGroupElement') should be 'false' and is.
68 PASS: canGetDescriptor(targetWindow, 'HTMLOptionElement') should be 'false' and is.
69 PASS: canGetDescriptor(targetWindow, 'HTMLParagraphElement') should be 'false' and is.
70 PASS: canGetDescriptor(targetWindow, 'HTMLParamElement') should be 'false' and is.
71 PASS: canGetDescriptor(targetWindow, 'HTMLPreElement') should be 'false' and is.
72 PASS: canGetDescriptor(targetWindow, 'HTMLQuoteElement') should be 'false' and is.
73 PASS: canGetDescriptor(targetWindow, 'HTMLScriptElement') should be 'false' and is.
74 PASS: canGetDescriptor(targetWindow, 'HTMLSelectElement') should be 'false' and is.
75 PASS: canGetDescriptor(targetWindow, 'HTMLSourceElement') should be 'false' and is.
76 PASS: canGetDescriptor(targetWindow, 'HTMLStyleElement') should be 'false' and is.
77 PASS: canGetDescriptor(targetWindow, 'HTMLTableCaptionElement') should be 'false' and is.
78 PASS: canGetDescriptor(targetWindow, 'HTMLTableCellElement') should be 'false' and is.
79 PASS: canGetDescriptor(targetWindow, 'HTMLTableColElement') should be 'false' and is.
80 PASS: canGetDescriptor(targetWindow, 'HTMLTableElement') should be 'false' and is.
81 PASS: canGetDescriptor(targetWindow, 'HTMLTableRowElement') should be 'false' and is.
82 PASS: canGetDescriptor(targetWindow, 'HTMLTableSectionElement') should be 'false' and is.
83 PASS: canGetDescriptor(targetWindow, 'HTMLTextAreaElement') should be 'false' and is.
84 PASS: canGetDescriptor(targetWindow, 'HTMLTitleElement') should be 'false' and is.
85 PASS: canGetDescriptor(targetWindow, 'HTMLUListElement') should be 'false' and is.
86 PASS: canGetDescriptor(targetWindow, 'HTMLVideoElement') should be 'false' and is.
87 PASS: canGetDescriptor(targetWindow, 'Image') should be 'false' and is.
88 PASS: canGetDescriptor(targetWindow, 'MutationEvent') should be 'false' and is.
89 PASS: canGetDescriptor(targetWindow, 'Node') should be 'false' and is.
90 PASS: canGetDescriptor(targetWindow, 'NodeFilter') should be 'false' and is.
91 PASS: canGetDescriptor(targetWindow, 'Notation') should be 'false' and is.
92 PASS: canGetDescriptor(targetWindow, 'Option') should be 'false' and is.
93 PASS: canGetDescriptor(targetWindow, 'ProcessingInstruction') should be 'false' and is.
94 PASS: canGetDescriptor(targetWindow, 'Range') should be 'false' and is.
95 PASS: canGetDescriptor(targetWindow, 'RangeError') should be 'false' and is.
96 PASS: canGetDescriptor(targetWindow, 'ReferenceError') should be 'false' and is.
97 PASS: canGetDescriptor(targetWindow, 'SyntaxError') should be 'false' and is.
98 PASS: canGetDescriptor(targetWindow, 'Text') should be 'false' and is.
99 PASS: canGetDescriptor(targetWindow, 'TypeError') should be 'false' and is.
100 PASS: canGetDescriptor(targetWindow, 'URIError') should be 'false' and is.
101 PASS: canGetDescriptor(targetWindow, 'XMLDocument') should be 'false' and is.
102 PASS: canGetDescriptor(targetWindow, 'XMLHttpRequest') should be 'false' and is.
103 PASS: canGetDescriptor(targetWindow, 'XMLSerializer') should be 'false' and is.
104 PASS: canGetDescriptor(targetWindow, 'XPathEvaluator') should be 'false' and is.
105 PASS: canGetDescriptor(targetWindow, 'XPathResult') should be 'false' and is.
106 PASS: canGetDescriptor(targetWindow, 'XSLTProcessor') should be 'false' and is.
107
108 ----- tests for getting of not allowed Functions -----
109
110 PASS: canGetDescriptor(targetWindow, 'addEventListener') should be 'false' and is.
111 PASS: canGetDescriptor(targetWindow, 'alert') should be 'false' and is.
112 PASS: canGetDescriptor(targetWindow, 'atob') should be 'false' and is.
113 PASS: canGetDescriptor(targetWindow, 'btoa') should be 'false' and is.
114 PASS: canGetDescriptor(targetWindow, 'captureEvents') should be 'false' and is.
115 PASS: canGetDescriptor(targetWindow, 'clearInterval') should be 'false' and is.
116 PASS: canGetDescriptor(targetWindow, 'clearTimeout') should be 'false' and is.
117 PASS: canGetDescriptor(targetWindow, 'confirm') should be 'false' and is.
118 PASS: canGetDescriptor(targetWindow, 'find') should be 'false' and is.
119 PASS: canGetDescriptor(targetWindow, 'getComputedStyle') should be 'false' and is.
120 PASS: canGetDescriptor(targetWindow, 'getMatchedCSSRules') should be 'false' and is.
121 PASS: canGetDescriptor(targetWindow, 'getSelection') should be 'false' and is.
122 PASS: canGetDescriptor(targetWindow, 'moveBy') should be 'false' and is.
123 PASS: canGetDescriptor(targetWindow, 'moveTo') should be 'false' and is.
124 PASS: canGetDescriptor(targetWindow, 'open') should be 'false' and is.
125 PASS: canGetDescriptor(targetWindow, 'print') should be 'false' and is.
126 PASS: canGetDescriptor(targetWindow, 'prompt') should be 'false' and is.
127 PASS: canGetDescriptor(targetWindow, 'releaseEvents') should be 'false' and is.
128 PASS: canGetDescriptor(targetWindow, 'removeEventListener') should be 'false' and is.
129 PASS: canGetDescriptor(targetWindow, 'resizeBy') should be 'false' and is.
130 PASS: canGetDescriptor(targetWindow, 'resizeTo') should be 'false' and is.
131 PASS: canGetDescriptor(targetWindow, 'scroll') should be 'false' and is.
132 PASS: canGetDescriptor(targetWindow, 'scrollBy') should be 'false' and is.
133 PASS: canGetDescriptor(targetWindow, 'scrollTo') should be 'false' and is.
134 PASS: canGetDescriptor(targetWindow, 'setInterval') should be 'false' and is.
135 PASS: canGetDescriptor(targetWindow, 'setTimeout') should be 'false' and is.
136 PASS: canGetDescriptor(targetWindow, 'showModalDialog') should be 'false' and is.
137 PASS: canGetDescriptor(targetWindow, 'stop') should be 'false' and is.
138 PASS: canGetDescriptor(targetWindow, 'blur') should be 'false' and is.
139 PASS: canGetDescriptor(targetWindow, 'close') should be 'false' and is.
140 PASS: canGetDescriptor(targetWindow, 'focus') should be 'false' and is.
141
142 ----- tests for getting of not allowed Attributes -----
143
144 PASS: canGetDescriptor(targetWindow, 'clientInformation') should be 'false' and is.
145 PASS: canGetDescriptor(targetWindow, 'console') should be 'false' and is.
146 PASS: canGetDescriptor(targetWindow, 'crypto') should be 'false' and is.
147 PASS: canGetDescriptor(targetWindow, 'defaultStatus') should be 'false' and is.
148 PASS: canGetDescriptor(targetWindow, 'defaultstatus') should be 'false' and is.
149 PASS: canGetDescriptor(targetWindow, 'devicePixelRatio') should be 'false' and is.
150 Firefox allows access to 'document' but throws an exception when you access its properties.
151 PASS: canGetDescriptor(targetWindow, 'document') should be 'false' and is.
152 PASS: canGetDescriptor(targetWindow, 'embeds') should be 'false' and is.
153 PASS: canGetDescriptor(targetWindow, 'eval') should be 'false' and is.
154 PASS: canGetDescriptor(targetWindow, 'event') should be 'false' and is.
155 PASS: canGetDescriptor(targetWindow, 'frameElement') should be 'false' and is.
156 PASS: canGetDescriptor(targetWindow, 'images') should be 'false' and is.
157 PASS: canGetDescriptor(targetWindow, 'innerHeight') should be 'false' and is.
158 PASS: canGetDescriptor(targetWindow, 'innerWidth') should be 'false' and is.
159 PASS: canGetDescriptor(targetWindow, 'locationbar') should be 'false' and is.
160 PASS: canGetDescriptor(targetWindow, 'menubar') should be 'false' and is.
161 PASS: canGetDescriptor(targetWindow, 'name') should be 'false' and is.
162 PASS: canGetDescriptor(targetWindow, 'navigator') should be 'false' and is.
163 PASS: canGetDescriptor(targetWindow, 'offscreenBuffering') should be 'false' and is.
164 PASS: canGetDescriptor(targetWindow, 'onabort') should be 'false' and is.
165 PASS: canGetDescriptor(targetWindow, 'onbeforeunload') should be 'false' and is.
166 PASS: canGetDescriptor(targetWindow, 'onblur') should be 'false' and is.
167 PASS: canGetDescriptor(targetWindow, 'onchange') should be 'false' and is.
168 PASS: canGetDescriptor(targetWindow, 'onclick') should be 'false' and is.
169 PASS: canGetDescriptor(targetWindow, 'ondblclick') should be 'false' and is.
170 PASS: canGetDescriptor(targetWindow, 'onerror') should be 'false' and is.
171 PASS: canGetDescriptor(targetWindow, 'onfocus') should be 'false' and is.
172 PASS: canGetDescriptor(targetWindow, 'onkeydown') should be 'false' and is.
173 PASS: canGetDescriptor(targetWindow, 'onkeypress') should be 'false' and is.
174 PASS: canGetDescriptor(targetWindow, 'onkeyup') should be 'false' and is.
175 PASS: canGetDescriptor(targetWindow, 'onload') should be 'false' and is.
176 PASS: canGetDescriptor(targetWindow, 'onmousedown') should be 'false' and is.
177 PASS: canGetDescriptor(targetWindow, 'onmousemove') should be 'false' and is.
178 PASS: canGetDescriptor(targetWindow, 'onmouseout') should be 'false' and is.
179 PASS: canGetDescriptor(targetWindow, 'onmouseover') should be 'false' and is.
180 PASS: canGetDescriptor(targetWindow, 'onmouseup') should be 'false' and is.
181 PASS: canGetDescriptor(targetWindow, 'onmousewheel') should be 'false' and is.
182 PASS: canGetDescriptor(targetWindow, 'onreset') should be 'false' and is.
183 PASS: canGetDescriptor(targetWindow, 'onresize') should be 'false' and is.
184 PASS: canGetDescriptor(targetWindow, 'onscroll') should be 'false' and is.
185 PASS: canGetDescriptor(targetWindow, 'onsearch') should be 'false' and is.
186 PASS: canGetDescriptor(targetWindow, 'onselect') should be 'false' and is.
187 PASS: canGetDescriptor(targetWindow, 'onsubmit') should be 'false' and is.
188 PASS: canGetDescriptor(targetWindow, 'onunload') should be 'false' and is.
189 PASS: canGetDescriptor(targetWindow, 'outerHeight') should be 'false' and is.
190 PASS: canGetDescriptor(targetWindow, 'outerWidth') should be 'false' and is.
191 PASS: canGetDescriptor(targetWindow, 'pageXOffset') should be 'false' and is.
192 PASS: canGetDescriptor(targetWindow, 'pageYOffset') should be 'false' and is.
193 PASS: canGetDescriptor(targetWindow, 'personalbar') should be 'false' and is.
194 PASS: canGetDescriptor(targetWindow, 'plugins') should be 'false' and is.
195 PASS: canGetDescriptor(targetWindow, 'prototype') should be 'false' and is.
196 PASS: canGetDescriptor(targetWindow, 'screen') should be 'false' and is.
197 PASS: canGetDescriptor(targetWindow, 'screenLeft') should be 'false' and is.
198 PASS: canGetDescriptor(targetWindow, 'screenTop') should be 'false' and is.
199 PASS: canGetDescriptor(targetWindow, 'screenX') should be 'false' and is.
200 PASS: canGetDescriptor(targetWindow, 'screenY') should be 'false' and is.
201 PASS: canGetDescriptor(targetWindow, 'scrollX') should be 'false' and is.
202 PASS: canGetDescriptor(targetWindow, 'scrollY') should be 'false' and is.
203 PASS: canGetDescriptor(targetWindow, 'scrollbars') should be 'false' and is.
204 PASS: canGetDescriptor(targetWindow, 'status') should be 'false' and is.
205 PASS: canGetDescriptor(targetWindow, 'statusbar') should be 'false' and is.
206 PASS: canGetDescriptor(targetWindow, 'toolbar') should be 'false' and is.
207 PASS: canGetDescriptor(targetWindow, 'history') should be 'false' and is.
208 PASS: canGetDescriptor(targetWindow, 'closed') should be 'true' and is.
209 PASS: canGetDescriptor(targetWindow, 'frames') should be 'true' and is.
210 PASS: canGetDescriptor(targetWindow, 'length') should be 'true' and is.
211 PASS: canGetDescriptor(targetWindow, 'opener') should be 'true' and is.
212 PASS: canGetDescriptor(targetWindow, 'parent') should be 'true' and is.
213 PASS: canGetDescriptor(targetWindow, 'self') should be 'true' and is.
214 PASS: canGetDescriptor(targetWindow, 'top') should be 'true' and is.
215 PASS: canGetDescriptor(targetWindow, 'window') should be 'true' and is.
216 ----- tests access to cross domain location object -----
217 PASS: canGetDescriptor(targetLocation, 'protocol') should be 'false' and is.
218 PASS: canGetDescriptor(targetLocation, 'host') should be 'false' and is.
219 PASS: canGetDescriptor(targetLocation, 'hostname') should be 'false' and is.
220 PASS: canGetDescriptor(targetLocation, 'port') should be 'false' and is.
221 PASS: canGetDescriptor(targetLocation, 'pathname') should be 'false' and is.
222 PASS: canGetDescriptor(targetLocation, 'search') should be 'false' and is.
223 PASS: canGetDescriptor(targetLocation, 'hash') should be 'false' and is.
224 PASS: canGetDescriptor(targetLocation, 'toString') should be 'false' and is.
225 PASS: canGetDescriptor(targetLocation, 'valueOf') should be 'false' and is.
226 PASS: canGetDescriptor(targetLocation, 'customProperty') should be 'false' and is.
227 PASS: canGetDescriptor(targetLocation, 'reload') should be 'false' and is.
228 PASS: canGetDescriptor(targetLocation, 'assign') should be 'true' and is.
229 PASS: canGetDescriptor(targetLocation, 'replace') should be 'true' and is.
230 ----- tests access to cross domain history object -----
231 PASS: targetWindow.history should have thrown an exception, and did: SecurityError: Blocked a frame with origin "http://127.0.0.1:8000" from accessing a cross-origin frame.
232