Closed Bug 1174683 Opened 6 years ago Closed 5 years ago

[Secure Element] Fix TypeErro in UiccConnector unregisterListener

Categories

(Firefox OS Graveyard :: NFC, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(firefox41 fixed)

RESOLVED FIXED
FxOS-S1 (26Jun)
Tracking Status
firefox41 --- fixed

People

(Reporter: tauzen, Assigned: tauzen)

References

Details

Attachments

(1 file)

No description provided.
Blocks: 1119152
As pointed out by Yoshi in Bug 1119152 comment 23

> +  unregisterListener: function(listener) {
> +    let idx = this._SEListeners.indexOf(listener);
> +    if (idx !== -1) {
> +      this._listeners.splice(idx, 1);


[JavaScript Error: "TypeError: this._listeners is undefined" {file: "jar:file:///system/b2g/omni.ja!/components/UiccConnector.js" line: 331}]
Assignee: nobody → kmioduszewski
Hi Yoshi, could you review this? This is a typo done while I was refactoring the isSEPresent patch.
Attachment #8622409 - Flags: review?(allstars.chh)
Attachment #8622409 - Flags: review?(allstars.chh) → review+
Try build mostly green, 3 unrelated failures.
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/4b827038a8c5
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → NGA S3 (26Jun)
As NGA Program Manager suggested, let's replace the NGA-Sx milestones with FxOS-Sx ones (more generic ones), once Bug 1174794 has already landed
Target Milestone: NGA S3 (26Jun) → FxOS-S1 (26Jun)
You need to log in before you can comment on or make changes to this bug.