Open Bug 1553790 Opened 6 years ago Updated 1 year ago

GeckoView doesn't seem to support blob URIs in window.open

Categories

(GeckoView :: General, defect, P3)

Unspecified
Android
defect

Tracking

(firefox69 affected)

Tracking Status
firefox69 --- affected

People

(Reporter: emilio, Unassigned)

Details

(Whiteboard: webcompat)

Attachments

(1 obsolete file)

The test-cases in bug 416771 don't work in Geckoview, but work in Fennec.

GeckoView delivers the focus request to apps via the onFocusRequest()[0] delegate method. It's up to the app to perform the tab switch if it wishes. Are you trying in Fenix, reference browser, or something else?

[0] https://searchfox.org/mozilla-central/rev/952521e6164ddffa3f34bc8cfa5a81afc5b859c4/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoSession.java#3014

Flags: needinfo?(emilio)

I was using Fenix, but I want to say that that code only seems to run when DOMWindowFocus events are dispatched, and that looks wrong, it should also run when the widget code focuses a tab. I'm actually trying to kill DOMWindowFocus (the Gecko event, not the geckoview message) at the moment, since since that bug we have two ways of doing the same on desktop.

Flags: needinfo?(emilio)

James says this problem is specifically about blob URIs.

Is this a bug handling blob URI schemes or do we need a special principal?

OS: All → Android
Priority: -- → P3
Summary: GeckoView doesn't seem to support window.open and such. → GeckoView doesn't seem to support blob URIs in window.open
Whiteboard: webcompat
Severity: normal → S3
Attachment #9381556 - Attachment is obsolete: true
See Also: → 1891737
See Also: 1891737

I think we can close this now if someone can re-test and verify since we have bugs like bug 1891737 where it works in some cases, but not in Custom Tabs (because of a different issue).

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: