Letractively / svgweb

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

_fireUnload faults when leaving the page on IE8 #340

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Go to
http://codinginparadise.org/projects/svgweb/tests/htmlObjectHarness/full-color-p
rop-02-f.html
2. Reload or change page.

What is the expected output? What do you see instead?

We get a JS error. Line 1701, Error: 'parentNode' is null or not an object.

Upon inspection, it turns out that svgweb.handlers[i].flash was null, so
doing if (removeMe && removeMe.parentNode) on line 1701 avoids the error.

What version of the product are you using? On what operating system,
browser, and version of Flash?

MS Windows XP (Spanish) + IE8 ver 8.0.6001.18702 (Spanish) (IE8 just
installed today for tests).

Will test with an English version when I get home, but I doubt the language
may be a factor.

Please provide any additional information below. Reduced test cases are
always appreciated!

This only happens with the <object> method. The svgweb demo seems to work
fine. May be related to Issue #339

Original issue reported on code.google.com by artur...@gmail.com on 10 Oct 2009 at 2:48

GoogleCodeExporter commented 8 years ago
Oh, this is Umber Hulk, btw.

Original comment by artur...@gmail.com on 10 Oct 2009 at 2:53

GoogleCodeExporter commented 8 years ago
This is a side effect of Issue 307 (see comment #2), fixed in r863.

Original comment by grick23@gmail.com on 10 Oct 2009 at 8:38