-
abarth@webkit.org authored
2008-06-24 Anonymous Reviewed by Darin Adler. Committed by Adam Barth. https://bugs.webkit.org/show_bug.cgi?id=19470 Check for a null documentElement() to fix four crashes. * WebCore/dom/Document.cpp: * WebCore/dom/Node.cpp: LayoutTests: 2008-06-24 Anonymous Reviewed by Darin Adler. Committed by Adam Barth. https://bugs.webkit.org/show_bug.cgi?id=19470 Check for a null documentElement() to fix four crashes. * LayoutTests/fast/dom/documentElement-null-expected.txt: Added. * LayoutTests/fast/dom/documentElement-null.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@34789 268f45cc-cd09-0410-ab3c-d52691b4dbfc
d6517365