Closed
Bug 1393128
Opened 7 years ago
Closed 7 years ago
Custom tabs: make downloads work
Categories
(Firefox for Android Graveyard :: General, enhancement)
Firefox for Android Graveyard
General
Tracking
(firefox57 fixed)
VERIFIED
FIXED
Firefox 57
Tracking | Status | |
---|---|---|
firefox57 | --- | fixed |
People
(Reporter: jchen, Assigned: jchen)
References
Details
Attachments
(4 files)
No description provided.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 4•7 years ago
|
||
mozreview-review |
Comment on attachment 8900552 [details]
Bug 1393128 - 1. Make IntentHelper available globally;
https://reviewboard.mozilla.org/r/171948/#review177302
::: mobile/android/base/java/org/mozilla/gecko/BrowserApp.java
(Diff revision 1)
> if (mFormAssistPopup != null)
> mFormAssistPopup.destroy();
> if (mTextSelection != null)
> mTextSelection.destroy();
> NotificationHelper.destroy();
> - IntentHelper.destroy();
Now that this is a global singleton I guess we can remove destroy() completely?
Attachment #8900552 -
Flags: review+
Comment 5•7 years ago
|
||
mozreview-review |
Comment on attachment 8900554 [details]
Bug 1393128 - 3. Initialize DownloadNotifications outside of browser.js;
https://reviewboard.mozilla.org/r/171952/#review177392
Attachment #8900554 -
Flags: review?(esawin) → review+
Comment 6•7 years ago
|
||
mozreview-review |
Comment on attachment 8900552 [details]
Bug 1393128 - 1. Make IntentHelper available globally;
https://reviewboard.mozilla.org/r/171948/#review177414
Attachment #8900552 -
Flags: review?(cnevinchen) → review+
Comment 7•7 years ago
|
||
mozreview-review |
Comment on attachment 8900553 [details]
Bug 1393128 - 2. Support showing Snackbars globally;
https://reviewboard.mozilla.org/r/171950/#review178574
Attachment #8900553 -
Flags: review?(s.kaspari) → review+
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 11•7 years ago
|
||
Pushed by nchen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fd1b29a99163
1. Make IntentHelper available globally; r=nechen,sebastian
https://hg.mozilla.org/integration/autoland/rev/bfc42d1135a7
2. Support showing Snackbars globally; r=sebastian
https://hg.mozilla.org/integration/autoland/rev/b89c2fffc332
3. Initialize DownloadNotifications outside of browser.js; r=esawin
Comment 12•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/fd1b29a99163
https://hg.mozilla.org/mozilla-central/rev/bfc42d1135a7
https://hg.mozilla.org/mozilla-central/rev/b89c2fffc332
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
Comment 14•7 years ago
|
||
Hi all,
Tested today for pre-Release SignOff and the behavior of this bug is odd.
I have a page opened in Custom tab and If I press on PDF file to download, nothing happen. Also, if I want to download a picture or a video, like in Firefox, I'm unable to do that.
My question is, what behavior do we expect here? Thanks
Flags: needinfo?(snorp)
(In reply to Sorina Florean [:sorina] from comment #14)
> Hi all,
> Tested today for pre-Release SignOff and the behavior of this bug is odd.
> I have a page opened in Custom tab and If I press on PDF file to download,
> nothing happen.
PDF works fine here for me. If I search for 'pdf example' in Google and click one of the PDF results, it opens in the Google Drive PDF reader. There does seem to be something going on with other downloads, though. If I try https://httpbin.org/bytes/1024, the page load seems to just hang and I don't get a download prompt.
Flags: needinfo?(snorp) → needinfo?(nchen)
Assignee | ||
Comment 16•7 years ago
|
||
Yeah looks like there are still some prompts that we're not showing correctly.
Flags: needinfo?(nchen)
Assignee | ||
Updated•7 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Ah, I wonder if this is fallout from bug 1329154. Eugen?
Flags: needinfo?(esawin)
Assignee | ||
Comment 18•7 years ago
|
||
Probably not. I think just I missed a few spots in the original patch.
Flags: needinfo?(esawin)
Assignee | ||
Comment 19•7 years ago
|
||
Add a `window` parameter to all Prompt.jsm usages, so the prompt will
appear in the correct window. This includes HelperAppDialog.js, which
was preventing the download chooser dialog from appearing in a custom
tab window.
The patch also moves `getActiveDispatcher` from GeckoViewPermission to
GeckoViewUtils, and makes several improvements to `getChromeWindow` and
`getDispatcherForWindow`. Prompt.jsm now uses the active
WindowDispatcher in the fallback scenario where we don't have a window.
Attachment #8908755 -
Flags: review?(snorp)
Attachment #8908755 -
Flags: review?(snorp) → review+
Comment 20•7 years ago
|
||
Pushed by nchen@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/9e45f48ecf55
4. Add window to all Prompt usages; r=snorp
Comment 21•7 years ago
|
||
bugherder |
Status: REOPENED → RESOLVED
Closed: 7 years ago → 7 years ago
Resolution: --- → FIXED
Comment 22•7 years ago
|
||
Verified as fixed on latest Nightly build, 59.0b13 and release with Nexus 6(Android 6.0.1), HTC 10(Android 8.1.0) and Samsung Galaxy S8(Android 7.0).
Status: RESOLVED → VERIFIED
Updated•4 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
•