WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
39594
[v8] ScriptDebugServer should dispatch renderer messages while JS is paused
https://bugs.webkit.org/show_bug.cgi?id=39594
Summary
[v8] ScriptDebugServer should dispatch renderer messages while JS is paused
Yury Semikhatsky
Reported
2010-05-24 06:03:50 PDT
[v8] ScriptDebugServer should dispatch renderer messages while JS is paused.
Attachments
patch
(34.20 KB, patch)
2010-05-24 06:31 PDT
,
Yury Semikhatsky
no flags
Details
Formatted Diff
Diff
patch
(34.21 KB, patch)
2010-05-24 06:42 PDT
,
Yury Semikhatsky
pfeldman
: review+
Details
Formatted Diff
Diff
patch that I'm going to land
(34.31 KB, patch)
2010-05-25 03:05 PDT
,
Yury Semikhatsky
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Yury Semikhatsky
Comment 1
2010-05-24 06:31:57 PDT
Created
attachment 56879
[details]
patch
WebKit Review Bot
Comment 2
2010-05-24 06:34:29 PDT
Attachment 56879
[details]
did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style', '--no-squash']" exit_code: 1 WebKit/chromium/src/WebDevToolsAgentImpl.cpp:136: Place brace on its own line for function definitions. [whitespace/braces] [4] WebKit/chromium/src/WebDevToolsAgentImpl.cpp:143: Place brace on its own line for function definitions. [whitespace/braces] [4] Total errors found: 2 in 13 files If any of these errors are false positives, please file a bug against check-webkit-style.
Yury Semikhatsky
Comment 3
2010-05-24 06:42:56 PDT
Created
attachment 56881
[details]
patch Fixed style errors.
Pavel Feldman
Comment 4
2010-05-24 11:33:51 PDT
Comment on
attachment 56881
[details]
patch WebCore/bindings/js/ScriptDebugServer.cpp:343 + (this->*callback)(copy[i]); Nit: I generally do not use such a reflection in the native code. Having ::dispatchDidContinue or a single event listener class with an event type would be my preference. WebCore/bindings/v8/ScriptDebugServer.h:85 + class ClientMessageLoop { It might be useful to declare it in a separate header to minimize the amount of imports on the client. WebKit/chromium/public/WebDevToolsAgentClient.h:59 + class ClientMessageLoop { Should we name it differently? Like WebKitClientMessageLoop?
Yury Semikhatsky
Comment 5
2010-05-25 03:04:36 PDT
(In reply to
comment #4
)
> WebCore/bindings/v8/ScriptDebugServer.h:85 > + class ClientMessageLoop { > It might be useful to declare it in a separate header to minimize the amount of imports on the client. >
ScriptDebugServer.h is included there anyway to set implementation of the loop so I'd rather leave it this way because it emphasizes that the message loop is used from the debugger.
> WebKit/chromium/public/WebDevToolsAgentClient.h:59 > + class ClientMessageLoop { > Should we name it differently? Like WebKitClientMessageLoop?
Done.
Yury Semikhatsky
Comment 6
2010-05-25 03:05:27 PDT
Created
attachment 56999
[details]
patch that I'm going to land
Yury Semikhatsky
Comment 7
2010-05-25 04:46:21 PDT
Committed
r60154
WebKit Review Bot
Comment 8
2010-05-25 05:01:52 PDT
http://trac.webkit.org/changeset/60154
might have broken Chromium Mac Release
Yury Semikhatsky
Comment 9
2010-05-25 05:32:30 PDT
(In reply to
comment #8
)
>
http://trac.webkit.org/changeset/60154
might have broken Chromium Mac Release
Fixed in
r60155
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug