Closed
Bug 1608985
Opened 6 years ago
Closed 6 years ago
Denied onLoadRequest still loaded
Categories
(GeckoView :: General, defect, P1)
Tracking
(firefox75 fixed)
RESOLVED
FIXED
mozilla75
Tracking | Status | |
---|---|---|
firefox75 | --- | fixed |
People
(Reporter: royang, Assigned: esawin)
Details
(Whiteboard: [geckoview:m75])
Attachments
(3 files)
URL was denied though onLoadRequest
using AllowOrDeny.DENY
return value. However, the URL is still loaded in GeckoView. Debugging Android Components seems to show that either the DENY return was ignored or there was a reload of the URL without going through onLoadRequest
.
To reproduce:
- In Fenix, turn on Settings -> Open links in apps
- Google search "Obama youtube".
- Tap on one of the search result.
- YouTube app is launched and the video page is shown.
- Switch to Fenix
Expected result:
Fenix is showing the Google search result.
Actual result:
Fenix is showing the m.youtube.com page.
Updated•6 years ago
|
Whiteboard: [geckoview:m75]
Updated•6 years ago
|
Rank: 5
Priority: P2 → P1
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → esawin
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
Depends on D61703
Assignee | ||
Comment 4•6 years ago
|
||
Depends on D61704
Pushed by esawin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8a5f54eab2ac
[1.0] Veto redirect when loading is denied by the delegate. r=smaug
https://hg.mozilla.org/integration/autoland/rev/e7602052f14b
[2.0] Add LoadRequest debug string. r=geckoview-reviewers,snorp
https://hg.mozilla.org/integration/autoland/rev/ac23d692cfea
[3.0] Add denied redirect test. r=geckoview-reviewers,snorp
Comment 6•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/8a5f54eab2ac
https://hg.mozilla.org/mozilla-central/rev/e7602052f14b
https://hg.mozilla.org/mozilla-central/rev/ac23d692cfea
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox75:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in
before you can comment on or make changes to this bug.
Description
•