Chromium Code Reviews| Index: chrome/test/data/window_open_and_navigate.html |
| diff --git a/chrome/test/data/window_open_and_navigate.html b/chrome/test/data/window_open_and_navigate.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..2aa68b812f208a7dd2d3dffce4067f108193fffe |
| --- /dev/null |
| +++ b/chrome/test/data/window_open_and_navigate.html |
| @@ -0,0 +1,13 @@ |
| +<script> |
| +var win = null; |
| + |
| +function openWin() { |
| + win = window.open(); |
| +} |
| + |
| +function navigate(url) { |
| + setTimeout(function() { |
| + win.location = url; |
| + }, 10); |
| +} |
| +</script> |