After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 156849 - fails to add sidebar when sidebar ext wasn't enabled at startup
fails to add sidebar when sidebar ext wasn't enabled at startup
Status: RESOLVED FIXED
Product: epiphany-extensions
Classification: Deprecated
Component: sidebar
master
Other Linux
: Normal normal
: ---
Assigned To: epiphany-extensions-maint
epiphany-extensions-maint
Depends on:
Blocks:
 
 
Reported: 2004-10-29 19:24 UTC by Christian Persch
Modified: 2005-01-01 21:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Persch 2004-10-29 19:24:45 UTC
Steps to reproduce:
0) Don't have sidebar extension enabled
1) Start ephy, enable sidebar extension
2) Go to bugzilla.mozilla.org
3) Click the "Add to sidebar" link

Expected results:
Adds to sidebar.

Actual result:
2 Errors in js console:

Error:
win has no properties

Javascript error in  on line 0:
uncaught exception: [Exception... "'[JavaScript Error: "win has no properties"
{file: "file:///opt/firefox/lib/firefox-1.0/components/nsSidebar.js" line: 93}]'
when calling method: [nsISidebar::addPanel]"  nsresult: "0x80570021
(NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)"  location: "JS frame ::
https://bugzilla.mozilla.org/ :: addSidebar :: line 49"  data: yes]

Seems like it uses mozilla's sidebar impl in this case (and fails since we're
embedded).
Comment 1 Crispin Flowerday (not receiving bugmail) 2004-10-29 22:05:20 UTC
confirming with mozilla 1.7.3
Comment 2 Crispin Flowerday (not receiving bugmail) 2005-01-01 21:34:44 UTC
This is fixed in CVS:

http://mail.gnome.org/archives/cvs-commits-list/2005-January/msg00142.html