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

Side by Side Diff: chrome/test/data/constrained_files/block_alert.html

Issue 10282: Only block alert() requests from blocked popups; not all popups.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <head>
3 <title>Block alert from blocked popup?</title>
4 <script>
5 if (location.search.indexOf("popup") != -1) {
Finnur 2008/11/11 07:30:03 The indentation here is weird. Same below...
6 document.write("This should still be inside the tab, but it is now in " +
Finnur 2008/11/11 07:30:03 Not conforming to 80 chars? :)
7 "a new window!");
8 alert("The popup has been \"popped out\" of the tab");
9 } else {
10 window.open("?popup");
11 }
12 </script>
13 </head>
14 <body>
15 <h1>Block alert from blocked popup?</h1>
16 </body>
17 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698