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

Side by Side Diff: LayoutTests/http/tests/security/xss-DENIED-getSelection-from-inactive-domwindow.html

Issue 8256010: Merge 97353 - DOMWindow subobjects can be re-created after navigation (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/874/
Patch Set: Created 9 years, 2 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
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/xss-DENIED-getSelection-from-inactive-domwindow-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
1 <script> 1 <script>
2 if (window.layoutTestController) { 2 if (window.layoutTestController) {
3 layoutTestController.dumpAsText(); 3 layoutTestController.dumpAsText();
4 layoutTestController.waitUntilDone(); 4 layoutTestController.waitUntilDone();
5 } 5 }
6 6
7 window.onload = function() 7 window.onload = function()
8 { 8 {
9 frame = document.body.appendChild(document.createElement("iframe")); 9 frame = document.body.appendChild(document.createElement("iframe"));
10 wnd = frame.contentWindow; 10 wnd = frame.contentWindow;
(...skipping 12 matching lines...) Expand all
23 } catch(ex) { 23 } catch(ex) {
24 } 24 }
25 25
26 if (window.layoutTestController) 26 if (window.layoutTestController)
27 layoutTestController.notifyDone(); 27 layoutTestController.notifyDone();
28 } 28 }
29 } 29 }
30 } 30 }
31 </script> 31 </script>
32 This tests passes if it doesn't alert the contents of innocent-victim.html. 32 This tests passes if it doesn't alert the contents of innocent-victim.html.
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/xss-DENIED-getSelection-from-inactive-domwindow-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698