Closed Bug 1447807 Opened 6 years ago Closed 5 years ago

Error: browser.ownerGlobal is null

Categories

(WebExtensions :: Request Handling, defect, P2)

defect

Tracking

(firefox61 wontfix, firefox72 verified)

VERIFIED FIXED
mozilla72
Tracking Status
firefox61 --- wontfix
firefox72 --- verified

People

(Reporter: kmag, Assigned: trishul.goel)

References

()

Details

(Whiteboard: [nightly-js-sentry:3169594])

Attachments

(1 file)

This bug was automatically filed from Sentry: https://sentry.prod.mozaws.net/operations/nightly-js-errors/issues/3169594/

Error: browser.ownerGlobal is null
    at getBrowserData(chrome://browser/content/ext-browser.js:546:9)
    at listener(chrome://extensions/content/ext-webRequest.js:22:23)
    at runChannelListener/<(resource://gre/modules/WebRequest.jsm:773:24)
    at forEach(self-hosted:3625:9)
    at runChannelListener(resource://gre/modules/WebRequest.jsm:739:7)
    at handleEvent(resource://gre/modules/WebRequest.jsm:711:9)
Component: General → WebExtensions: Request Handling
Product: Firefox → Toolkit
Product: Toolkit → WebExtensions
Priority: -- → P2

STR:

  • install https-everywhere
  • open private window
  • open 3-4 tabs with search queries(do not complete address, let search engine load results)
  • close the private window
  • error can be seen in console

I believe we can subside the error here
https://searchfox.org/mozilla-central/source/toolkit/components/extensions/parent/ext-webRequest.js#29
with
if (data.browser && data.browser.ownerGlobal) {

Sounds good, I will create a patch

Error: browser.ownerGlobal is null

Assignee: nobody → trishul.goel
Status: NEW → ASSIGNED
Keywords: checkin-needed

Pushed by apavel@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/652978346e60
Error: browser.ownerGlobal is null r=mixedpuppy

Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
Regressions: 1591690

Hello,

Verified the fix using the latest Nightly (72.0a1/20191027212548) under Windows 10 Pro 64-bit and MacOS Catalina 10.15.

Proceeding with the STR from Comment 1 will no longer produce the error.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: