Closed Bug 1448320 Opened 8 years ago Closed 8 years ago

onDetachedFront throws when receiving event

Categories

(DevTools :: Inspector: Rules, defect, P3)

defect

Tracking

(firefox61 fixed)

RESOLVED FIXED
Firefox 61
Tracking Status
firefox61 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

References

Details

Attachments

(1 file)

TypeError: this.onSelected is not a function: onDetachedFront@resource://devtools/shared/base-loader.js -> resource://devtools/client/inspector/rules/rules.js:1659 The callback throws because onSelected is never bound in the rule view.
Regression from 1382581
Assignee: nobody → jdescottes
Blocks: 1382581
Status: NEW → ASSIGNED
Comment on attachment 8961758 [details] Bug 1448320 - bind onDetachedFront in RuleView constructor; https://reviewboard.mozilla.org/r/230612/#review236104
Attachment #8961758 - Flags: review?(pbrosset) → review+
"The callback throws because onSelected is never bound in the rule view." Of course I meant "The callback throws because onDetachedFront is never bound in the rule view." :) Thanks for the review!
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4e884e689aad bind onDetachedFront in RuleView constructor;r=pbro
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 61
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: