| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="resources/cross-frame-access.js"></script> | 3 <script src="resources/cross-frame-access.js"></script> |
| 4 <script> | 4 <script> |
| 5 var windowConstructorPropertiesNotAllowed = [ | 5 var windowConstructorPropertiesNotAllowed = [ |
| 6 "Attr", | 6 "Attr", |
| 7 "Audio", | 7 "Audio", |
| 8 "CDATASection", | 8 "CDATASection", |
| 9 "CSSPrimitiveValue", | 9 "CSSPrimitiveValue", |
| 10 "CSSRule", | 10 "CSSRule", |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 "console", | 138 "console", |
| 139 "crypto", | 139 "crypto", |
| 140 "defaultStatus", | 140 "defaultStatus", |
| 141 "defaultstatus", | 141 "defaultstatus", |
| 142 "devicePixelRatio", | 142 "devicePixelRatio", |
| 143 "document", | 143 "document", |
| 144 "embeds", | 144 "embeds", |
| 145 "eval", | 145 "eval", |
| 146 "event", | 146 "event", |
| 147 "frameElement", | 147 "frameElement", |
| 148 "history", |
| 148 "images", | 149 "images", |
| 149 "innerHeight", | 150 "innerHeight", |
| 150 "innerWidth", | 151 "innerWidth", |
| 151 "locationbar", | 152 "locationbar", |
| 152 "menubar", | 153 "menubar", |
| 153 "name", | 154 "name", |
| 154 "navigator", | 155 "navigator", |
| 155 "offscreenBuffering", | 156 "offscreenBuffering", |
| 156 "onabort", | 157 "onabort", |
| 157 "onbeforeunload", | 158 "onbeforeunload", |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 | 200 |
| 200 var windowFunctionPropertiesAllowed = [ | 201 var windowFunctionPropertiesAllowed = [ |
| 201 "blur", | 202 "blur", |
| 202 "close", | 203 "close", |
| 203 "focus" | 204 "focus" |
| 204 ] | 205 ] |
| 205 | 206 |
| 206 var windowAttributesPropertiesAllowed = [ | 207 var windowAttributesPropertiesAllowed = [ |
| 207 "closed", | 208 "closed", |
| 208 "frames", | 209 "frames", |
| 209 "history", | |
| 210 "length", | 210 "length", |
| 211 "opener", | 211 "opener", |
| 212 "parent", | 212 "parent", |
| 213 "self", | 213 "self", |
| 214 "top", | 214 "top", |
| 215 "window", | 215 "window", |
| 216 ]; | 216 ]; |
| 217 | 217 |
| 218 window.onload = function() | 218 window.onload = function() |
| 219 { | 219 { |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 } | 284 } |
| 285 } | 285 } |
| 286 </script> | 286 </script> |
| 287 </head> | 287 </head> |
| 288 <body> | 288 <body> |
| 289 <p>This test checks cross-frame access security (rdar://problem/5251309).</p> | 289 <p>This test checks cross-frame access security (rdar://problem/5251309).</p> |
| 290 <iframe src="http://localhost:8000/security/resources/cross-frame-iframe-for-get
-test.html" style=""></iframe> | 290 <iframe src="http://localhost:8000/security/resources/cross-frame-iframe-for-get
-test.html" style=""></iframe> |
| 291 <pre id="console"></pre> | 291 <pre id="console"></pre> |
| 292 </body> | 292 </body> |
| 293 </html> | 293 </html> |
| OLD | NEW |