[Webkit-unassigned] [Bug 152418] Web Inspector: Make WebInspector.ConsoleMessageView faster

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 17 23:14:35 PST 2015


https://bugs.webkit.org/show_bug.cgi?id=152418

--- Comment #2 from Nikita Vasilyev <nvasilyev at apple.com> ---
Created attachment 267612
  --> https://bugs.webkit.org/attachment.cgi?id=267612&action=review
[Image] _clearFocusableChildren

Less severe bottleneck is querySelectorAll("[tabindex]"):

    _clearFocusableChildren()
    {
        var focusableElements = this.messagesElement.querySelectorAll("[tabindex]");
        for (var i = 0, count = focusableElements.length; i < count; ++i)
            focusableElements[i].removeAttribute("tabindex");
    }

It's called twice for every didAppendConsoleMessageView.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151218/2d91cbb3/attachment.html>


More information about the webkit-unassigned mailing list