Index: chrome/test/data/extensions/platform_apps/navigation/main.js |
diff --git a/chrome/test/data/extensions/platform_apps/navigation/main.js b/chrome/test/data/extensions/platform_apps/navigation/main.js |
index 6a9f5758f1254e6174a2a33dc21e04c7444b648f..63a2e5c783a2b72faa55f58aa52efd83ab3dfcea 100644 |
--- a/chrome/test/data/extensions/platform_apps/navigation/main.js |
+++ b/chrome/test/data/extensions/platform_apps/navigation/main.js |
@@ -56,6 +56,15 @@ chrome.test.getConfig(function(config) { |
function() { testLink.href = IN_APP_URL; clickTestLink(); }, |
function() { testLink.href = REMOTE_URL; clickTestLink(); }, |
+ // Links with target blank and a remote URL open a new tab in the browser |
+ // (verified in C++). |
+ function() { |
+ testLink.target = '_blank'; |
+ testLink.href = IN_APP_URL; |
+ clickTestLink(); |
+ }, |
+ function() { testLink.href = 'http://chromium.org'; clickTestLink(); }, |
+ |
// If we manage to execute this test case, then we haven't navigated away. |
function() { chrome.test.notifyPass(); } |
]; |