Closed
Bug 1182328
Opened 10 years ago
Closed 10 years ago
FF41: Only add CATEGORY_BROWSABLE on "intent" and "android-app"
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox40 unaffected, firefox41 fixed, firefox42 wontfix, fennec41+)
RESOLVED
FIXED
| Tracking | Status | |
|---|---|---|
| firefox40 | --- | unaffected |
| firefox41 | --- | fixed |
| firefox42 | --- | wontfix |
| fennec | 41+ | --- |
People
(Reporter: mcomella, Assigned: mcomella)
References
Details
Attachments
(2 files)
|
40 bytes,
text/x-review-board-request
|
Margaret
:
review+
|
Details |
|
40 bytes,
text/x-review-board-request
|
Margaret
:
review+
ritu
:
approval-mozilla-aurora+
|
Details |
As per the discussion in bug 1182140 comment 5 - 7.
This was originally caused by the revision of bug 1168998 in bug 1168662, should undo the hack fix in bug 1100100, and fix bug 1175532.
| Assignee | ||
Comment 1•10 years ago
|
||
The better solution is to only add CATEGORY_BROWSABLE on links clicked from web-content, which will be a follow-up in bug 1182140.
Blocks: 1182140
| Assignee | ||
Comment 2•10 years ago
|
||
As for custom scheme, I wonder if (scheme != null) will work...
Building the patch on top of bug 1173200
Assignee: nobody → michael.l.comella
Depends on: 1173200
| Assignee | ||
Comment 3•10 years ago
|
||
(In reply to Michael Comella (:mcomella) from comment #2)
> Building the patch on top of bug 1173200
Actually, bad idea - this needs uplift.
tracking-fennec: --- → 41+
No longer depends on: 1173200
| Assignee | ||
Comment 4•10 years ago
|
||
(In reply to Michael Comella (:mcomella) from comment #2)
> As for custom scheme, I wonder if (scheme != null) will work...
This won't work for "file" schemes - we added the hack in bug 1100100 for this.
| Assignee | ||
Comment 5•10 years ago
|
||
(In reply to Michael Comella (:mcomella) from comment #4)
> This won't work for "file" schemes - we added the hack in bug 1100100 for
> this.
To be more explicit, we should add Browsable for "file" schemes coming from web content, but because both code paths go through here, we can't be sure which is being used and we can't add Browsable.
| Assignee | ||
Comment 6•10 years ago
|
||
Bug 1182328 - Only add Browsable to apps with schemes that are not file. r=margaret
Attachment #8631910 -
Flags: review?(margaret.leibovic)
| Assignee | ||
Comment 7•10 years ago
|
||
I need to test this with some URI schemes to ensure it does not regress anything.
Adding Browsable to only "intent" and "android-app" schemes would prevent more regressions, but it wouldn't cover custom schemes which are essentially "intent" schemes you don't have to register.
As it stands, this patch is actually just a more generic fix for bug 1175532, but not the way out of this mess I was hoping for.
Margaret, let me know if you have an opinion here.
| Assignee | ||
Comment 8•10 years ago
|
||
(In reply to Michael Comella (:mcomella) from comment #7)
> I need to test this with some URI schemes to ensure it does not regress
> anything.
tel, mailto, my custom scheme, and intent schemes seem to work.
| Assignee | ||
Updated•10 years ago
|
Blocks: android-intents
| Assignee | ||
Comment 9•10 years ago
|
||
Because it's too complicated to add CATEGORY_BROWSABLE to custom uri schemes, we're just going to add it to intent:// and android-app://. We'll ideally use bug 1182140 to add the custom uri schemes in 42.
status-firefox40:
--- → unaffected
status-firefox41:
--- → affected
status-firefox42:
--- → wontfix
Summary: Only add CATEGORY_BROWSABLE on "intent", "android-app", and "<customUri>" schemes → FF41: Only add CATEGORY_BROWSABLE on "intent" and "android-app"
| Assignee | ||
Updated•10 years ago
|
Attachment #8631910 -
Attachment is obsolete: true
Attachment #8631910 -
Flags: review?(margaret.leibovic)
| Assignee | ||
Comment 10•10 years ago
|
||
Comment on attachment 8631910 [details]
MozReview Request: Bug 1182328 - Use Intent.parseUri for intent:// & android-app://. r=margaret
Bug 1182328 - Use Intent.parseUri for intent:// & android-app://. r=margaret
We now specify no flags to Intent.parseUri so it can accept and parse arbitrary
URIs.
Attachment #8631910 -
Attachment description: MozReview Request: Bug 1182328 - Only add Browsable to apps with schemes that are not file. r=margaret → MozReview Request: Bug 1182328 - Use Intent.parseUri for intent:// & android-app://. r=margaret
Attachment #8631910 -
Attachment is obsolete: false
Attachment #8631910 -
Flags: review?(margaret.leibovic)
| Assignee | ||
Comment 11•10 years ago
|
||
Bug 1182328 - Only add CATEGORY_BROWSABLE to intent & android-app uris. r=margaret
Attachment #8632376 -
Flags: review?(margaret.leibovic)
| Comment hidden (typo) |
| Assignee | ||
Comment 13•10 years ago
|
||
Reminder to update the flags on bug 1176018 when this lands (soft dep added).
Blocks: 1176018
Comment 14•10 years ago
|
||
Comment on attachment 8631910 [details]
MozReview Request: Bug 1182328 - Use Intent.parseUri for intent:// & android-app://. r=margaret
https://reviewboard.mozilla.org/r/12957/#review11763
Ship It!
Attachment #8631910 -
Flags: review?(margaret.leibovic) → review+
Comment 15•10 years ago
|
||
Comment on attachment 8632376 [details]
MozReview Request: Bug 1182328 - Only add CATEGORY_BROWSABLE to intent & android-app uris. r=margaret
https://reviewboard.mozilla.org/r/13055/#review11765
Ship It!
Attachment #8632376 -
Flags: review?(margaret.leibovic) → review+
| Assignee | ||
Comment 16•10 years ago
|
||
url: https://hg.mozilla.org/integration/fx-team/rev/2e02ac7f87ab3ccd6f810589123e1ea5b0bffa0c
changeset: 2e02ac7f87ab3ccd6f810589123e1ea5b0bffa0c
user: Michael Comella <michael.l.comella@gmail.com>
date: Thu Jul 09 17:28:37 2015 -0700
description:
Bug 1182328 - Only add Browsable to apps with schemes that are not file. r=margaret
| Assignee | ||
Comment 17•10 years ago
|
||
url: https://hg.mozilla.org/integration/fx-team/rev/4463255d9bf2eff71d1a828a006804fc13276b06
changeset: 4463255d9bf2eff71d1a828a006804fc13276b06
user: Michael Comella <michael.l.comella@gmail.com>
date: Mon Jul 13 17:14:41 2015 -0700
description:
Bug 1182328 - Backed out changeset 2e02ac7f87ab. r=me
Did not mean to land this WIP patch.
| Assignee | ||
Comment 18•10 years ago
|
||
Ignore comment 16 & 17 – I landed the wrong patch.
Also, these patches should land in 41, not fx-team.
| Assignee | ||
Comment 19•10 years ago
|
||
Comment on attachment 8632376 [details]
MozReview Request: Bug 1182328 - Only add CATEGORY_BROWSABLE to intent & android-app uris. r=margaret
This request is for both changesets in this bug.
Approval Request Comment
[Feature/regressing bug #]: Broken w/ several changes around intent handling – see bug 1182695 for the full details.
[User impact if declined]: Users will have several regressions in opening external apps including bug 1175532 and bug 1176018.
[Describe test coverage new/current, TreeHerder]: Tested locally.
[Risks and why]: Low – we are reverting some breaking changes to our original intent handling code (e.g. adding CATEGORY_BROWSABLE to all outgoing intents) and making changes only for links of "intent://" and "android-app://" which open native android apps and we didn't support before 41. If this functionality is broken, we're about in the same boat as before but since we heavily rely on a built-in Android method (in addition to some externally tested modifications from bug 1168998), I'm confident it will work as expected.
[String/UUID change made/needed]: None
Attachment #8632376 -
Flags: approval-mozilla-aurora?
Comment 20•10 years ago
|
||
Comment on attachment 8632376 [details]
MozReview Request: Bug 1182328 - Only add CATEGORY_BROWSABLE to intent & android-app uris. r=margaret
Approved.
Attachment #8632376 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 21•10 years ago
|
||
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•5 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
•