Export to GitHub

svgweb - issue #250

svgweb init fails in internet explorer 8 when using object embedding


Posted on Aug 29, 2009 by Happy Bear

When using <object> style embedding with the latest build in internet explorer 8, initialization fails with one of these javascript errors:

svg.js:1579 flashObj.parentNode.removeChild(flashObj); 'parentNode' is null or not an object

svg.js:1607 child._fakeNode._htcNode = null; '_fakeNode' is null or not an object

Safari 4.0.3, Firefox 3.5.2 work fine with both native and flash renderer.

Comment #1

Posted on Aug 29, 2009 by Happy Bear

This also f.e. happens with the helloworld demo.

Comment #2

Posted on Aug 29, 2009 by Happy Bear

The very illogical thing about the svg.js:1579 error is, that if you add a Watchpoint at the time the debugger breaks for the error it works just fine, and the parentNode property is all there. I can even take the line and execute in on the console. I'm very puzzled.

For the second error, the child object really is missing the _fakeNode property.

Comment #3

Posted on Sep 10, 2009 by Grumpy Dog

Fixed in r794.

Status: Fixed

Labels:
Type-Defect Priority-Medium