Bug 188562 - ScriptExecutionContext::logExceptionToConsole should have more appropriate name
Summary: ScriptExecutionContext::logExceptionToConsole should have more appropriate name
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Yusuke Suzuki
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-14 10:55 PDT by Yusuke Suzuki
Modified: 2018-08-14 10:55 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yusuke Suzuki 2018-08-14 10:55:00 PDT
While the name is correct in Document context, it is wrong in WorkerGlobalScope context.
In worker, it does two things.

1. Log an exception to console.
2. Propagate it to worker object and emit ErrorEvent.

So this name is misleading. We should have appropriate name for this.