Closed Bug 783903 Opened 13 years ago Closed 13 years ago

OOP application gets multiple (two) activities request

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: gerard-majax, Unassigned)

Details

I implemented an image uploader that reacts to the same activies than "share receiver", i.e. manifest shows: "activities": { "share-filenames": { "filters": { "type": "image" }, It gets started by the gallery when tapping the share button correctly, but adding debug in the window.onload = function() that treats the activies request, I can see that it gets two requests. I don't have the same behavior when the application is in the OOP Blacklist.
11 window.onload = function() { 12 console.log("Loading image-uploader"); 13 navigator.mozSetMessageHandler('activity', function(activityRequest) { 14 console.log("image-uploader activityRequest"); 15 if (activityRequest.source.name === 'share-filenames') { 16 addImages(activityRequest.source.data.filenames); 17 } 18 }); 19 };
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.