Bug 234778

Summary: Console message functions need consistent terminology
Product: WebKit Reporter: Darin Adler <darin>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: ASSIGNED    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

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
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
Note You need to log in before you can comment on or make changes to this bug.