Closed Bug 1010668 Opened 10 years ago Closed 10 years ago

B2G NFC: Nfc doesn't implement nsIObserver

Categories

(Firefox OS Graveyard :: NFC, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2.0 S2 (23may)

People

(Reporter: allstars.chh, Assigned: allstars.chh)

References

Details

(Whiteboard: [p=1])

Attachments

(1 file, 1 obsolete file)

05-14 05:14:36.713: E/GeckoConsole(177): While creating services from category 'profile-after-change', service for entry 'Nfc', contract ID '@mozilla.org/nfc;1' does not implement nsIObserver.
Comment on attachment 8422903 [details] [diff] [review]
Patch

Review of attachment 8422903 [details] [diff] [review]:
-----------------------------------------------------------------

::: dom/system/gonk/Nfc.js
@@ +640,5 @@
> +   * nsIObserver interface methods.
> +   */
> +  observe: function(subject, topic, data) {
> +    if (aTopic != "profile-after-change") {
> +      if (DEBUG) {

We don't need DEBUG check here
Attachment #8422903 - Flags: review?(dlee) → review+
removed DEBUG flag and fixed typo.
Attachment #8422903 - Attachment is obsolete: true
Attachment #8422968 - Flags: review+
Whiteboard: [p=1]
Target Milestone: --- → 2.0 S2 (23may)
https://hg.mozilla.org/mozilla-central/rev/df44342e527e
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.

Attachment

General

Created:
Updated:
Size: