Closed Bug 1809954 Opened 3 years ago Closed 10 months ago

Local file system browsing

Categories

(Firefox for Android :: General, enhancement)

All
Android
enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1961288

People

(Reporter: csadilek, Unassigned)

Details

From github: https://github.com/mozilla-mobile/fenix/issues/1327.

Why/User Benefit/User Problem

I want to be able to view HTML documents and other supported files on my phone's local storage (including removable SD cards and such-like) in the browser, like I can with Firefox today.

What / Requirements

Unfortunately Google plans to make this rather difficult, and if we want to provide this feature on Android Q onwards we'd likely need

  1. content://-URI support in GeckoView
  2. Either hoping that these objections succeed, so that real file system access remains possible if the user grants it at least to specific directories, or else GeckoView also needs the ability for accessing files and browsing directories through the Storage Access Framework (which e.g. isn't really written with native code in mind as far as I've heard).
  3. Pestering Google about the fundamental unsuitability of working with content://-URIs received from other apps when the content in question isn't a single, atomic file, for which HTML documents are a perfect example.

Acceptance Criteria (how do I know when I’m done?)

  1. I can browse through the local file system and open supported files.
  2. Other apps can launch Intents for files on the local storage that the browser supports and those files are then successfully loaded (in the case of HTML documents that means including all subresources like images, style sheets, etc. and with working local relative links).

┆Issue is synchronized with this Jira Task

Change performed by the Move to Bugzilla add-on.

Severity: -- → N/A

Lack of this feature makes it impossible to use webapps compiled to single HTML files. Given how powerful WASM is, this could be a powerful way to distribute cross-platform, performant apps. Obviously Google wants to cut down on that, because they push people to use Google Play. But eventually Mozilla will stand up to this practice, right?

If there's fear of Google taking down Firefox from Google Play if it implements such a feature, it would be cool to maybe have a compile flag that can toggle this on/off

Status: NEW → RESOLVED
Closed: 10 months ago
Duplicate of bug: 1961288
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.