WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
43900
Web Inspector: allow interrupting long running JS to execute inspector command
https://bugs.webkit.org/show_bug.cgi?id=43900
Summary
Web Inspector: allow interrupting long running JS to execute inspector command
Yury Semikhatsky
Reported
2010-08-12 01:50:14 PDT
Web Inspector: allow interrupting long running JS to execute inspector command
Attachments
Patch
(11.37 KB, patch)
2010-08-12 03:11 PDT
,
Yury Semikhatsky
no flags
Details
Formatted Diff
Diff
Patch
(18.76 KB, patch)
2010-08-12 07:21 PDT
,
Yury Semikhatsky
no flags
Details
Formatted Diff
Diff
Patch
(20.72 KB, patch)
2010-08-12 07:38 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-08-12 03:11:22 PDT
Created
attachment 64201
[details]
Patch
Ilya Tikhonovsky
Comment 2
2010-08-12 03:22:17 PDT
Comment on
attachment 64201
[details]
Patch WebKit/chromium/src/WebDevToolsAgentImpl.cpp:479 + bool WebDevToolsAgent::shouldInterruptForMessage(const WebString& message) It would be better to move parsing part of the method to InspectorBackendDispatcher.
Yury Semikhatsky
Comment 3
2010-08-12 03:35:04 PDT
(In reply to
comment #2
)
> (From update of
attachment 64201
[details]
) > WebKit/chromium/src/WebDevToolsAgentImpl.cpp:479 > + bool WebDevToolsAgent::shouldInterruptForMessage(const WebString& message) > It would be better to move parsing part of the method to InspectorBackendDispatcher.
Will do. Also I'm going to generate constant declarations for the commands on InspectorBackendDispatcher.h
Pavel Feldman
Comment 4
2010-08-12 03:52:06 PDT
Comment on
attachment 64201
[details]
Patch Rename the web* methods please.
Yury Semikhatsky
Comment 5
2010-08-12 07:21:46 PDT
Created
attachment 64219
[details]
Patch
Ilya Tikhonovsky
Comment 6
2010-08-12 07:29:39 PDT
Comment on
attachment 64219
[details]
Patch WebCore/inspector/CodeGeneratorInspector.pm:312 + push(@function, " const char* backendFunctionName = ${functionName}Cmd;"); it would be better to use ${functionName}Cmd directly WebCore/inspector/CodeGeneratorInspector.pm:462 + if (array->length() < 1) !array->length()
WebKit Review Bot
Comment 7
2010-08-12 07:30:06 PDT
Attachment 64219
[details]
did not build on chromium: Build output:
http://queues.webkit.org/results/3729090
Yury Semikhatsky
Comment 8
2010-08-12 07:38:15 PDT
Created
attachment 64223
[details]
Patch
Yury Semikhatsky
Comment 9
2010-08-12 07:38:57 PDT
(In reply to
comment #6
)
> (From update of
attachment 64219
[details]
) > WebCore/inspector/CodeGeneratorInspector.pm:312 > + push(@function, " const char* backendFunctionName = ${functionName}Cmd;"); > it would be better to use ${functionName}Cmd directly >
Done.
> WebCore/inspector/CodeGeneratorInspector.pm:462 > + if (array->length() < 1) > !array->length()
Done.
WebKit Review Bot
Comment 10
2010-08-12 09:13:01 PDT
Attachment 64223
[details]
did not build on chromium: Build output:
http://queues.webkit.org/results/3723084
Pavel Feldman
Comment 11
2010-08-12 22:41:55 PDT
Comment on
attachment 64223
[details]
Patch This breaks chromium, other than that it is Ok.
Pavel Feldman
Comment 12
2010-08-12 22:46:39 PDT
Comment on
attachment 64223
[details]
Patch r- for not compiling on chromium.
Yury Semikhatsky
Comment 13
2010-08-12 23:31:14 PDT
(In reply to
comment #12
)
> (From update of
attachment 64223
[details]
) > r- for not compiling on chromium.
It successfully compiled on Chromium checkout on my linux box. It might be a bot issue.
Pavel Feldman
Comment 14
2010-08-12 23:32:32 PDT
Comment on
attachment 64223
[details]
Patch r+ if you are saying it is a bot issue.
Yury Semikhatsky
Comment 15
2010-08-13 00:08:53 PDT
Committed
r65304
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