Closed
Bug 1097564
Opened 10 years ago
Closed 10 years ago
Support promise for NFC related WebAPI
Categories
(Firefox OS Graveyard :: Gaia, defect)
Tracking
(b2g-v2.2 fixed)
RESOLVED
FIXED
2.1 S9 (21Nov)
Tracking | Status | |
---|---|---|
b2g-v2.2 | --- | fixed |
People
(Reporter: dimi, Assigned: dimi)
References
Details
Attachments
(1 file, 4 obsolete files)
After bug 996397 landed, NFC WebAPI will use Promise instead of DOMRequest, so GAIA apps use NFC api should support promise before landing bug 996397
Assignee | ||
Updated•10 years ago
|
Summary: Support NFC related WebAPI return promise → Support promise for NFC related WebAPI
Assignee | ||
Comment 1•10 years ago
|
||
Hi Alive,
Could you help review this bug ? Thanks!
Attachment #8521341 -
Flags: review?(alive)
Assignee | ||
Comment 2•10 years ago
|
||
Comment on attachment 8521341 [details]
pull request to mozilla-b2g/gaia v1
cancel review because of test failure
Attachment #8521341 -
Flags: review?(alive)
Assignee | ||
Comment 3•10 years ago
|
||
Attachment #8521341 -
Attachment is obsolete: true
Assignee | ||
Comment 4•10 years ago
|
||
Attachment #8522643 -
Attachment is obsolete: true
Assignee | ||
Comment 5•10 years ago
|
||
fix error when run "make lint"
Attachment #8523674 -
Attachment is obsolete: true
Assignee | ||
Comment 6•10 years ago
|
||
Attachment #8523712 -
Attachment is obsolete: true
Attachment #8523799 -
Flags: review?(alive)
Comment 7•10 years ago
|
||
Comment on attachment 8523799 [details]
pull request to mozilla-b2g/gaia v1
I don't think promise will fix function scope of |this| for you. Please check.
Attachment #8523799 -
Flags: review?(alive)
Assignee | ||
Comment 8•10 years ago
|
||
(In reply to Alive Kuo [:alive][NEEDINFO!] from comment #7)
> Comment on attachment 8523799 [details]
> pull request to mozilla-b2g/gaia v1
>
> I don't think promise will fix function scope of |this| for you. Please
> check.
Hi Alive,
I use |this| instead of |self| because of arrow function will bind this value.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions
Could you help check again ? Thanks!
Flags: needinfo?(alive)
Comment 9•10 years ago
|
||
Comment on attachment 8523799 [details]
pull request to mozilla-b2g/gaia v1
yeah, sorry missing that
Flags: needinfo?(alive)
Attachment #8523799 -
Flags: review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 10•10 years ago
|
||
remove checkin-needed because of not adding r=alive to commit message
Keywords: checkin-needed
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 11•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
status-b2g-v2.2:
--- → fixed
Keywords: checkin-needed
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•