mlalevic / new-tab-jumpstart

Automatically exported from code.google.com/p/new-tab-jumpstart
0 stars 0 forks source link

Exception in nsLiveMarkService after installing New Tab Jumpstart, JavaScrip component does not have a method named "onBeforeItemRemoved" #129

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Excellent extension for Firefox, but I found a lot of Exceptions in the Console 
that appear while I'm debugging JavaScript from a webapp. After hunting for the 
problematic extension I found that after installing New Tab Extension and 
having subscribed to any RSS feed using LiveBookmarks, this error pops up after 
every live bookmark update, even if user initiated:
-------------------Exception-------------------
[Exception... "'JavaScript component does not have a method named: 
"onBeforeItemRemoved"' when calling method: 
[nsINavBookmarkObserver::onBeforeItemRemoved]" nsresult: "0x80570030 
(NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)" location: "JS frame :: 
jar:file:///usr/lib/xulrunner-7.0/omni.jar!/components/nsLivemarkService.js :: 
LM_runBatched :: line 659" data:no]
------------------End-of-Exception-------------

The usual steps apply:
1. Created a new Firefox profile
2. Added a LiveBookmark and checked the Console a few times. Even after 
reloading the bookmark doesn't yield any errors.
3. Installed New Tab Jumpstart and restarted the browser.
No errors on initial load, but after reloading the bookmarks (like when it gets 
updated automatically) the exceptions appear.
4. Uninstalled New Tab Jumpstart and restarted the browser.
Now, even after reloading manually the bookmark, there are no errors popping in 
the Console.

In my normal Firefox profile I have more than 30 live bookmarks, and every time 
those are refreshed the console is populated with hundreds of messages from the 
exception. I love New Tab Jumpstart, but I'll need to disable it temporarily 
while developing.

I'm using Iceweasel 7.0.1 on Debian AMD64.

Maybe not using that method or not checking the live bookmarks for New Tab 
Jumpstart might do the trick?

Original issue reported on code.google.com by lab...@gmail.com on 2 Oct 2011 at 7:56

GoogleCodeExporter commented 9 years ago

Original comment by mlalevic@gmail.com on 3 Oct 2011 at 8:24

GoogleCodeExporter commented 9 years ago

Original comment by mlalevic@gmail.com on 1 Dec 2011 at 10:56