Show prompt for "DOMRedirectBlockedEvent" on mobile
Categories
(Firefox for Android :: Browser Engine, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox145 | --- | fixed |
People
(Reporter: mdauer, Assigned: mdauer)
References
Details
Attachments
(1 file, 1 obsolete file)
In Bug 1419501, we added support for blocking third-party redirects (also known as "framebusting intervention"). When such a redirect is blocked, a DOMRedirectBlockedEvent is triggered, and, currently on desktop only, a notification is shown that allows the user to choose whether to permit the redirect, similar to how popup prompts work.
Since prompts are handled separately on Android, we also need to implement this functionality there.
| Assignee | ||
Comment 1•4 months ago
|
||
| Assignee | ||
Updated•4 months ago
|
Updated•4 months ago
|
Comment 2•3 months ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined: For Firefox 144, we implemented a third-party redirect blocker that displays a notification and gives the user the choice to potentially allow a blocked redirect. On Android, these notification are implemented separately and at the moment not shown, thus giving the user no choice. This patch adds that logic for Android.
- Code covered by automated testing: yes
- Fix verified in Nightly: no
- Needs manual QE test: no
- Steps to reproduce for manual QE testing:
- Risk associated with taking this patch: low
- Explanation of risk level: Adds new logic to handle a "DOMRedirectBlockedEvent" on Mobile. Unlikely to break anything else. Tests are in place. String changes are made.
- String changes made/needed: yes
- Is Android affected?: yes
| Assignee | ||
Comment 3•3 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D264466
Comment 6•3 months ago
|
||
:mdauer, this is a large change to uplift into beta.
Can this ride the train with Fx145?
Comment 7•3 months ago
|
||
Discussed on Slack:
- We agreed that there was concern about uplifting this to beta:
- It has nust landed on main so little bake time
- It fixes an edge case; the urgency to uplift is low
- Not closing the beta uplift request for now. We can move it to release later, for a possible dot release ride-along.
Comment 8•3 months ago
|
||
BTW the changelog went to v144 when we are in 145 cycle 👀
| Assignee | ||
Comment 9•3 months ago
|
||
(In reply to Kagami Rosylight [:saschanaz] (they/them) from comment #8)
BTW the changelog went to v144 when we are in 145 cycle 👀
Ah, I totally forgot about that. I will open a patch to move the changes into the correct cycle.
Comment 10•3 months ago
|
||
Comment on attachment 9514704 [details]
Bug 1988107 - Handle "DOMRedirectBlockedEvent" on mobile, r?freddyb,maltejur
moving request to release for possible dot release ride-along
Updated•2 months ago
|
Description
•