Closed
Bug 1499067
Opened 6 years ago
Closed 6 years ago
nativeTab.browser.ownerGlobal.BrowserApp.closeTab not implemented in Geckoview
Categories
(GeckoView :: General, defect, P1)
GeckoView
General
Tracking
(geckoview64 wontfix, firefox64 wontfix, firefox65 fixed)
RESOLVED
FIXED
mozilla65
People
(Reporter: bc, Assigned: mbrubeck)
References
Details
Attachments
(1 file)
I have seen the following error in the android logcat when running speedometer:
10-14 16:32:44.131 5673 5692 E GeckoConsole: [JavaScript Error: "nativeTab.browser.ownerGlobal.BrowserApp.closeTab is not a function" {file: "chrome://geckoview/content/ext-tabs.js" line: 309}]
10-14 16:32:44.131 5673 5692 E GeckoConsole: remove@chrome://geckoview/content/ext-tabs.js:309:13
10-14 16:32:44.131 5673 5692 E GeckoConsole: call/result</<@resource://gre/modules/ExtensionParent.jsm:948:49
10-14 16:32:44.131 5673 5692 E GeckoConsole: withPendingBrowser@resource://gre/modules/ExtensionParent.jsm:602:26
10-14 16:32:44.131 5673 5692 E GeckoConsole: call/result<@resource://gre/modules/ExtensionParent.jsm:947:16
10-14 16:32:44.131 5673 5692 E GeckoConsole: withTiming@resource://gre/modules/ExtensionParent.jsm:914:14
10-14 16:32:44.131 5673 5692 E GeckoConsole: call@resource://gre/modules/ExtensionParent.jsm:946:20
When the raptor webext calls cleanUp in https://searchfox.org/mozilla-central/source/testing/raptor/webext/raptor/runner.js#367 it calls ext.tabs.remove(testTabID) in https://searchfox.org/mozilla-central/source/mobile/android/components/extensions/ext-tabs.js#302 which makes the call to nativeTab.browser.ownerGlobal.BrowserApp.closeTab(nativeTab);
which is not implemented.
Example: https://treeherder.mozilla.org/logviewer.html#?job_id=205419101&repo=mozilla-central
This is reproducible when running locally via
./mach raptor-test --test raptor-speedometer --app=geckoview --binary="org.mozilla.geckoview_example"
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → mbrubeck
Assignee | ||
Comment 2•6 years ago
|
||
Pushed by mbrubeck@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/412a0c8ee8c4
Stub implementation of BrowserApp.closeTab for GeckoView. r=snorp
Comment 4•6 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
Comment 5•6 years ago
|
||
64=wontfix because we don't need to uplift this Raptor test fix.
Updated•6 years ago
|
Product: Firefox for Android → GeckoView
Updated•6 years ago
|
Target Milestone: Firefox 65 → mozilla65
You need to log in
before you can comment on or make changes to this bug.
Description
•