Closed Bug 1766322 Opened 3 years ago Closed 3 years ago

JavaScript Error: "TypeError: can't access property "remoteTab", browser.frameLoader is null" {file: "resource://gre/modules/GeckoViewWebExtension.jsm" line: 547}]

Categories

(GeckoView :: Extensions, defect)

Unspecified
All
defect

Tracking

(firefox-esr91 unaffected, firefox99 unaffected, firefox100 wontfix, firefox101 fixed)

RESOLVED FIXED
101 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox99 --- unaffected
firefox100 --- wontfix
firefox101 --- fixed

People

(Reporter: whimboo, Assigned: calu)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

As noticed while investigating a perma failure for our CDP support on Android I noticed that the following Javascript error in the adb logcat which actually causes our tests to fail which have Fission enabled. It wasn't visible by last week so I assume it's a recent regression.

04-25 22:14:44.486  7296  7322 E GeckoConsole: [JavaScript Error: "TypeError: can't access property "remoteTab", browser.frameLoader is null" {file: "resource://gre/modules/GeckoViewWebExtension.jsm" line: 547}]
04-25 22:14:44.486  7296  7322 E GeckoConsole: setTabActive@resource://gre/modules/GeckoViewWebExtension.jsm:547:9
04-25 22:14:44.486  7296  7322 E GeckoConsole: onEvent@resource://gre/modules/GeckoViewTab.jsm:219:29
04-25 22:14:44.486  7296  7322 E GeckoConsole: _dispatch@resource://gre/modules/GeckoViewModule.jsm:147:21
04-25 22:14:44.486  7296  7322 E GeckoConsole: onEvent@resource://gre/modules/GeckoViewModule.jsm:135:12

Agi, do you have an idea?

Flags: needinfo?(agi)

This is a regression from Bug 1753700, Cathy maybe we can also add a check for browser.frameLoader?

Flags: needinfo?(agi) → needinfo?(calu)
Regressions: 1753700
Regressed by: 1753700
No longer regressions: 1753700

Set release status flags based on info from the regressing bug 1753700

Has Regression Range: --- → yes

Is this affecting users or just breaking tests? Checking to see if it is something we need to prioritize for fx100 once fixed.

Flags: needinfo?(agi)
Assignee: nobody → calu
Status: NEW → ASSIGNED
Pushed by calu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b4233995982f Check browser.frameLoader for tab prioritization r=geckoview-reviewers,agi
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch

I think this can only affect system pages like about:, so I wouldn't think it's something we need to uplift.

Flags: needinfo?(agi)
Flags: needinfo?(calu)

Moving some WebExtension bugs to the GeckoView::Extensions component.

Component: General → Extensions
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: