Merge pull request #3670 from mixmaxhq/jeff/fix_window_open

Fix `window.open` not respecting the features string
This commit is contained in:
Cheng Zhao 2015-12-04 10:55:51 +08:00
commit 504d3d3088
3 changed files with 13 additions and 4 deletions

View file

@ -5,7 +5,7 @@ frameToGuest = {}
# Copy attribute of |parent| to |child| if it is not defined in |child|.
mergeOptions = (child, parent) ->
for own key, value of parent when key not in child
for own key, value of parent when key not in Object.keys child
if typeof value is 'object'
child[key] = mergeOptions {}, value
else