Open
Bug 524756
Opened 16 years ago
Updated 3 years ago
JavaScript Error: "this.mRealListener.onOperationComplete is not a function" when using DOM Inspector
Categories
(Calendar :: Internal Components, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: bwinton, Unassigned)
Details
Steps to reproduce:
Launch DOM Inspector, select File » Inspect Chrome Document, and choose the main Thunderbird window. Then click the Inspect button.
Actual results:
I get a bunch of copies of the following error:
************************************************************
* Call to xpconnect wrapped JSObject produced this error: *
[Exception... "'[JavaScript Error: "this.mRealListener.onOperationComplete is not a function" {file: "file:///Users/bwinton/Programming/thunderbird/objdir-toolbar/mozilla/dist/ShredderDebug.app/Contents/MacOS/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/components/calCompositeCalendar.js" line: 550}]' when calling method: [calIOperationListener::onOperationComplete]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: file:///Users/bwinton/Programming/thunderbird/objdir-toolbar/mozilla/dist/ShredderDebug.app/Contents/MacOS/extensions/%7Be2fda1a4-762b-4020-b5ad-a41df1933103%7D/modules/calProviderUtils.jsm :: cPB_notifyOperationComplete :: line 600" data: yes]
************************************************************
Followed by a bunch of error messages like:
An error occurred updating the calendar_new_calendar_command command
…
An error occurred updating the button_reply command
An error occurred updating the button_replyall command
An error occurred updating the button_replylist command
…
And the message-header buttons don't show up in the DOMi window.
Expected results:
No errors, and the buttons show up. :)
I was trying to figure out why the Reply All button wasn't tabbable-to, but since it didn't show up at all in DOMi, my task was made a little harder. (I'm also not entirely sure where this bug belongs, since I see it in Thunderbird, but it looks like it's coming from a calendar extension.)
Thanks,
Blake.
Comment 1•16 years ago
|
||
The JavaScript error is in Lightning code. -> Moving to Calendar
Component: Mail Window Front End → Lightning Only
Product: Thunderbird → Calendar
QA Contact: front-end → lightning
Comment 2•16 years ago
|
||
The error messages regarding updating of commands are a seperate issue afaik (bug 517695).
Comment 3•16 years ago
|
||
I can confirm the error message using DOM Inspector 2.0.3 with Lightning 1.0pre (20091029) and Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.5pre) Gecko/20091029 Shredder/3.0pre.
What does DOMi upon clicking "Inspect"? How does it provoke the error in Lightning?
OS: Mac OS X → All
Summary: JavaScript Error: "this.mRealListener.onOperationComplete is not a function" → JavaScript Error: "this.mRealListener.onOperationComplete is not a function" when using DOM Inspector
This bug is still relevant in Lightning 1.0b2 under Thunderbird 3.1.x. The error I'm getting is:
Error: this.mRealListener.onGetResult is not a function
This bug prevent me and others from developing themes and extensions to Lightning, as it gets very complicated to inspect the calendar.
Any chance to see it fixed for 1.0b3?
Comment 5•15 years ago
|
||
Unfortunately I can't reproduce this locally, so I'll have trouble finding out what the bug is.
What needs to be done is to use venkman/printf debugging to inspect the call stack at the error location, to find out if maybe its being called wrong or find other evidence why its failing.
Updated•5 years ago
|
Component: Lightning Only → Internal Components
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•