WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
169387
Add plumbing to WebProcess to enable JavaScriptCore configuration and logging
https://bugs.webkit.org/show_bug.cgi?id=169387
Summary
Add plumbing to WebProcess to enable JavaScriptCore configuration and logging
Michael Saboff
Reported
2017-03-08 14:43:20 PST
This is to add the ability to configure JavaScriptCore debug and logging from within the Web process through the presence of a configuration file.
Attachments
Patch
(24.96 KB, patch)
2017-03-08 15:08 PST
,
Michael Saboff
fpizlo
: review+
Details
Formatted Diff
Diff
Patch for landing - Speculative Windows build fix
(25.26 KB, patch)
2017-03-09 13:17 PST
,
Michael Saboff
no flags
Details
Formatted Diff
Diff
Patch for landing - Speculative gtk build fix
(26.17 KB, patch)
2017-03-09 15:22 PST
,
Michael Saboff
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Michael Saboff
Comment 1
2017-03-08 14:43:44 PST
<
rdar://problem/30930797
>
Michael Saboff
Comment 2
2017-03-08 15:08:40 PST
Created
attachment 303852
[details]
Patch
WebKit Commit Bot
Comment 3
2017-03-08 15:10:44 PST
Attachment 303852
[details]
did not pass style-queue: ERROR: Source/WebCore/ForwardingHeaders/runtime/ConfigFile.h:0: No copyright message found. You should have a line: "Copyright [year] <Copyright Owner>" [legal/copyright] [5] ERROR: Source/JavaScriptCore/runtime/ConfigFile.cpp:469: Missing space before { [whitespace/braces] [5] Total errors found: 2 in 20 files If any of these errors are false positives, please file a bug against check-webkit-style.
Geoffrey Garen
Comment 4
2017-03-09 12:34:59 PST
Comment on
attachment 303852
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=303852&action=review
> Source/JavaScriptCore/runtime/ConfigFile.cpp:39 > +#include <mutex>
This is the Windows build failure.
> Source/WebKit2/UIProcess/Cocoa/WebProcessPoolCocoa.mm:482 > + path = path + "/Library/WebKit/JavaScriptConfig";
I would call this JavaScriptCoreDebug since it will include debug output in addition to configuration files. We might need to make sure not to put anything in the Framework or app bundle, otherwise we might invalidate the bundle signature.
Michael Saboff
Comment 5
2017-03-09 13:17:19 PST
Created
attachment 303972
[details]
Patch for landing - Speculative Windows build fix
Michael Saboff
Comment 6
2017-03-09 13:19:04 PST
(In reply to
comment #4
)
> Comment on
attachment 303852
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=303852&action=review
> > > Source/JavaScriptCore/runtime/ConfigFile.cpp:39 > > +#include <mutex> > > This is the Windows build failure. > > > Source/WebKit2/UIProcess/Cocoa/WebProcessPoolCocoa.mm:482 > > + path = path + "/Library/WebKit/JavaScriptConfig"; > > I would call this JavaScriptCoreDebug since it will include debug output in > addition to configuration files. > > We might need to make sure not to put anything in the Framework or app > bundle, otherwise we might invalidate the bundle signature.
I made these changes. I also changed the name of the config file to JSC.config.
WebKit Commit Bot
Comment 7
2017-03-09 13:19:23 PST
Attachment 303972
[details]
did not pass style-queue: ERROR: Source/WebCore/ForwardingHeaders/runtime/ConfigFile.h:0: No copyright message found. You should have a line: "Copyright [year] <Copyright Owner>" [legal/copyright] [5] ERROR: Source/JavaScriptCore/runtime/ConfigFile.cpp:469: Missing space before { [whitespace/braces] [5] Total errors found: 2 in 20 files If any of these errors are false positives, please file a bug against check-webkit-style.
Michael Saboff
Comment 8
2017-03-09 15:22:57 PST
Created
attachment 304000
[details]
Patch for landing - Speculative gtk build fix
WebKit Commit Bot
Comment 9
2017-03-09 15:25:28 PST
Attachment 304000
[details]
did not pass style-queue: ERROR: Source/WebCore/ForwardingHeaders/runtime/ConfigFile.h:0: No copyright message found. You should have a line: "Copyright [year] <Copyright Owner>" [legal/copyright] [5] ERROR: Source/JavaScriptCore/runtime/ConfigFile.cpp:469: Missing space before { [whitespace/braces] [5] Total errors found: 2 in 21 files If any of these errors are false positives, please file a bug against check-webkit-style.
Michael Saboff
Comment 10
2017-03-09 16:53:11 PST
Committed
r213690
: <
http://trac.webkit.org/changeset/213690
>
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