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

Unified Diff: chrome/test/data/window_open_and_navigate.html

Issue 1902433002: Do not create pending NavigationEntry when a transient one is present. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | content/browser/frame_host/navigator_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | content/browser/frame_host/navigator_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698