Open Bug 1863383 Opened 2 years ago Updated 2 years ago

Investigate how to share the popup blocker between Android and desktop

Categories

(GeckoView :: General, task, P5)

All
Android
task

Tracking

(Not tracked)

People

(Reporter: amejia, Unassigned)

Details

We previous have some security issues related JS popups, we have to invest some time checking desktop's implementation and try to bring some of their learnings to AC.

Desktop implementation
https://searchfox.org/mozilla-central/source/dom/base/PopupBlocker.cpp
https://searchfox.org/mozilla-central/source/toolkit/actors/PopupBlockingParent.jsm

AC implementation

[PromptMiddleware.kt#L40)(https://github.com/mozilla-mobile/android-components/blob/1a9b3eaf58a8a73134926a2ba98141600ae422d3/components/feature/prompts/src/main/java/mozilla/components/feature/prompts/PromptMiddleware.kt#L40)

PromptAbuserDetector

Acceptance Criteria:

Identify how we can share the popup blocker between Android and desktop

File follow-up tickets to implement them.
Summary: Investigate how to shared the popup blocker between Android and desktop → Investigate how to share the popup blocker between Android and desktop
Component: Core → General
You need to log in before you can comment on or make changes to this bug.