As the title says, when logging, the debug/browser file checks here for WebkitAppearance in document.documentElement.style , but at that time in the page's lifecycle documentElement is not yet defined and I get this
TypeError: Cannot read property 'style' of null.
Guess there could be a check for chromium based apps, where if both document and process exist, you are good to go.
Cheers,
Pupix