Closed
Bug 313078
Opened 20 years ago
Closed 20 years ago
Trying to access .style of <svg:script> throws "Component does not have requested interface" (NS_NOINTERFACE)
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jruderman, Assigned: longsonr)
References
Details
Steps to reproduce:
1. Load
data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'><script/></svg>
2. javascript:alert(document.getElementsByTagName("script")[0].style)
Result: Error: uncaught exception: [Exception... "Component does not have
requested interface [nsIDOMSVGStylable.style]" nsresult: "0x80004002
(NS_NOINTERFACE)" location: "JS frame ::
javascript:alert(document.getElementsByTagName("script")[0].style) ::
<TOP_LEVEL> :: line 1" data: no]
Expected: null or a normal style object.
![]() |
||
Updated•20 years ago
|
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•