Ticket #754 (assigned defect)
Safari 2 Crashes on $A(node.childNodes)
| Reported by: | subtleGradient | Owned by: | kamicane |
|---|---|---|---|
| Type: | defect | Priority: | blocker |
| Milestone: | Mootools version 1.2 | Component: | Core |
| Keywords: | safari2 crash | Cc: | kamikane |
Description
This crashes Safari 2 on Leopeard every time.
(note that if you relaunch safari2 after it crashes it will relaunch with the safari3 rendering engine)
Seems to be an issue with passing .childNodes into $A() on an element that isn't attached to anything.
http://tripledoubleyou.subtlegradient.com/Examples/mootools%20safari2%20crasher.html
var node = new Element('div', {html: $('test').innerHTML});
$A(node.childNodes);
I can't look at it anymore right now.
I originally found the issue when I was using the Request.HTML code and it's taken me a while to boil it down to this issue.
When I get some more time I can try and boil it down some more.