Security Error using "Source Code Generator" from Sidebar

RESOLVED DUPLICATE of bug 159348

Status

()

RESOLVED DUPLICATE of bug 159348
16 years ago
16 years ago

People

(Reporter: sw, Assigned: jst)

Tracking

({regression})

Trunk
x86
Windows 2000
regression
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

16 years ago
I am using Mozilla 1.1b (Build ID: 20020721104) on Windows 2000. I recently
installed the Source Generator and User Agent Override sidebars from the
following website:

> http://mozilla-evangelism.bclary.com/sidebars/
 
The User Agent Override works really well and I have updated my prefs.js to read:
 
> user_pref("signed.applets.codebase_principal_support", true);
 
Whenever I try to use the Source Generator on any page I get the following
JavaScript Error Alert box:
 
> [Exception... "Security error" code: "1000" nsresult: "0x8053e8
> (NS_ERROR_DOM_SECURITY_ERR)" location:
> "http://mozilla-evangelism.bclary.com/sidebars/source/ Line: 223"]

I can reproduce this problem on every occasion. To reproduce, install the
Sidebar from the link above, select the correct tab on the sidebar, and 
click the "Generate Source" button. The error message will appear and no
source will be generated.

Comment 1

16 years ago
Not a Mozilla bug but somebody's custom sidebar bug 

==> INVALID ?
(Reporter)

Comment 2

16 years ago
Its a Mozilla Evangelism Sidebar. 
The owner <bclary@netscape.com> suggested that I report it here.

Comment 3

16 years ago
This sidebar has worked fine in builds up to at least 1.0.1 and perhaps recent
1.1 builds though I am not sure of when it began failing on 1.1 builds. The
error occurs when a document.write is performed on a window that was opened via
window.open.

The sidebar does use extended privileges to access the dom of the currently
viewed window, which it then converts to a 'pseudo source view' which is what is
written out.

confirm with Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1b) Gecko/20020726
Status: UNCONFIRMED → NEW
Ever confirmed: true

Comment 4

16 years ago
Created attachment 93145 [details]
sidebar source

Comment 5

16 years ago
http://mozilla-evangelism.bclary.com/sidebars/source/index.html is the source of
the sidebar. To install, visit http://mozilla-evangelism.bclary.com/sidebars/.

jst, I don't think this is sidebar related. Can you take a look?
Assignee: sgehani → jst
Component: Sidebar → DOM Level 0
QA Contact: sujay → desale

Updated

16 years ago
Keywords: regression
This is actually the same problem as in bug 159348, which i have a patch for

*** This bug has been marked as a duplicate of 159348 ***
Status: NEW → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.