WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
ASSIGNED
234778
Console message functions need consistent terminology
https://bugs.webkit.org/show_bug.cgi?id=234778
Summary
Console message functions need consistent terminology
Darin Adler
Reported
2022-01-01 01:46:44 PST
Here are the names of functions to put messages in the JavaScript console that I have found: addConsoleMessage addMessage convertToExceptionAndLog logConsolePersistencyError logError logExceptionToConsole logMockScrollbarsControllerMessage logSecurityError printErrorMessage printToConsole reportMessage Note that some of them "add" the messages, some "log" them, some "print" them, and some "report" them. But they are all doing the same thing and so should use the same verb I think.
Attachments
Add attachment
proposed patch, testcase, etc.
Darin Adler
Comment 1
2022-01-01 01:47:27 PST
Also, some mention the console, but the ones that say "log" mostly don’t mention the console.
Radar WebKit Bug Importer
Comment 2
2022-01-08 01:47:18 PST
<
rdar://problem/87289551
>
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