[Bug]: Subclass of BrowserWindow missing from BrowserWindow.getAllWindows() #41785
Closed
3 tasks done
Labels
29-x-y
bug 🪲
has-repro-comment
Issue has repro in comments
platform/all
status/confirmed
A maintainer reproduced the bug or agreed with the feature
Preflight Checklist
Electron Version
29.2.0
What operating system are you using?
macOS
Operating System Version
Sonoma 14.3.1
What arch are you using?
arm64 (including Apple Silicon)
Last Known Working Electron version
No response
Expected Behavior
In the following code, I declare a subclass of
BrowserWindow
by the name ofCustomWindow
.Then, I instantiate a regular
BrowserWindow
, as well as aCustomWindow
.Both windows appear.
When I call
BrowserWindow.getAllWindows().length
, I expect2
to be returned.Actual Behavior
When I call
BrowserWindow.getAllWindows().length
,1
is returned.Testcase Gist URL
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: