Closed Bug 911802 Opened 11 years ago Closed 11 years ago

Send manifestURL on appterminated event

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ochameau, Assigned: ochameau)

References

Details

Attachments

(1 file)

So far, `appterminated` event sent by the window manager was only sending app "origin" whereas this isn't the real app identifier. The manifest URL is a better way to identify an app.
We need this for the sake of bug 900972.
Attached file Pull request 11890
Attachment #798554 - Flags: review?(alive)
Component: Gaia → Gaia::System
Comment on attachment 798554 [details]
Pull request 11890

Though this issue shall be resolved after kill function is moved into window.js and use |publish| there, this one is still a valid patch now. r=me, thanks.
Attachment #798554 - Flags: review?(alive) → review+
I didn't felt confident enough in order to move kill function by myself.
Isn't there something wrong with publish method:
  https://github.com/mozilla-b2g/gaia/blob/master/apps/system/js/window.js#L306
`this.config` doesn't seem to be defined anywhere.

Landed on master: https://github.com/mozilla-b2g/gaia/commit/c6d58088f207829d96e7bb33ddacf990e90752fb
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
I'll do that afterwards. Thanks!
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: