Closed
Bug 1285311
Opened 8 years ago
Closed 8 years ago
Mark PushSubscriptionOptions.applicationServerKey as SameObject
Categories
(Core :: DOM: Push Subscriptions, defect)
Core
DOM: Push Subscriptions
Tracking
()
RESOLVED
FIXED
mozilla50
Tracking | Status | |
---|---|---|
firefox50 | --- | fixed |
People
(Reporter: lina, Assigned: lina)
Details
(Whiteboard: btpp-active)
Attachments
(1 file, 1 obsolete file)
7.25 KB,
patch
|
lina
:
review+
|
Details | Diff | Splinter Review |
See https://github.com/w3c/push-api/pull/199 and discussion in https://github.com/w3c/push-api/issues/198.
Attachment #8768867 -
Flags: review?(amarchesini)
Comment 1•8 years ago
|
||
Comment on attachment 8768867 [details] [diff] [review] appServerKeySameObject.patch Review of attachment 8768867 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/push/PushSubscriptionOptions.cpp @@ +23,3 @@ > } > > +PushSubscriptionOptions::~PushSubscriptionOptions() { { in a new line ::: dom/push/test/test_register.html @@ +66,5 @@ > var pushSubscription; > add_task(function* subscribe() { > pushSubscription = yield registration.pushManager.subscribe(); > + is(pushSubscription.options.applicationServerKey, null, > + "Subscription should not have an app server key"); here too ::: dom/push/test/test_register_key.html @@ +111,5 @@ > }); > is(pushSubscription.endpoint, "https://example.com/push/1", > "Wrong endpoint for subscription with key"); > + is(pushSubscription.options.applicationServerKey, > + pushSubscription.options.applicationServerKey, identation
Attachment #8768867 -
Flags: review?(amarchesini) → review+
Assignee | ||
Comment 2•8 years ago
|
||
Fixed style issues, carrying r+. https://treeherder.mozilla.org/#/jobs?repo=try&revision=b1b10b75f3fc
Attachment #8768867 -
Attachment is obsolete: true
Attachment #8769194 -
Flags: review+
Assignee | ||
Updated•8 years ago
|
Keywords: checkin-needed
Pushed by cbook@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/99ccc77aa6fc Mark `PushSubscriptionOptions.applicationServerKey` as `[SameObject]`. r=baku
Keywords: checkin-needed
Comment 4•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/99ccc77aa6fc
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox50:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
You need to log in
before you can comment on or make changes to this bug.
Description
•