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) 2017 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.location.href = |
12 window.open( | 12 "data:text/html,<html><body>Initial dummy guest</body></html>"; |
13 'data:text/html,<html><body>Initial dummy guest</body></html>'); | |
14 }; | |
15 </script> | 13 </script> |
16 </head> | 14 </head> |
17 <body style="padding: 0; margin: 0;"> | 15 <body style="padding: 0; margin: 0;"> |
18 </body> | 16 </body> |
19 </html> | 17 </html> |
OLD | NEW |