[Webkit-unassigned] [Bug 168835] New: Web Inspector: Implement a policy to age-out script/DOM breakpoints

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 24 11:27:55 PST 2017


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

            Bug ID: 168835
           Summary: Web Inspector: Implement a policy to age-out
                    script/DOM breakpoints
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mattbaker at apple.com
                CC: inspector-bugzilla-changes at group.apple.com
        Depends on: 168101

Summary:
Implement a policy to age-out script/DOM breakpoints. Saved breakpoints that will never be encountered again are wasting space in the WebInspector.Setting. This affects both script and DOM breakpoints, but the latter is slightly worse in that those are all sent individually to the backend when the inspector opens.

Proposal:
Associate each breakpoint with a timestamp that is updated whenever the breakpoint resolves. When breakpoints are loaded, "expired" breakpoints should be removed. A dual policy could also be implemented wherein the breakpoint store has a maximum size, and we trim the oldest breakpoints when we approach the limit.

-- 
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/20170224/c5a8fedb/attachment-0001.html>


More information about the webkit-unassigned mailing list