Closed Bug 928433 Opened 11 years ago Closed 6 years ago

[Meta] Move more mozChromeEvent into mozBrowser events

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: alive, Assigned: alive)

References

Details

There's a discussion about removing mozChromeEvent long time ago.
I feel that we should move some app/frame specific event into mozBrowser events to have a better world other than guessing the target by manifestURL or origin, which is bad.

The list of proposed events in my mind now is:
1. Notification
   - Yes, why not? If we want to do "click the notification to go to the app", why does app needs to do relaunch themselves? If we know who fires the notification we could do this in system app.
2. Payment/Identity - app/page specific without doubt.
3. ActivityStart - Though only foreground app could trigger an activity, but maybe someday we would have multiple foreground apps. This one is negotiable.
4. Permission - Already a bug about this.
5. Recording-Status - In gUM we want to know who is doing getUserMedia, we need to know recording-start/recording-end events.
Depends on: 852013
Depends on: 927310
Depends on: 930848
Depends on: 930850
Blocks: 1083605
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.