1) Open the following HTML file: <!-- 111 --> 2) Bring up the WebInspector and select the comment "111" in the Elements panel. 3) Refresh the inspected page by hitting Ctrl-R in the inspector a couple times. A crash occurs.
Created attachment 62932 [details] [PATCH] Suggested solution
Upstreamed issue http://code.google.com/p/chromium/issues/detail?id=50207
Created attachment 62933 [details] [PATCH] A more bulletproof fix. Returns 0 instead of the document element if the node path is empty
Also http://code.google.com/p/chromium/issues/detail?id=49550 in Chromium bugs
Committing to http://svn.webkit.org/repository/webkit/trunk ... M WebCore/ChangeLog M WebCore/inspector/InspectorDOMAgent.cpp M WebCore/inspector/front-end/ElementsPanel.js Committed r64341