Closed Bug 999236 Opened 9 years ago Closed 9 years ago
Error: a Callback is null" when clicking link in the web console
STR: 1) visit any page 2) open web console 3) eval `window` 4) click the link that appears ERROR resource://gre/modules/commonjs/toolkit/loader.js -> resource:///modules/devtools/webconsole/webconsole.js:2712 - TypeError: aCallback is null
Note, this means that clicking the link does nothing. Also happens for evaling 'document'. I don't have time to look at it fully, but it seems to have something to do with it being a JSObject and not a ObjectWithURL in console.js.
Here's a patch that ensures all JSObjects that render anchors with URLs use the default handler if nothing else is specified. Ran the webconsole tests locally and this patch didn't cause any new failures.
Attachment #8415952 - Flags: review?(mihai.sucan)
Attachment #8415952 - Flags: review?(mihai.sucan) → review?(rcampbell)
patch works as advertised. I'd like to get a try run for this. Do you have Try access, Sami? https://wiki.mozilla.org/ReleaseEngineering/TryServer
Status: NEW → ASSIGNED
Attachment #8415952 - Flags: review?(rcampbell) → review+
No, I don't have access to the Try servers.
Flagging Rob to do a try push.
Got my access, here's a try run: https://tbpl.mozilla.org/?tree=Try&rev=8889a7500f25
Try run succeeded mostly: one unrelated test failure (bug 1028609) and a weird build error fixed by retry.
Thanks for the patch! https://hg.mozilla.org/integration/fx-team/rev/24d194587ab5
Thanks Sami! Nice work.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 33
You need to log in before you can comment on or make changes to this bug.