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

Side by Side Diff: chrome/test/data/popup_blocker/popup-window-open-noopener.html

Issue 2679513002: Track the original opener of a webcontents so we can rely on it for popups (Closed)
Patch Set: Created 3 years, 10 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
(Empty)
1 <!-- Copyright 2017 The Chromium Authors. All rights reserved.
2 Use of this source code is governed by a BSD-style license that can be
3 found in the LICENSE file. -->
4 <head>
5 <html>
6 <head>
7 <title>Popup created using window.open</title>
8 <script>
9 function test() {
10 window.open("data:text/html,<title>Popup Success!</title>" +
11 "you should not see this message if popup blocker is enabled",
12 "mywindow", "menubar=1, resizable=1, width=350, height=250, noopener");
13 }
14 </script>
15 </head>
16 <body onload="test()">
17 pop-up test page
18 </body>
19 </html>
OLDNEW
« no previous file with comments | « chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc ('k') | content/browser/frame_host/frame_tree_node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698