debug/browser
throws when used in electron preload scripts
#303
Labels
has-pr
This issue has an accompanying pull request
As the title says, when logging, the
debug/browser
file checks here forWebkitAppearance
indocument.documentElement.style
, but at that time in the page's lifecycledocumentElement
is not yet defined and I get thisTypeError: Cannot read property 'style' of null
.Guess there could be a check for chromium based apps, where if both
document
andprocess
exist, you are good to go.Cheers,
Pupix
The text was updated successfully, but these errors were encountered: