Open Bug 506368 Opened 15 years ago Updated 3 years ago

document.queryCommandValue('enableObjectResizing') throws an exception

Categories

(Core :: DOM: Editor, defect, P5)

x86
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: vkarun, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9) Gecko/2008052912 Firefox/3.0
Build Identifier: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9) Gecko/2008052912 Firefox/3.0






Reproducible: Always

Steps to Reproduce:
1. Turn on design mode for a document (document.designMode = "on")
2. Invoke document.queryCommandValue('enableObjectResizing') to get the
   value of the command
Actual Results:  
Component returned failure code: 0x80004005 (NS_ERROR_FAILURE [nsIDOMNSHTMLDocument.queryCommandValue]

Expected Results:  
The command should return the value of true or false.
Please note that the error occurs if we invoke queryCommandState too
Component: General → Editor
Product: Firefox → Core
QA Contact: general → editor
Version: unspecified → Trunk
I get a similar error with document.queryCommandState('styleWithCSS') in Firefox 3.6.10.

Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority.

If you have reason to believe this is wrong (especially for the severity), please write a comment and ni :jstutte.

Severity: normal → S4
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: