Open Bug 334052 Opened 18 years ago Updated 2 years ago

Multiple iframes where HTML is written in JavaScript causes error in Firefox 1.5

Categories

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

defect

Tracking

()

UNCONFIRMED

People

(Reporter: luke, Unassigned)

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; InfoPath.1; .NET CLR 2.0.50727)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1

Ever since we upgraded to Firefox 1.5, a rich text control we use does not work on most Macs/PCs.  The control uses <iframe> and sets the HTML via JavaScript.  The following error is found in the JavaScript console:
"Access to restricted URI denied: code 1012".

This only seems to happen when SSL is used and multiple controls (and thus multiple IFRAMES) are on the page.  In some cases in only affects some of the iframes, such as 3/5 for example.

This error does not occur on error Firefox versions prior to 1.5.


Reproducible: Sometimes

Steps to Reproduce:
1. Browse to a web page as described above using IFRAMES and SSL (we use RichTextBox from RicherComponents).
2. Attempt to place focus in the rich text control, you can't.
3. JavaScript console will show error described above.

Actual Results:  
HTML is not written to IFRAME, therefore user cannot place focus in it.

Expected Results:  
Error does not occur and HTML is written to iframe by JavaScript.
Version: unspecified → 1.5.0.x Branch
If you can link to a public URL, or better yet attach a minimized testcase, you'll find that it gets much more attention, much more quickly.
Assignee: nobody → general
Component: General → DOM
Product: Firefox → Core
QA Contact: general → ian
Version: 1.5.0.x Branch → Trunk
Assignee: general → nobody
QA Contact: ian → general
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.