From 12fcc2d4f3a8bfda1ca7a0f37f1c06b3c3f250e1 Mon Sep 17 00:00:00 2001 From: gorhill Date: Mon, 30 Mar 2015 17:42:12 -0400 Subject: [PATCH] this fixes #1128 --- platform/chromium/vapi-background.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/platform/chromium/vapi-background.js b/platform/chromium/vapi-background.js index 5b9f09d..d005947 100644 --- a/platform/chromium/vapi-background.js +++ b/platform/chromium/vapi-background.js @@ -319,9 +319,6 @@ vAPI.tabs.open = function(details) { vAPI.tabs.replace = function(tabId, url) { var targetURL = url; - if ( typeof targetURL !== 'string' || targetURL === '' ) { - return; - } // extension pages if ( /^[\w-]{2,}:/.test(targetURL) !== true ) { @@ -340,7 +337,6 @@ vAPI.tabs.replace = function(tabId, url) { if ( chrome.runtime.lastError ) { return; } - }); };