browser.tabs.update fails for extension page
Categories
(GeckoView :: Extensions, defect, P1)
Tracking
(firefox68 fixed)
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: csadilek, Assigned: agi)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: crash, regression, Whiteboard: [geckoview:fenix:m6])
Attachments
(1 file)
When invoking browser.tabs.update for an extension page (an html page packaged with the extension) I see about:blank being loaded with the following errors in the console:
TypeError: E10SUtils is undefined in GeckoViewNavigation.jsm:159:11
[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.removeSheetUsingURIString]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/ExtensionCommon.jsm :: runSafeSyncWithoutClone :: line 65" data: no] ExtensionCommon.jsm:65:12
runSafeSyncWithoutClone resource://gre/modules/ExtensionCommon.jsm:65
cleanup resource://gre/modules/ExtensionContent.jsm:353
close resource://gre/modules/ExtensionContent.jsm:814
destroyed resource://gre/modules/ExtensionContent.jsm:889
observe resource://gre/modules/ExtensionContent.jsm:905
I did pass in the url as returned from browser.extension.getURL(...) which seems to have correctly resolved the moz-extension:// url.
Assignee | ||
Comment 1•6 years ago
|
||
This fixes a crash in browser.tabs.update
when used with WebExtension pages.
Assignee | ||
Updated•6 years ago
|
Comment 2•6 years ago
|
||
Christian, does the AC Reader View extension need this fix for Fenix MVP?
P1 crash regression from bug 1521549
Reporter | ||
Comment 3•6 years ago
|
||
I think so, yes. With this fix we can make the reader view extension much better, as it will allow us to properly isolate reader view from the original page (and from JavaScript that might be running there to display popups, ads, etc.).
Thanks for fixing this so quickly!
Comment 5•6 years ago
|
||
Backed out for causing perma geckoview-junit failures on contentPortDisconnectFromApp.
Backout link: https://hg.mozilla.org/integration/autoland/rev/55e45fc9d529196284843ed9a192e19edda6515c
Log link: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=246985987&repo=autoland&lineNumber=4311
Assignee | ||
Updated•6 years ago
|
Comment 7•6 years ago
|
||
bugherder |
Reporter | ||
Updated•6 years ago
|
Updated•3 years ago
|
Comment 8•3 years ago
|
||
Moving some extension bugs to the GeckoView::Extensions component.
Description
•