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

Side by Side Diff: LayoutTests/http/tests/security/window-named-valueOf.html

Issue 8090001: Merge 96341 - We should ignore the return value of GetRealNamedProperty (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/window-named-valueOf-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 layoutTestController.setCanOpenWindows(); 5 layoutTestController.setCanOpenWindows();
6 layoutTestController.setCloseRemainingWindowsWhenComplete(true); 6 layoutTestController.setCloseRemainingWindowsWhenComplete(true);
7 } 7 }
8 </script> 8 </script>
9 <body> 9 <body>
10 This passes if it doesn't alert the contents of innocent-victim. 10 This passes if it doesn't alert the contents of innocent-victim.
(...skipping 12 matching lines...) Expand all
23 obj.__proto__.__proto__ = parent; 23 obj.__proto__.__proto__ = parent;
24 alert(obj.valueOf.constructor("return document.body.innerHTML")( )); 24 alert(obj.valueOf.constructor("return document.body.innerHTML")( ));
25 } catch(ex) { 25 } catch(ex) {
26 } 26 }
27 if (window.layoutTestController) 27 if (window.layoutTestController)
28 layoutTestController.notifyDone(); 28 layoutTestController.notifyDone();
29 } + ")()</scr" + "ipt>"; 29 } + ")()</scr" + "ipt>";
30 } 30 }
31 } 31 }
32 </script> 32 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/window-named-valueOf-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698