WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
226403
add window.internals.log()
https://bugs.webkit.org/show_bug.cgi?id=226403
Summary
add window.internals.log()
Cameron McCormack (:heycam)
Reported
2021-05-28 16:05:10 PDT
I found it useful while debugging tests to have a way to output logging from within the test.
Attachments
Patch
(2.41 KB, patch)
2021-05-28 16:08 PDT
,
Cameron McCormack (:heycam)
no flags
Details
Formatted Diff
Diff
Patch
(2.63 KB, patch)
2021-05-28 17:43 PDT
,
Cameron McCormack (:heycam)
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Cameron McCormack (:heycam)
Comment 1
2021-05-28 16:08:44 PDT
Created
attachment 430067
[details]
Patch
Alexey Proskuryakov
Comment 2
2021-05-28 17:14:52 PDT
Comment on
attachment 430067
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=430067&action=review
> Source/WebCore/ChangeLog:9 > + Useful for interleaving some output generated from within a test with > + WebCore logging.
Could you please elaborate on how the behavior is different from window.console.log? Is this to have something in the system log?
Cameron McCormack (:heycam)
Comment 3
2021-05-28 17:39:30 PDT
This is specifically to add something to stderr. When I was debugging a test with WebCore logging enabled, I wanted to add some markers to stderr before and after the JS stuff that I was interested in.
Cameron McCormack (:heycam)
Comment 4
2021-05-28 17:43:04 PDT
Created
attachment 430079
[details]
Patch
Radar WebKit Bug Importer
Comment 5
2021-06-04 16:06:20 PDT
<
rdar://problem/78890214
>
Tim Horton
Comment 6
2021-06-09 17:46:10 PDT
Comment on
attachment 430079
[details]
Patch Does not seem outrageous to have a way to get to WTFLogAlways from internals.
EWS
Comment 7
2021-06-09 20:23:55 PDT
Committed
r278690
(
238664@main
): <
https://commits.webkit.org/238664@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 430079
[details]
.
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