RESOLVED FIXED 21285
XPath search in Web Inspector hangs Safari (when searching for //*)
https://bugs.webkit.org/show_bug.cgi?id=21285
Summary XPath search in Web Inspector hangs Safari (when searching for //*)
Sam Sneddon [:gsnedders]
Reported 2008-10-01 14:26:54 PDT
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.
Attachments
Proposed patch (13.33 KB, patch)
2008-10-03 20:49 PDT, Timothy Hatcher
oliver: review+
Mark Rowe (bdash)
Comment 1 2008-10-01 14:28:45 PDT
Timothy Hatcher
Comment 2 2008-10-03 20:49:16 PDT
Created attachment 24079 [details] Proposed patch
Timothy Hatcher
Comment 3 2008-10-04 13:37:32 PDT
Landed in r37287.
Note You need to log in before you can comment on or make changes to this bug.