[Webkit-unassigned] [Bug 127865] New: Web Inspector: Run JSC Inspector EventLoop in a custom run loop mode to prevent default observers from running

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 29 16:22:39 PST 2014


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

           Summary: Web Inspector: Run JSC Inspector EventLoop in a custom
                    run loop mode to prevent default observers from
                    running
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: joepeck at webkit.org
                CC: timothy at apple.com, ggaren at apple.com,
                    joepeck at webkit.org,
                    webkit-bug-importer at group.apple.com,
                    mark.lam at apple.com, graouts at apple.com


* SUMMARY
When the main thread triggers a JSC event loop, an NSTimer scheduled to fire on the main thread can still run.

Bad! We want to get as close to possible to having everything paused and have the debugger control execution going forward. Having NSTimers evaluate code in the context while paused is unexpected and could be bad.

* NOTES
As a temporary solution spin the runloop in a custom mode that won't fire default/common observers. We need to investigate better solutions for more complete pausing of the process, as this doesn't handle apps that may already have multiple threads accessing a JSContext concurrently.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list