If you start typing an XPath query in the search box in the web inspector, it attempts to evaluate the search on every time a character is entered. If the query begins with "//*", this hangs WebKit (56k elements does that…). Perhaps it should have a slight delay, but ultimately XPath should probably be optimized itself. In short: searching for //* hangs WebKit.
<rdar://problem/6262055>
Created attachment 24079 [details] Proposed patch
Landed in r37287.