Closed
Bug 1042761
Opened 10 years ago
Closed 10 years ago
onResponse is not a function at dbg-client.jsm:1670
Categories
(DevTools :: Debugger, defect, P2)
DevTools
Debugger
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 34
People
(Reporter: past, Assigned: past)
Details
Attachments
(1 file, 1 obsolete file)
7.93 KB,
patch
|
rcampbell
:
review+
|
Details | Diff | Splinter Review |
STR: 1. Open the debugger in http://todomvc.com/architecture-examples/backbone/ 2. Open the events pane and choose to break on click events. 3. Click in the input box and then clear the break-on-click checkbox. 4. The Browser Console contains the error: onResponse is not a function at dbg-client.jsm:1670 Patch forthcoming.
Assignee | ||
Updated•10 years ago
|
Priority: -- → P2
Assignee | ||
Comment 1•10 years ago
|
||
Fortunately this bug doesn't break anything for me, because the error is thrown in a setTimeout call, so the event loop is empty. I've looked around in the debugger client and there are a number of other cases where we assume the caller will supply a callback that I also fixed.
Attachment #8460968 -
Flags: review?(rcampbell)
Comment 2•10 years ago
|
||
Rather than repeating `() => {}` everywhere, can we just define `const noop = () => {};` and use that?
Assignee | ||
Comment 3•10 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=809746911f30
Assignee | ||
Comment 4•10 years ago
|
||
Good idea, but used let instead of const, because there was a redeclaration error that I didn't want to figth with.
Attachment #8460978 -
Flags: review?(rcampbell)
Assignee | ||
Updated•10 years ago
|
Attachment #8460968 -
Attachment is obsolete: true
Attachment #8460968 -
Flags: review?(rcampbell)
Updated•10 years ago
|
Attachment #8460978 -
Flags: review?(rcampbell) → review+
Assignee | ||
Comment 5•10 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/01d60712d7a4
https://hg.mozilla.org/mozilla-central/rev/01d60712d7a4
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 34
Updated•10 years ago
|
QA Whiteboard: [qa-]
Updated•10 years ago
|
QA Whiteboard: [qa-] → [good first verify]
Comment 7•10 years ago
|
||
Panos Astithas, could you please add another test page? The one from comment 0 seems to not be available. Thank you
Flags: needinfo?(past)
Assignee | ||
Comment 8•10 years ago
|
||
It seems to be moved here: http://todomvc.com/examples/backbone/
Flags: needinfo?(past)
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•