RESOLVED INVALID 15355
JavaScript exception when loading QBert game
https://bugs.webkit.org/show_bug.cgi?id=15355
Summary JavaScript exception when loading QBert game
Eric Seidel (no email)
Reported 2007-10-03 00:21:35 PDT
http://www.treebuilder.de/svg/qbert/q-bert0.2.svg This is the line: var n=document.getElementById("wuerfel").cloneNode(true) I expect it can't find "wuerfel" (which translates to "ball" btw.) There are other exceptions if you try to play, but I expect those relate back to this one.
Attachments
Rob Buis
Comment 1 2007-10-03 11:06:07 PDT
(In reply to comment #0) > n=document.getElementById("wuerfel").cloneNode(true) > > I expect it can't find "wuerfel" (which translates to "ball" btw.) I suspect the document is not completely build when this code is executed, but atm that is just a suspicion. Cheers, Rob.
Eric Seidel (no email)
Comment 2 2007-12-15 03:54:28 PST
Yes, this is due to this SVG assuming ASV. It assumes all scripts will be run after the document is fully parsed, which is incorrect.
Note You need to log in before you can comment on or make changes to this bug.