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

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

Issue 143673005: Remove Entity interface (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 1
2 <p>This test checks cross-frame access security of window attribute setters (rda r://problem/5326791).</p> 2 <p>This test checks cross-frame access security of window attribute setters (rda r://problem/5326791).</p>
3 <iframe src="http://localhost:8000/security/resources/cross-frame-iframe-for-put -test.html" style=""></iframe> 3 <iframe src="http://localhost:8000/security/resources/cross-frame-iframe-for-put -test.html" style=""></iframe>
4 <pre id="console"></pre> 4 <pre id="console"></pre>
5 <script> 5 <script>
6 function log(s) 6 function log(s)
7 { 7 {
8 document.getElementById("console").appendChild(document.createTextNode(s + " \n")); 8 document.getElementById("console").appendChild(document.createTextNode(s + " \n"));
9 } 9 }
10 10
(...skipping 25 matching lines...) Expand all
36 setForbiddenProperty(targetWindow, "CSSRule"); 36 setForbiddenProperty(targetWindow, "CSSRule");
37 setForbiddenProperty(targetWindow, "CSSStyleDeclaration"); 37 setForbiddenProperty(targetWindow, "CSSStyleDeclaration");
38 setForbiddenProperty(targetWindow, "CSSValue"); 38 setForbiddenProperty(targetWindow, "CSSValue");
39 setForbiddenProperty(targetWindow, "Document"); 39 setForbiddenProperty(targetWindow, "Document");
40 setForbiddenProperty(targetWindow, "DocumentFragment"); 40 setForbiddenProperty(targetWindow, "DocumentFragment");
41 setForbiddenProperty(targetWindow, "DocumentType"); 41 setForbiddenProperty(targetWindow, "DocumentType");
42 setForbiddenProperty(targetWindow, "DOMException"); 42 setForbiddenProperty(targetWindow, "DOMException");
43 setForbiddenProperty(targetWindow, "DOMImplementation"); 43 setForbiddenProperty(targetWindow, "DOMImplementation");
44 setForbiddenProperty(targetWindow, "DOMParser"); 44 setForbiddenProperty(targetWindow, "DOMParser");
45 setForbiddenProperty(targetWindow, "Element"); 45 setForbiddenProperty(targetWindow, "Element");
46 setForbiddenProperty(targetWindow, "Entity");
47 setForbiddenProperty(targetWindow, "EvalError"); 46 setForbiddenProperty(targetWindow, "EvalError");
48 setForbiddenProperty(targetWindow, "Event"); 47 setForbiddenProperty(targetWindow, "Event");
49 setForbiddenProperty(targetWindow, "HTMLAnchorElement"); 48 setForbiddenProperty(targetWindow, "HTMLAnchorElement");
50 setForbiddenProperty(targetWindow, "HTMLAppletElement"); 49 setForbiddenProperty(targetWindow, "HTMLAppletElement");
51 setForbiddenProperty(targetWindow, "HTMLAreaElement"); 50 setForbiddenProperty(targetWindow, "HTMLAreaElement");
52 setForbiddenProperty(targetWindow, "HTMLBaseElement"); 51 setForbiddenProperty(targetWindow, "HTMLBaseElement");
53 setForbiddenProperty(targetWindow, "HTMLBodyElement"); 52 setForbiddenProperty(targetWindow, "HTMLBodyElement");
54 setForbiddenProperty(targetWindow, "HTMLBRElement"); 53 setForbiddenProperty(targetWindow, "HTMLBRElement");
55 setForbiddenProperty(targetWindow, "HTMLButtonElement"); 54 setForbiddenProperty(targetWindow, "HTMLButtonElement");
56 setForbiddenProperty(targetWindow, "HTMLCanvasElement"); 55 setForbiddenProperty(targetWindow, "HTMLCanvasElement");
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 // log(targetWindow.focus.__proto__); 230 // log(targetWindow.focus.__proto__);
232 log("MAIN WINDOW: !!-- Test ended--!!"); 231 log("MAIN WINDOW: !!-- Test ended--!!");
233 232
234 window.stop(); 233 window.stop();
235 234
236 if (window.testRunner) 235 if (window.testRunner)
237 testRunner.notifyDone(); 236 testRunner.notifyDone();
238 }, 1); 237 }, 1);
239 } 238 }
240 </script> 239 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698