Closed Bug 782755 Opened 13 years ago Closed 13 years ago

WebActivities: can't register an activity for multiple mime types

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 773383

People

(Reporter: djf, Assigned: fabrice)

Details

For the B2G Gallery app, I'm launching an WebActivity request with name "share" and type either "image/jpeg" or "image/png" I've written a test app that responds to "share" activities. If the manifest declares a single type it works: But if the manifest declares an array of mime types it does not work: "activities": { "share": { "filters": { "type": ["image/jpeg", "image/png"] }, "disposition": "window" } }, I'm running the gallery app non-OOP. And I've tried the receiving app both OOP and non-OOP. Neither one works.
This is probably not a blocking bug. The workaround is to not use mime types. My gallery can just use the type "image". It would be nicer if mime types worked, though.
Assignee: nobody → fabrice
OS: Mac OS X → All
Hardware: x86 → All
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.