OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <!-- | 2 <!-- |
3 * Copyright (c) 2013 The Chromium Authors. All rights reserved. Use of this | 3 * Copyright (c) 2013 The Chromium Authors. All rights reserved. Use of this |
4 * source code is governed by a BSD-style license that can be found in the | 4 * source code is governed by a BSD-style license that can be found in the |
5 * LICENSE file. | 5 * LICENSE file. |
6 --> | 6 --> |
7 <html> | 7 <html> |
8 <head> | 8 <head> |
9 <title>A guest that opens a new window.</title> | 9 <title>A guest that opens a new window.</title> |
10 <script type="text/javascript"> | 10 <script type="text/javascript"> |
11 window.onload = function() { | 11 window.onload = function() { |
12 document.getElementById('link').click(); | 12 document.getElementById('link').click(); |
13 }; | 13 }; |
14 </script> | 14 </script> |
15 </head> | 15 </head> |
16 <body style="padding: 0; margin: 0;"> | 16 <body style="padding: 0; margin: 0;"> |
17 <a id="link" href="data:text/html,<html><body>Noreferrer guest</body></html>" | 17 <a id="link" href="about:blank" |
18 rel="noreferrer" target="_blank">Link</a> | 18 rel="noreferrer" target="_blank">Noreferrer guest link</a> |
19 </body> | 19 </body> |
20 </html> | 20 </html> |
OLD | NEW |