RESOLVED FIXED 30300
Web Inspector: Enforce async interaction between inspector controller and frontend
https://bugs.webkit.org/show_bug.cgi?id=30300
Summary Web Inspector: Enforce async interaction between inspector controller and fro...
Pavel Feldman
Reported 2009-10-12 02:45:10 PDT
I think we should eliminate the possibility of reentering inspector controller code via frontend (this is actually important for layout tests harness to have no reenterability). It can be implemented in two ways: 1) wrap all calls to InspectorController within frontend with setTimeouted(0) or 2) wrap frontend's dispatch I think (2) is more appropriate at this moment.
Attachments
patch (1.40 KB, patch)
2009-10-12 02:47 PDT, Pavel Feldman
timothy: review+
Pavel Feldman
Comment 1 2009-10-12 02:47:00 PDT
Timothy Hatcher
Comment 2 2009-10-12 10:15:18 PDT
Comment on attachment 41027 [details] patch > + function delayDispatch() { Brace should be on new line. > + } > + setTimeout(delayDispatch, 0); Put a new line after the brace.
Pavel Feldman
Comment 3 2009-10-13 01:17:24 PDT
Committing to http://svn.webkit.org/repository/webkit/trunk ... M WebCore/ChangeLog M WebCore/inspector/front-end/inspector.js Committed r49493
Note You need to log in before you can comment on or make changes to this bug.