pacojerte / svgweb

Automatically exported from code.google.com/p/svgweb
Other
0 stars 0 forks source link

Elements returned from getElementsByTagName emit no _handler errors #583

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Do setAttribute on element returned from getElementsByTagName called on 
unattached element

What is the expected output? What do you see instead?
Throws exception.

The problem is a regression from the "attach tracking" overhaul of Issue 536, 
r1214. We incorrectly assume the returned elements are attached to a 
document/flash handler, but they may not be. We may try to access the flash 
handler when there is not one present.

Original issue reported on code.google.com by grick23@gmail.com on 28 Nov 2010 at 9:38

GoogleCodeExporter commented 8 years ago
Fixed in r1259.

Original comment by grick23@gmail.com on 28 Nov 2010 at 9:40