[XPCDOM] sidebar.addPanel blocked -- can't add new sidebars

VERIFIED WORKSFORME

Status

SeaMonkey
Sidebar
VERIFIED WORKSFORME
17 years ago
13 years ago

People

(Reporter: bz, Assigned: Mitchell Stoltz (not reading bugmail))

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

BUILD:  2001-05-08 afternoon build

STEPS TO REPRODUCE:
1) Go to http://www.google.com/mozilla/google-search.html
2) Try to add the google sidebar

EXPECTED RESULTS:  Add the sidebar panel

ACTUAL RESULTS:
************************************************************
* Call to xpconnect wrapped JSObject produced this error:  *
[Exception... "Permission denied to access property
[nsIFactory::createInstance]"  nsresult: "0x8057001e
(NS_ERROR_XPC_JS_THREW_STRING)"  location: "JS frame :: <unknown filename> ::
<TOP_LEVEL> :: line 0"  data: no]
************************************************************
JavaScript error: 
 line 0: uncaught exception: [Exception... "Permission denied to access property
[nsIFactory::createInstance]"  nsresult: "0x8057001e
(NS_ERROR_XPC_JS_THREW_STRING)"  location: "JS frame :: <unknown filename> ::
<TOP_LEVEL> :: line 0"  data: no]

Error loading URL
javascript:sidebar.addPanel('Google','http://www.google.com/mozilla/google.xul','');
: 2152924149
Mitchell, here's more security manager fun for you :-)
Assignee: jst → mstoltz

Comment 2

17 years ago
*** Bug 79811 has been marked as a duplicate of this bug. ***

Comment 3

17 years ago
Adding kevin eyes. :-)

Comment 4

17 years ago
win98 too...
OS: Linux → All
Could someone test a clean install (i.e. installing into an empty directory, not
ontop of an existing installation) from 5/9 or later?
Just did that on Linux, build 2001-05-10-08.  Still see this.

Comment 7

17 years ago
Created attachment 33940 [details]
simple HTML to add a generic URL to the Sidebar.
(Assignee)

Comment 8

17 years ago
Works for me; it's possible this was fixed by the checkin I just made, but I'm
not sure. Boris, Marcio, someone: could you please re-test with tomorrow's build?
Status: NEW → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → WORKSFORME

Comment 9

17 years ago
ok...will doublecheck tomorrow...
Just pulled with Mitchell's checkin and this works for me too.

Comment 11

17 years ago
verified.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.