From: John Haley Date: Mon, 29 Jun 2015 17:32:27 +0000 (-0700) Subject: Fix `window.open` with wrong name X-Git-Tag: v0.29.0~4^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=565a500320ae673508eb72cb11dfb6ed44c182df;p=electron.git Fix `window.open` with wrong name When calling `window.open` the newly created window would have the name of the last option in the `features` argument as the title. I think it's supposed to be pointed to `frameName`. --- diff --git a/atom/renderer/lib/override.coffee b/atom/renderer/lib/override.coffee index 4c2b64a8..7c32727c 100644 --- a/atom/renderer/lib/override.coffee +++ b/atom/renderer/lib/override.coffee @@ -45,7 +45,7 @@ window.open = (url, frameName='', features='') -> value options.x ?= options.left if options.left options.y ?= options.top if options.top - options.title ?= name + options.title ?= frameName options.width ?= 800 options.height ?= 600