WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
112445
Support connecting the Web Inspector without showing it
https://bugs.webkit.org/show_bug.cgi?id=112445
Summary
Support connecting the Web Inspector without showing it
Timothy Hatcher
Reported
2013-03-15 07:30:23 PDT
We should support connecting the Web Inspector without showing the window or attaching. This would allow you to get the debugger attached in the background. When a breakpoint is hit the Inspector will open. You should also be able hide the Inspector and keep it connected. These options will not the be default behavior, but an option in menus.
Attachments
Proposed Change
(15.34 KB, patch)
2013-03-15 07:46 PDT
,
Timothy Hatcher
no flags
Details
Formatted Diff
Diff
Proposed Change (Take 2)
(17.12 KB, patch)
2013-03-15 08:20 PDT
,
Timothy Hatcher
no flags
Details
Formatted Diff
Diff
Proposed Change (Take 3)
(19.21 KB, patch)
2013-03-16 10:23 PDT
,
Timothy Hatcher
sam
: review-
webkit-ews
: commit-queue-
Details
Formatted Diff
Diff
Proposed Change (Take 4)
(19.27 KB, patch)
2013-03-20 13:11 PDT
,
Timothy Hatcher
webkit-ews
: commit-queue-
Details
Formatted Diff
Diff
Proposed Change (Take 5)
(17.93 KB, patch)
2013-03-20 13:41 PDT
,
Timothy Hatcher
webkit-ews
: commit-queue-
Details
Formatted Diff
Diff
Proposed Change (Take 6)
(20.01 KB, patch)
2013-03-20 14:17 PDT
,
Timothy Hatcher
no flags
Details
Formatted Diff
Diff
Show Obsolete
(5)
View All
Add attachment
proposed patch, testcase, etc.
Timothy Hatcher
Comment 1
2013-03-15 07:46:24 PDT
Created
attachment 193307
[details]
Proposed Change
Radar WebKit Bug Importer
Comment 2
2013-03-15 07:48:50 PDT
<
rdar://problem/13430045
>
Timothy Hatcher
Comment 3
2013-03-15 08:20:18 PDT
Created
attachment 193314
[details]
Proposed Change (Take 2)
Joseph Pecoraro
Comment 4
2013-03-15 23:23:24 PDT
Comment on
attachment 193314
[details]
Proposed Change (Take 2) Looks good to me.
Timothy Hatcher
Comment 5
2013-03-16 06:52:46 PDT
Anders, Sam, want to do a quick review of this?
Timothy Hatcher
Comment 6
2013-03-16 10:23:31 PDT
Created
attachment 193437
[details]
Proposed Change (Take 3) I've simplified some things since the last patch.
Early Warning System Bot
Comment 7
2013-03-16 10:33:30 PDT
Comment on
attachment 193437
[details]
Proposed Change (Take 3)
Attachment 193437
[details]
did not pass qt-wk2-ews (qt): Output:
http://webkit-commit-queue.appspot.com/results/17188423
EFL EWS Bot
Comment 8
2013-03-16 10:35:13 PDT
Comment on
attachment 193437
[details]
Proposed Change (Take 3)
Attachment 193437
[details]
did not pass efl-ews (efl): Output:
http://webkit-commit-queue.appspot.com/results/17222202
Sam Weinig
Comment 9
2013-03-16 19:30:50 PDT
Comment on
attachment 193437
[details]
Proposed Change (Take 3) View in context:
https://bugs.webkit.org/attachment.cgi?id=193437&action=review
> Source/WebKit2/UIProcess/mac/WebInspectorProxyMac.mm:413 > + WKView *inspectedView = m_page->wkView();
Please don't access the WKView directly here (that function should be removed). Instead, this should go through the PageClient.
Timothy Hatcher
Comment 10
2013-03-20 12:57:26 PDT
Comment on
attachment 193437
[details]
Proposed Change (Take 3) View in context:
https://bugs.webkit.org/attachment.cgi?id=193437&action=review
>> Source/WebKit2/UIProcess/mac/WebInspectorProxyMac.mm:413 >> + WKView *inspectedView = m_page->wkView(); > > Please don't access the WKView directly here (that function should be removed). Instead, this should go through the PageClient.
This isn't new to this patch, we use wkView in a couple other places in this file. PageClient isn't exposed on WebPageProxy right now. I'd like to keep this patch as-is. I filed
bug 112829
to track that.
Timothy Hatcher
Comment 11
2013-03-20 13:11:42 PDT
Created
attachment 194102
[details]
Proposed Change (Take 4)
Early Warning System Bot
Comment 12
2013-03-20 13:34:33 PDT
Comment on
attachment 194102
[details]
Proposed Change (Take 4)
Attachment 194102
[details]
did not pass qt-wk2-ews (qt): Output:
http://webkit-commit-queue.appspot.com/results/17258038
Timothy Hatcher
Comment 13
2013-03-20 13:41:54 PDT
Created
attachment 194108
[details]
Proposed Change (Take 5)
Early Warning System Bot
Comment 14
2013-03-20 14:12:25 PDT
Comment on
attachment 194108
[details]
Proposed Change (Take 5)
Attachment 194108
[details]
did not pass qt-wk2-ews (qt): Output:
http://webkit-commit-queue.appspot.com/results/17253236
Timothy Hatcher
Comment 15
2013-03-20 14:17:02 PDT
Created
attachment 194122
[details]
Proposed Change (Take 6)
Timothy Hatcher
Comment 16
2013-03-21 09:17:41 PDT
Sam or Anders, mind taking a look at take 6?
WebKit Review Bot
Comment 17
2013-03-21 14:19:04 PDT
Comment on
attachment 194122
[details]
Proposed Change (Take 6) Clearing flags on attachment: 194122 Committed
r146518
: <
http://trac.webkit.org/changeset/146518
>
WebKit Review Bot
Comment 18
2013-03-21 14:19:10 PDT
All reviewed patches have been landed. Closing bug.
Ryosuke Niwa
Comment 19
2013-03-21 19:26:45 PDT
This patch appears to have broken two tests on ML Debug testers: e.g.
http://build.webkit.org/results/Apple%20MountainLion%20Debug%20WK2%20(Tests)/r146520%20(8040)/results.html
Ryosuke Niwa
Comment 20
2013-03-22 01:23:09 PDT
This patch may have caused inspector/profiler/cpu-profiler-profile-removal.html to intermittently crash. See:
https://bugs.webkit.org/show_bug.cgi?id=113020
Timothy Hatcher
Comment 21
2013-03-22 05:17:30 PDT
These are ASSERTs. I am looking into it.
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