| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 "XPathEvaluator", | 101 "XPathEvaluator", |
| 102 "XPathResult", | 102 "XPathResult", |
| 103 "XSLTProcessor" | 103 "XSLTProcessor" |
| 104 ]; | 104 ]; |
| 105 | 105 |
| 106 var windowFunctionPropertiesNotAllowed = [ | 106 var windowFunctionPropertiesNotAllowed = [ |
| 107 "addEventListener", | 107 "addEventListener", |
| 108 "alert", | 108 "alert", |
| 109 "atob", | 109 "atob", |
| 110 "btoa", | 110 "btoa", |
| 111 "captureEvents", | |
| 112 "clearInterval", | 111 "clearInterval", |
| 113 "clearTimeout", | 112 "clearTimeout", |
| 114 "confirm", | 113 "confirm", |
| 115 "find", | 114 "find", |
| 116 "getComputedStyle", | 115 "getComputedStyle", |
| 117 "getMatchedCSSRules", | 116 "getMatchedCSSRules", |
| 118 "getSelection", | 117 "getSelection", |
| 119 "moveBy", | 118 "moveBy", |
| 120 "moveTo", | 119 "moveTo", |
| 121 "open", | 120 "open", |
| 122 "print", | 121 "print", |
| 123 "prompt", | 122 "prompt", |
| 124 "releaseEvents", | |
| 125 "removeEventListener", | 123 "removeEventListener", |
| 126 "resizeBy", | 124 "resizeBy", |
| 127 "resizeTo", | 125 "resizeTo", |
| 128 "scroll", | 126 "scroll", |
| 129 "scrollBy", | 127 "scrollBy", |
| 130 "scrollTo", | 128 "scrollTo", |
| 131 "setInterval", | 129 "setInterval", |
| 132 "setTimeout", | 130 "setTimeout", |
| 133 "showModalDialog", | 131 "showModalDialog", |
| 134 "stop", | 132 "stop", |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 shouldBeFalse("canGetDescriptor(targetHistory, '" + historyPrope
rties[i] + "')"); | 279 shouldBeFalse("canGetDescriptor(targetHistory, '" + historyPrope
rties[i] + "')"); |
| 282 } | 280 } |
| 283 </script> | 281 </script> |
| 284 </head> | 282 </head> |
| 285 <body> | 283 <body> |
| 286 <p>This test checks cross-frame access security of getOwnPropertyDescriptor (htt
ps://bugs.webkit.org/show_bug.cgi?id=32119).</p> | 284 <p>This test checks cross-frame access security of getOwnPropertyDescriptor (htt
ps://bugs.webkit.org/show_bug.cgi?id=32119).</p> |
| 287 <iframe src="http://localhost:8000/security/resources/cross-frame-iframe-for-get
-test.html" style=""></iframe> | 285 <iframe src="http://localhost:8000/security/resources/cross-frame-iframe-for-get
-test.html" style=""></iframe> |
| 288 <pre id="console"></pre> | 286 <pre id="console"></pre> |
| 289 </body> | 287 </body> |
| 290 </html> | 288 </html> |
| OLD | NEW |