Closed Bug 678944 Opened 14 years ago Closed 14 years ago

getOwnPropertyDescriptor CSSStyleDeclaration.prototype provides uncaught exception

Categories

(Core :: DOM: CSS Object Model, defect)

8 Branch
x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 560072

People

(Reporter: plakroon, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

Attached file bug.html
User Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/15.0.849.0 Safari/535.1 Steps to reproduce: Placed: var bg = Object.getOwnPropertyDescriptor(CSSStyleDeclaration.prototype, "backgroundColor"); In a script tag, current stable version and nightly. Actual results: uncaught exception: [Exception... "Could not convert JavaScript argument" nsresult: "0x80570009 (NS_ERROR_XPC_BAD_CONVERT_JS)" location: "JS frame :: file:///C:/Users/Peter/Desktop/change_doctype.html :: <TOP_LEVEL> :: line 50" data: no] Expected results: There should be no error given.
Let's try XPConnect
Component: General → XPConnect
Keywords: testcase
Product: Firefox → Core
QA Contact: general → xpconnect
Component: XPConnect → DOM
Component: DOM → General
Product: Core → Firefox
@Ms2ger sorry about that. I have updated the report.
Component: General → XPConnect
Product: Firefox → Core
Whiteboard: DUPEME
Go, Waldo!
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Component: XPConnect → DOM: CSS Object Model
QA Contact: xpconnect → style-system
Resolution: --- → DUPLICATE
Attachment #553125 - Attachment mime type: text/plain → text/html
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: