8000 [Bug]: window reference from window.open does not have preload script executed · Issue #32661 · electron/electron · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[Bug]: window reference from window.open does not have preload script executed #32661
Closed as not planned
@t57ser

Description

@t57ser

Preflight Checklist

Electron Version

17.0.0-beta.5

What operating system are you using?

Windows

Operating System Version

Windows 10 19042.985

What arch are you using?

x64

Last Known Working Electron version

14.1.1

Expected Behavior

var win = window.open("https://www.google.com");
win.hello

value should be accessible if defined in preload script

Actual Behavior

The value is undefined. If trying to manually access it later it will be defined, probably because the preload script is executed at a later time.

Testcase Gist URL

https://gist.github.com/t57ser/be7947cd051cdedf1e03c31100785042

Additional Information

No response

< 58D7 /div>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0