Closed Bug 1049351 Opened 11 years ago Closed 11 years ago

[NFC] Marionette test_nfc_peer.js testPeerShouldThrow should be fixed

Categories

(Firefox OS Graveyard :: NFC, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
2.1 S2 (15aug)

People

(Reporter: tauzen, Assigned: allstars.chh)

References

Details

(Whiteboard: [p=3])

Attachments

(1 file)

testPeerShouldThrow needs some fixing: 1. url used here [1] is not defined and causes test to fail 2. After defining url test crashes emulator-jb [1] https://mxr.mozilla.org/mozilla-central/source/dom/nfc/tests/marionette/test_nfc_peer.js#119
Blocks: b2g-nfc
Depends on: 1043186
Assignee: nobody → allstars.chh
There are more complicated things in this bug, two tests (say A,B) set 'nfc-manager-tech-discovered' handler, however not reset it, so when another test (C) calls enableRE, the handler in A/B will be called. I'll try to write a helper for listening tech-discovered/lost events.
Attachment #8470666 - Flags: review?(dlee) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Depends on: 1054298
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: