ouyang789987 / swfobject

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

Error: code: "8" nsresult: "0x80530008 (NS_ERROR_DOM_NOT_FOUND_ERR)" in testPlayerVersion. #510

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
when testing in firefox 3.5, on line 213 b.removeChild(o); there is report a 
exception.

desc: remove the temp object instance by the removeChild method, can not find 
the reference target object. ex.message: "Node was not found".

-----------------------------
allex wang

thx

Original issue reported on code.google.com by allex....@gmail.com on 14 Oct 2010 at 2:58

GoogleCodeExporter commented 9 years ago
Our tests do not replicate this error. Can you please provide more detail and 
sample code (or a link)?

Original comment by platelu...@gmail.com on 8 Nov 2010 at 6:45

GoogleCodeExporter commented 9 years ago
I have the same issue. It's 100% reproducible only on one office PC (win7 64 
bit + firefox 3.6.16 add-ons free). Users also reported this issue. 
Unfortunately we couldn't found steps to reproduce it from stage.

workaround: wrap 213th line in try-catch.

Original comment by fsb.m...@gmail.com on 15 Apr 2011 at 9:48

GoogleCodeExporter commented 9 years ago
I just tested with Win7 32-bit, Firefox 3.6.15, and could not replicate the 
error.

Adding the try/catch block is costly, and the current code is sound; it already 
contains logic that covers that scenario:

var t = b.appendChild(o);
if (t) {
   //do stuff
   b.removeChild(o);
}

removeChild is only attempted if appendChild was successful.

Original comment by platelu...@gmail.com on 14 May 2011 at 7:53

GoogleCodeExporter commented 9 years ago

Original comment by platelu...@gmail.com on 14 May 2011 at 7:54

GoogleCodeExporter commented 9 years ago
You may want to see http://code.google.com/p/swfobject/issues/detail?id=332

Original comment by platelu...@gmail.com on 14 May 2011 at 8:31