Closed
Bug 645324
Opened 15 years ago
Closed 15 years ago
Fennec/Firefox Mobile: First-run Page for desktop Firefox shown
Categories
(addons.mozilla.org Graveyard :: Collector Extension, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
BW-2.0.1
People
(Reporter: aryx, Assigned: kinger)
Details
+++ This bug was initially created as a clone of Bug #530571 +++
Firefox Mobile 4.0 rc1 build 3, Add-on Collector 2.0, Android 2.3.3 on Google Nexus S
The first-run page opened by the collector is the one for Firefox, not for Fennec/Firefox Mobile.
The url is: https://addons.mozilla.org/en-US/firefox/pages/collector_firstrun
| Assignee | ||
Updated•15 years ago
|
Assignee: nobody → briks.si
Priority: -- → P2
Target Milestone: --- → BW-2.0.1
Version: unspecified → BW-2.0
| Assignee | ||
Comment 1•15 years ago
|
||
I'm seeing the correct page, namely:
https://addons.mozilla.org/mobile/pages/collector_firstrun
Any debug output looking suspicious? Note to retest quickly you can reset the 'extensions.bandwagon.firstrun' pref and restart. This add-on is handy for quitting Firefox - https://addons.mozilla.org/addon/quit-fennec/
| Reporter | ||
Comment 2•15 years ago
|
||
I found the reason: I had set the user-agent with the Phony extension to Desktop Firefox. You could point in the extension to the correct page instead of using AMO with a browser sniffing redirect, http://doxygen.db48x.net/mozilla/html/interfacensIXULAppInfo.html will provide the application id (which can be used against an array of supported applications' ids and AMO short names).
| Assignee | ||
Comment 3•15 years ago
|
||
(In reply to comment #2)
> I found the reason: I had set the user-agent with the Phony extension to
> Desktop Firefox. You could point in the extension to the correct page instead
> of using AMO with a browser sniffing redirect,
We do.
> http://doxygen.db48x.net/mozilla/html/interfacensIXULAppInfo.html will provide
> the application id (which can be used against an array of supported
> applications' ids and AMO short names).
We're already using nsIXULAppInfo.ID for this. Phony must be faking that too.
We really should not even be getting that far because we load the first run page during window.load on the browser window, which should not load on mobile. We use UIReady for that instead.
Comment 4•15 years ago
|
||
The only effect of Phony is to set the "general.useragent.override" pref. Perhaps the AMO server is still redirecting based on UA? Or maybe this is related to bug 640301.
| Reporter | ||
Comment 5•15 years ago
|
||
The extension opens https://addons.mozilla.org/pages/collector_firstrun which seems to handle the application selection by redirect. I haven't yet seen AMO loading incorrect pages.
| Assignee | ||
Comment 6•15 years ago
|
||
I dare say this is WONTFIX, because if the browser wants to be desktop, it should be shown the desktop page.
But I am going to fix the mobile url regardless in the code.
Status: NEW → ASSIGNED
| Assignee | ||
Comment 7•15 years ago
|
||
Fixed, r86732.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•