Bug 1128443 Comment 10 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

(In reply to ISHIKAWA, Chiaki from comment #8)
> 1.
> ```
> 27:51.51 GECKO(1380071) WARNING: content window passed to PrivateBrowsingUtils.isWindowPrivate. Use isContentWindowPrivate instead (but only for frame scripts).
> 27:51.51 GECKO(1380071) pbu_isWindowPrivate@resource://gre/modules/PrivateBrowsingUtils.sys.mjs:23:11
> 27:51.51 GECKO(1380071) _update/useDarkTheme<@resource://gre/modules/LightweightThemeConsumer.sys.mjs:277:36
> 27:51.51 GECKO(1380071) _update@resource://gre/modules/LightweightThemeConsumer.sys.mjs:292:7
> 27:51.51 GECKO(1380071) LightweightThemeConsumer@resource://gre/modules/LightweightThemeConsumer.sys.mjs:220:8
> 27:51.51 GECKO(1380071) observe/<@resource:///modules/MailGlue.sys.mjs:481:15
> ```

Even just running Daily, I get this every time the address book is being opened.

> 2.
> ```
> 89:15.66 GECKO(1415128) WARNING: content window passed to PrivateBrowsingUtils.isWindowPrivate. Use isContentWindowPrivate instead (but only for frame scripts).
> 89:15.66 GECKO(1415128) pbu_isWindowPrivate@resource://gre/modules/PrivateBrowsingUtils.sys.mjs:23:11
> 89:15.66 GECKO(1415128) isBrowserPrivate@resource://gre/modules/PrivateBrowsingUtils.sys.mjs:43:19
> 89:15.66 GECKO(1415128) fixupAndLoadURIString@resource://gre/modules/RemoteWebNavigation.sys.mjs:129:56
> 89:15.66 GECKO(1415128) fixupAndLoadURIString/<@chrome://global/content/elements/browser-custom-element.js:958:28
> 89:15.66 GECKO(1415128) _wrapURIChangeCall@chrome://global/content/elements/browser-custom-element.js:886:9
> 89:15.66 GECKO(1415128) fixupAndLoadURIString@chrome://global/content/elements/browser-custom-element.js:957:12
> 89:15.66 GECKO(1415128) _showAccountInfo@chrome://messenger/content/preferences/compose.js:626:13
> 89:15.66 GECKO(1415128) onSelectionChanged@chrome://messenger/content/preferences/compose.js:575:10
> 89:15.66 GECKO(1415128) onselect@about:preferences#compose:1:12
> 89:15.66 GECKO(1415128) _fireOnSelect@chrome://global/content/elements/richlistbox.js:328:12
> 89:15.66 GECKO(1415128) selectItem@chrome://global/content/elements/richlistbox.js:459:12
> ```

This happens when a Filelink provider is selected under Settings|Composition.

While the first one could be mitigated by setting `browser.theme.dark-private-windows` to `false` (see https://searchfox.org/mozilla-central/rev/1e8cec3727d6e09f4af41bb3d202b7a4c326ed84/toolkit/modules/LightweightThemeConsumer.sys.mjs#276), I've found no easy workaround for the second one.
(In reply to ISHIKAWA, Chiaki from comment #8)
> 1.
> ```
> 27:51.51 GECKO(1380071) WARNING: content window passed to PrivateBrowsingUtils.isWindowPrivate. Use isContentWindowPrivate instead (but only for frame scripts).
> 27:51.51 GECKO(1380071) pbu_isWindowPrivate@resource://gre/modules/PrivateBrowsingUtils.sys.mjs:23:11
> 27:51.51 GECKO(1380071) _update/useDarkTheme<@resource://gre/modules/LightweightThemeConsumer.sys.mjs:277:36
> 27:51.51 GECKO(1380071) _update@resource://gre/modules/LightweightThemeConsumer.sys.mjs:292:7
> 27:51.51 GECKO(1380071) LightweightThemeConsumer@resource://gre/modules/LightweightThemeConsumer.sys.mjs:220:8
> 27:51.51 GECKO(1380071) observe/<@resource:///modules/MailGlue.sys.mjs:481:15
> ```

Even just running Thunderbird Daily, I get this every time the address book is being opened.

> 2.
> ```
> 89:15.66 GECKO(1415128) WARNING: content window passed to PrivateBrowsingUtils.isWindowPrivate. Use isContentWindowPrivate instead (but only for frame scripts).
> 89:15.66 GECKO(1415128) pbu_isWindowPrivate@resource://gre/modules/PrivateBrowsingUtils.sys.mjs:23:11
> 89:15.66 GECKO(1415128) isBrowserPrivate@resource://gre/modules/PrivateBrowsingUtils.sys.mjs:43:19
> 89:15.66 GECKO(1415128) fixupAndLoadURIString@resource://gre/modules/RemoteWebNavigation.sys.mjs:129:56
> 89:15.66 GECKO(1415128) fixupAndLoadURIString/<@chrome://global/content/elements/browser-custom-element.js:958:28
> 89:15.66 GECKO(1415128) _wrapURIChangeCall@chrome://global/content/elements/browser-custom-element.js:886:9
> 89:15.66 GECKO(1415128) fixupAndLoadURIString@chrome://global/content/elements/browser-custom-element.js:957:12
> 89:15.66 GECKO(1415128) _showAccountInfo@chrome://messenger/content/preferences/compose.js:626:13
> 89:15.66 GECKO(1415128) onSelectionChanged@chrome://messenger/content/preferences/compose.js:575:10
> 89:15.66 GECKO(1415128) onselect@about:preferences#compose:1:12
> 89:15.66 GECKO(1415128) _fireOnSelect@chrome://global/content/elements/richlistbox.js:328:12
> 89:15.66 GECKO(1415128) selectItem@chrome://global/content/elements/richlistbox.js:459:12
> ```

This happens when a Filelink provider is selected under Settings|Composition.

While the first one could be mitigated by setting `browser.theme.dark-private-windows` to `false` (see https://searchfox.org/mozilla-central/rev/1e8cec3727d6e09f4af41bb3d202b7a4c326ed84/toolkit/modules/LightweightThemeConsumer.sys.mjs#276), I've found no easy workaround for the second one.

Back to Bug 1128443 Comment 10