Closed Bug 159885 Opened 23 years ago Closed 23 years ago

Security Error using "Source Code Generator" from Sidebar

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 159348

People

(Reporter: sw, Assigned: jst)

References

()

Details

(Keywords: regression)

Attachments

(1 file)

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.
Not a Mozilla bug but somebody's custom sidebar bug ==> INVALID ?
Its a Mozilla Evangelism Sidebar. The owner <bclary@netscape.com> suggested that I report it here.
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
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
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
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: