[Webkit-unassigned] [Bug 17133] Should support pausing JavaScript execution without hanging the process

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 13 12:19:10 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=17133





------- Comment #26 from aroben at apple.com  2008-03-13 12:19 PDT -------
(In reply to comment #25)
> Here are the ways I currently know that JavaScript execution can be initiated:
> 
> 1. JavaScript event handlers
> 2. Callbacks from window.setTimeout/window.setInterval

These are handled by attachment 19588 (except for the FIXME about timers
scheduled while paused).

> 3. Callbacks from the client-side database storage API

This is handled by attachment 19729.

> 4. JavaScript access from plugins (both NPAPI and WebKit plugins)

This is handled for Windows by attachment 19590. Making this work on Mac will
involve similar changes to WebBaseNetscapePluginView and blocking calls to
WebScriptObject.

> 5. Parsing of a <script> tag in a document
> 6. Loading of a script resource completing

I believe these can be handled by calling Page::setDefersLoading(true).

> 7. Loading of javascript: URIs

I don't yet have a solution for this.

> 8. Calls from WebKit clients

I don't yet plan to try to block this, since for the moment I'm only concerned
with getting this working for in-process JavaScript debugging in the Inspector
(bug 17134), and I think we can get by without this for those purposes.


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



More information about the webkit-unassigned mailing list