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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/xss-DENIED-window-name-alert.html

Issue 2753773003: v8bindings: Reverts crrev.com/2606723002 with minimum changes. (Closed)
Patch Set: Updated tests and their expectations. Created 3 years, 9 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 <script> 1 <script>
2 if (window.testRunner) 2 if (window.testRunner)
3 testRunner.dumpAsText(); 3 testRunner.dumpAsText();
4 </script> 4 </script>
5 <iframe 5 <iframe
6 sandbox="allow-scripts" 6 sandbox="allow-scripts"
7 srcdoc=" 7 srcdoc="
8 <script> 8 <script>
9 window.name = 'alert'; 9 window.name = 'alert';
10 try { 10 try {
11 top.alert; 11 top.alert;
12 console.log('FAIL'); 12 console.log('FAIL');
13 console.log('compatible with old versions = ' + (top.alert === window));
13 } catch (e) { 14 } catch (e) {
14 console.log(e.toString()); 15 console.log(e.toString());
15 } 16 }
16 </script>" 17 </script>"
17 ></iframe> 18 ></iframe>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698