xml3d / xml3d.js

The WebGL/JS implementation of XML3D
Other
75 stars 25 forks source link

initXML3DElement() has to check if the element is still a member of the DOM #169

Closed afrische closed 8 years ago

afrische commented 8 years ago

Consider the following:

  1. a xml3d element is added and directly removed, e.g. in a qunit fixture
  2. the MutationObserver will fire and eventually initXML3DElement() will be called on the added nodes
  3. the element has no longer a parent and an exception will be thrown

hth Andreas

csvurt commented 8 years ago

Thanks for the report, I'll schedule this for the next hotfix.