8000 setContentProtection(true) is cleared by win.hide() · Issue #45844 · electron/electron · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
setContentProtection(true) is cleared by win.hide() #45844
Closed
@Nantris

Description

@Nantris

Preflight Checklist

Electron Version

34.3.0

What operating system(s) are you using?

Windows

Operating System Version

Windows 11 Pro - 22621.4317

What arch are you using?

x64

Last Known Working Electron version

32.3.2

Expected Behavior

Using Mod+Shift+H in the attached gist (win.hide()) does not affect setContentProtection

Actual Behavior

Using Mod+Shift+H in the attached gist (win.hide()) clears setContentProtection(true) and the window becomes capturable again.

Testcase Gist URL

https://gist.github.com/2890703f0159fc18343a2db966749b06

Additional Information

Affects at least since 33.x

Metadata

Metadata

Assignees

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0