Bug 234778
| Summary: | Console message functions need consistent terminology | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Darin Adler <darin> |
| Component: | Web Inspector | Assignee: | 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
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
Also, some mention the console, but the ones that say "log" mostly don’t mention the console.
Radar WebKit Bug Importer
<rdar://problem/87289551>