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

Side by Side Diff: LayoutTests/http/tests/security/xss-DENIED-window-index-assign.html

Issue 19923006: Test assignment to indexed window properties (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/xss-DENIED-window-index-assign-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <script>
2 if (window.testRunner)
3 testRunner.dumpAsText();
4
5 window[0] = {
6 a: "1",
7 f: function() {
8 alert("FAIL: Child called parent.f()");
9 }
10 };
11 </script>
12 <iframe src="data:text/html,<script>alert(parent[0].a);</script><script>parent[0 ].f();</script>"></iframe><br>
adamk 2013/07/22 23:19:28 Does this load synchronously? If not, you may need
abarth-chromium 2013/07/22 23:24:52 Nope. The only frames that load synchronously are
13 This test passes if the access is forbidden.
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/xss-DENIED-window-index-assign-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698