Closed
Bug 783903
Opened 13 years ago
Closed 13 years ago
OOP application gets multiple (two) activities request
Categories
(Firefox OS Graveyard :: General, defect)
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.
| Reporter | ||
Comment 1•13 years ago
|
||
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 };
| Reporter | ||
Updated•13 years ago
|
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.
Description
•