Closed Bug 1414007 Opened 8 years ago Closed 7 years ago

MIME text/html NDEF messages not supported

Categories

(Firefox for Android Graveyard :: General, defect, P3)

Firefox 55
defect

Tracking

(Not tracked)

RESOLVED INACTIVE

People

(Reporter: thomas, Unassigned, NeedInfo)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0 Build ID: 20170926190823 Steps to reproduce: 1. Load a NDEF-formattable tag with a HTML5 document Example minimalist document used ``` <!doctype html><title>Hello World!</title> ``` Converted into the following NDEF message (TNF 0x02, MIME text/html) ``` D2 09 2A 74 65 78 74 2F 68 74 6D 6C 3C 21 64 6F 63 74 79 70 65 20 68 74 6D 6C 3E 3C 74 69 74 6C 65 3E 48 65 6C 6C 6F 20 57 6F 72 6C 64 21 3C 2F 74 69 74 6C 65 3E ``` 2. Read the tag with the NFC reader of the phone. Actual results: Application selection dialog pops up, Firefox is not listed. Expected results: Application selection dialog pops up, selecting Firefox would open the HTML document in Firefox. Firefox seems to not register text/html as an intent it can process. The intent filter seems to be missing <data android:mimeType="text/html" />, and most surely the code behind to process the file too. https://dxr.mozilla.org/mozilla-beta/source/mobile/android/base/AndroidManifest.xml.in#163
Flags: needinfo?(wehuang)
Priority: -- → P3
keep P3 unless Joe from Product has other say.
Flags: needinfo?(wehuang) → needinfo?(jcheng)
Closing per https://bugzilla.mozilla.org/show_bug.cgi?id=1473195 Contact :susheel if you think this bug should be re-opened
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INACTIVE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.