Closed
Bug 1028091
Opened 10 years ago
Closed 3 years ago
nsIExternalProtocolService lies about URI scheme support every single time
Categories
(Firefox for Android Graveyard :: General, defect)
Firefox for Android Graveyard
General
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: Gijs, Unassigned)
References
Details
STR: 0. Connect your Fx for Android app into a console for remote debugging. 1. Execute: extProtService = Cc["@mozilla.org/uriloader/external-protocol-service;1"].getService(Ci.nsIExternalProtocolService); extProtService.externalProtocolHandlerExists("bogus") // true extProtService.externalProtocolHandlerExists("noreallythisisridiculous") // also true A bit more digging led me to: handlerInfo = extProtService.getProtocolHandlerInfoFromOS("thisistotallybogus", {}); handlerInfo.preferredApplicationHandler which output: { /* snip'd interface stuff */ name: "Android chooser", detailedDescription: "Android's default handler application chooser" } Which is all well and good, but this is kind of annoying. I would have expected an actual useful reply to "does someone know how to deal with this protocol", and it's essentially given me "yes" as a substitute for "maybe". :-(
Reporter | ||
Updated•10 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Comment 1•3 years ago
|
||
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
Assignee | ||
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•