Closed Bug 1036788 Opened 11 years ago Closed 11 years ago

Stop using origins to identify apps

Categories

(Firefox OS Graveyard :: Gaia::System::Window Mgmt, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: fabrice, Assigned: gduan)

References

Details

Attachments

(1 file)

I'm about to enable multiple apps per origin, so we'll have issues. at least https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/app_window_manager.js#L47 and getApps() need to be fixed.
Fabrice do you have a fix or need me to find someone in my team to work on it?
(In reply to Alive Kuo [:alive][NEEDINFO!] from comment #1) > Fabrice do you have a fix or need me to find someone in my team to work on > it? I don't have a fix so if someone can take this bug that would be great!
George, please take this after your blockers are fixed.
Flags: needinfo?(gduan)
Proposed change: AppWindowManager.getApp is used by AppWindowFactory to see if an app is already opened. We should change the argument of getApp to use manifestURL instead of origin.
Assignee: nobody → gduan
Flags: needinfo?(gduan)
Attached file PR to master
waiting for test.
Comment on attachment 8456015 [details] [review] PR to master Hi Alive, could you review this patch? I think we need both manifestURL and origin to identify an app.
Attachment #8456015 - Flags: review?(alive)
Comment on attachment 8456015 [details] [review] PR to master Thanks.
Attachment #8456015 - Flags: review?(alive) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
This patch solves a regression introduced in [1] which prevent the STK command for select an item to work. I'm going to file a bug with the STR to test it. [1] https://github.com/mozilla-b2g/gaia/commit/5c0b52751c7cf9f73d44126916a822baf65e2547#diff-5a6489711b0f6e366fbefde28f3ce078R312
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: