WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
136875
Web Inspector: Reduce a bit of churn setting initial remote inspection state
https://bugs.webkit.org/show_bug.cgi?id=136875
Summary
Web Inspector: Reduce a bit of churn setting initial remote inspection state
Joseph Pecoraro
Reported
2014-09-16 16:53:06 PDT
Currently JSGlobalObjects always set remote inspection enabled in construction, and then JSDOMGlobalObjects would disable it. Instead move the remote inspection enabling on JSGlobalObjects to the JSContext/JSGlobalContextRef API boundaries. This way the JSGlobalObject within web pages are never temporarily debuggable reducing the amount of churn surrounding toggling this setting. This does mean that only JSGlobalObjects made through the JSC C/ObjC APIs are debuggable, but that covers the majority. I found only jsc directly instantiates a JSGlobalObject via subclassing.
Attachments
[PATCH] Proposed Fix
(3.86 KB, patch)
2014-09-16 17:01 PDT
,
Joseph Pecoraro
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2014-09-16 16:54:17 PDT
<
rdar://problem/18359599
>
Joseph Pecoraro
Comment 2
2014-09-16 17:01:18 PDT
Created
attachment 238221
[details]
[PATCH] Proposed Fix
Timothy Hatcher
Comment 3
2014-09-16 17:06:00 PDT
Comment on
attachment 238221
[details]
[PATCH] Proposed Fix View in context:
https://bugs.webkit.org/attachment.cgi?id=238221&action=review
> Source/JavaScriptCore/ChangeLog:10 > + Set the defaultl remote debuggable state at the API boundary.
Typo: default
WebKit Commit Bot
Comment 4
2014-09-16 17:49:33 PDT
Comment on
attachment 238221
[details]
[PATCH] Proposed Fix Clearing flags on attachment: 238221 Committed
r173683
: <
http://trac.webkit.org/changeset/173683
>
WebKit Commit Bot
Comment 5
2014-09-16 17:49:35 PDT
All reviewed patches have been landed. Closing bug.
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