diff --git a/lib/renderer/override.js b/lib/renderer/override.js index b5d6cb2e46df..29cf9f5acaec 100644 --- a/lib/renderer/override.js +++ b/lib/renderer/override.js @@ -139,7 +139,7 @@ window.open = function (url, frameName, features) { } // Resolve relative urls. - if (url == null || url == '') { + if (url == null || url === '') { url = 'about:blank' } else { url = resolveURL(url)