HTML input accept argument String with just file extensions does not prompt a camera App
Categories
(GeckoView :: General, defect, P3)
Tracking
(Not tracked)
People
(Reporter: csadilek, Unassigned)
Details
From github: https://github.com/mozilla-mobile/fenix/issues/17547.
Site with issue and any steps to reproduce
Two simple HTML Form examples show this error.
While an accept String with just file extensions (".pdf,.jpg", see pdf+jpg_just_extension.html) just opens the file explore App
an accept String with full MIME Types ("application/pdf,image/jpeg", see pdf+jpg_full_mime.html) prompts options for a camera or the file explorer App.
According to specifications both Strings are valid and should act the same. The full MIME Type example can be used as a workaround but allows additional file extensions for Desktop users.ff_filepicker_example_html.zip
Stepps to reproduce
- Open the provides example pdf+jpg_just_extension.html
- Click the Input element
Expected behavior
HTML input form Elements with an accept value consisting just of file extensions (".pdf,.jpg") should prompt an camera App.
Actual behavior
HTML input form elements with an accept value just consisting of file extensions (".pdf,.jpg") do not prompt a camera App option and open instead the file explorer App directly.
Does toggling Tracking Protection fix the issue? (Press the shield icon in the toolbar while on the site to see toggle)
No.
Can you reproduce in Chrome (or other non-Mozilla browser)?
<!--- Note: If you can reproduce the same issue in Firefox for Android AND Chrome, this issue is very unlikely to be fixed by our teams. -->
<!-- If you cannot reproduce in Chrome and know how to do so, please consider filing a Bugzilla issue here for faster triage https://bugzilla.mozilla.org/enter_bug.cgi?product=GeckoView&component=General -->Chrome for Android prompts a camera App option for both provided examples.
Device information
- Android device: Samsung Galaxy A50 (SM-A505FN) on Android 10
- Fenix version: Firefox Daylight 84.1.4 (Build#2015785883)
┆Issue is synchronized with this Jira Task
Change performed by the Move to Bugzilla add-on.
Comment 1•2 years ago
|
||
The severity field is not set for this bug.
:cpeterson, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•2 years ago
|
Updated•1 years ago
|
Updated•7 months ago
|
Description
•