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

Side by Side Diff: LayoutTests/http/tests/security/cross-frame-access-getOwnPropertyDescriptor.html

Issue 21263002: Add back captureEvents and releaseEvents (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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 | Annotate | Revision Log
OLDNEW
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
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",
111 "clearInterval", 112 "clearInterval",
112 "clearTimeout", 113 "clearTimeout",
113 "confirm", 114 "confirm",
114 "find", 115 "find",
115 "getComputedStyle", 116 "getComputedStyle",
116 "getMatchedCSSRules", 117 "getMatchedCSSRules",
117 "getSelection", 118 "getSelection",
118 "moveBy", 119 "moveBy",
119 "moveTo", 120 "moveTo",
120 "open", 121 "open",
121 "print", 122 "print",
122 "prompt", 123 "prompt",
124 "releaseEvents",
123 "removeEventListener", 125 "removeEventListener",
124 "resizeBy", 126 "resizeBy",
125 "resizeTo", 127 "resizeTo",
126 "scroll", 128 "scroll",
127 "scrollBy", 129 "scrollBy",
128 "scrollTo", 130 "scrollTo",
129 "setInterval", 131 "setInterval",
130 "setTimeout", 132 "setTimeout",
131 "showModalDialog", 133 "showModalDialog",
132 "stop", 134 "stop",
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 shouldThrowException("targetWindow.history"); 288 shouldThrowException("targetWindow.history");
287 } 289 }
288 </script> 290 </script>
289 </head> 291 </head>
290 <body> 292 <body>
291 <p>This test checks cross-frame access security of getOwnPropertyDescriptor (htt ps://bugs.webkit.org/show_bug.cgi?id=32119).</p> 293 <p>This test checks cross-frame access security of getOwnPropertyDescriptor (htt ps://bugs.webkit.org/show_bug.cgi?id=32119).</p>
292 <iframe src="http://localhost:8000/security/resources/cross-frame-iframe-for-get -test.html" style=""></iframe> 294 <iframe src="http://localhost:8000/security/resources/cross-frame-iframe-for-get -test.html" style=""></iframe>
293 <pre id="console"></pre> 295 <pre id="console"></pre>
294 </body> 296 </body>
295 </html> 297 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698