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

Unified Diff: chrome/test/data/window.open.blank.html

Issue 7497058: New windows opened in javascript with target = "_blank" should (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Removed unnecessary code. Created 9 years, 4 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
Index: chrome/test/data/window.open.blank.html
diff --git a/chrome/test/data/window.open.blank.html b/chrome/test/data/window.open.blank.html
new file mode 100644
index 0000000000000000000000000000000000000000..03a8328d259f5af3da56dccf58a0f948fc84f248
--- /dev/null
+++ b/chrome/test/data/window.open.blank.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>88129</title>
+ <script>
+ function openWindow1() {
+ var name = window.open('window.open.blank.html', 'blank').name;
+ window.domAutomationController.send(name);
+ }
+
+ function openWindow2() {
+ var name = window.open('window.open.blank.html', '_blank').name;
+ window.domAutomationController.send(name);
+ }
+ </script>
+</head>
+<body>
+ <h1>88129</h1>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698