Closed
Bug 678944
Opened 14 years ago
Closed 14 years ago
getOwnPropertyDescriptor CSSStyleDeclaration.prototype provides uncaught exception
Categories
(Core :: DOM: CSS Object Model, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 560072
People
(Reporter: plakroon, Unassigned)
Details
(Keywords: testcase)
Attachments
(1 file)
|
364 bytes,
text/html
|
Details |
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.
Comment 1•14 years ago
|
||
Let's try XPConnect
Component: General → XPConnect
Keywords: testcase
Product: Firefox → Core
QA Contact: general → xpconnect
| Reporter | ||
Updated•14 years ago
|
Component: XPConnect → DOM
| Reporter | ||
Updated•14 years ago
|
Component: DOM → General
Product: Core → Firefox
| Reporter | ||
Comment 2•14 years ago
|
||
@Ms2ger sorry about that. I have updated the report.
| Reporter | ||
Updated•14 years ago
|
Component: General → XPConnect
Product: Firefox → Core
Updated•14 years ago
|
Whiteboard: DUPEME
Comment 3•14 years ago
|
||
Go, Waldo!
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Component: XPConnect → DOM: CSS Object Model
QA Contact: xpconnect → style-system
Resolution: --- → DUPLICATE
Updated•13 years ago
|
Attachment #553125 -
Attachment mime type: text/plain → text/html
You need to log in
before you can comment on or make changes to this bug.
Description
•