Closed
Bug 1151843
Opened 10 years ago
Closed 10 years ago
[Messages][Refactoring] Use notification "data" attribute instead of icon URL query string parameters
Categories
(Firefox OS Graveyard :: Gaia::SMS, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: azasypkin, Assigned: azasypkin)
References
Details
Attachments
(1 file)
After patch for bug 899585, notification options have dedicated "data" attribute to associate custom data with notification object. So we should stop abusing icon URL attribute to store custom data and start using "data" instead.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → azasypkin
Status: NEW → ASSIGNED
Comment 1•10 years ago
|
||
Assignee | ||
Comment 2•10 years ago
|
||
Comment on attachment 8589252 [details] [review]
[gaia] azasypkin:bug-1151843-notification-data > mozilla-b2g:master
Hey Julien, could you please review this patch?
I've split it into two commits, 2nd one is just further improvement of onNotification handler, I'm still not sure if it worth creating separate bug for it, but let me know what you think.
Thanks!
Attachment #8589252 -
Flags: review?(felash)
Comment 3•10 years ago
|
||
Comment on attachment 8589252 [details] [review]
[gaia] azasypkin:bug-1151843-notification-data > mozilla-b2g:master
r=me for the first commit only.
Please handle the comment about the shared Notification mock if you think it's good and it's not breaking other tests, but I'm not blocking on this.
Attachment #8589252 -
Flags: review?(felash) → review+
Assignee | ||
Comment 4•10 years ago
|
||
Comment on attachment 8589252 [details] [review]
[gaia] azasypkin:bug-1151843-notification-data > mozilla-b2g:master
Hey Michael,
In this patch I modified shared/test/unit/mocks/mock_notification.js a bit, could you please let me know if it looks OK for you?
Thanks!
Attachment #8589252 -
Flags: review?(mhenretty)
Comment 5•10 years ago
|
||
Comment on attachment 8589252 [details] [review]
[gaia] azasypkin:bug-1151843-notification-data > mozilla-b2g:master
Looks fine, thanks!
Attachment #8589252 -
Flags: review?(mhenretty) → review+
Updated•10 years ago
|
Keywords: checkin-needed
Comment 7•10 years ago
|
||
Pull request has landed in master: https://github.com/mozilla-b2g/gaia/commit/337d585be50784127d45d33d019be94d86d43773
Updated•10 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•