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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/xss-DENIED-htmlelelment-with-iframe-proto.html

Issue 2452073002: Freeze global prototype chain per WebIDL (Closed)
Patch Set: Remove useless test Created 4 years, 1 month 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
(Empty)
1 <html>
2 <head>
3 <script src="resources/cross-frame-access.js"></script>
4 </head>
5 <body>
6 <iframe src="http://localhost:8000/security/resources/iframe-with-element.html" style="">
Yuki 2016/11/09 07:06:43 It seems you can delete http/tests/security/resour
7 </iframe>
8 <pre id="console"></pre>
9 <script>
10 if (window.testRunner)
11 testRunner.dumpAsText();
12
13 log("Tests that making other frame window a prototype doesn't expose that window subframe");
14
15 targetWindow = frames[0];
16
17 window.onload = function() {
18 __proto__ = targetWindow;
19 shouldThrowException('targetWindow.myinput');
20 }
21 </script>
22 </body>
23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698