Closed
Bug 1157108
Opened 9 years ago
Closed 9 years ago
onpush EventHandler support
Categories
(Core :: DOM: Push Subscriptions, defect)
Core
DOM: Push Subscriptions
Tracking
()
RESOLVED
FIXED
mozilla40
Tracking | Status | |
---|---|---|
firefox40 | --- | fixed |
People
(Reporter: dougt, Assigned: dougt)
Details
Attachments
(1 file)
3.07 KB,
patch
|
ehsan.akhgari
:
review+
|
Details | Diff | Splinter Review |
From a SW, 'onpush' doesn't work. this.onpush = function(event) { debug("onpush"); } onpushsubscriptionchange also doesn't work.
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8596051 -
Flags: review?(josh)
Comment 2•9 years ago
|
||
Comment on attachment 8596051 [details] [diff] [review] onpush_impl Review of attachment 8596051 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/push/test/worker.js @@ +1,5 @@ > // Any copyright is dedicated to the Public Domain. > // http://creativecommons.org/licenses/publicdomain/ > > + > +//addEventListener("push", handlePush); Did you forget to remove this comment? ::: dom/webidl/ServiceWorkerGlobalScope.webidl @@ +30,5 @@ > attribute EventHandler onmessage; > + > + // These are from w3c.github.io/push-api/ > + attribute EventHandler onpush; > + attribute EventHandler onpushsubscriptionchange; Please copy and paste this from the spec, as a partial interface, preserving the comment above.
Attachment #8596051 -
Flags: review?(josh) → review+
Comment 4•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/cbabce5695c4
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox40:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in
before you can comment on or make changes to this bug.
Description
•