(Midas & Javascript) designMode and createElement() doesnt work together

RESOLVED WORKSFORME

Status

()

Firefox
General
RESOLVED WORKSFORME
14 years ago
14 years ago

People

(Reporter: gottox, Assigned: Blake Ross)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

14 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 Firebird/0.7
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 Firebird/0.7

I create a Iframe (createElement - to create; appendChild - to insert).
Unfortunately, I can set desigMode only in function the, which created the Iframe.

Reproducible: Always

Steps to Reproduce:




Error: uncaught exception: [Exception... "Component returned failure code:
0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLDocument.execCommand]"  nsresult:
"0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame ::
http://192.168.100.99/zeditor.js :: ze_do :: line 86"  data: no]
does this occur when using the same features in a Mozilla build?
QA Contact: mpconnor

Comment 2

14 years ago
This should be assigned to the Midas component, wherever it is.

Comment 3

14 years ago
gottox, how about a testcase?
http://bugzilla.mozilla.org/attachment.cgi?bugid=227108&action=enter

Comment 4

14 years ago
No reply from reporter in several months. Marking as WFM. 

Reopen only if you can explain how to reproduce this bug or add a testcase. If
this was about not being able to set designMode to "on" on a dynamically created
iframe, then that is bug 206654.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.