Bug 31857

Summary: Need to rename WorkerScriptLoader into ScriptLoader and move it.
Product: WebKit Reporter: Dmitry Titov <dimich>
Component: WebCore Misc.Assignee: Dmitry Titov <dimich>
Status: RESOLVED WONTFIX    
Severity: Normal CC: ap, levin
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 31317    

Dmitry Titov
Reported 2009-11-24 22:27:01 PST
This class uses ThreadableLoader to load script resources. It knows to apply header-specified encoding or UTF-8, and applies same-origin policy if instructed. It also implements simple ThreadableLoaderClient. It makes sense to rename it to ScriptLoader and place in WebCore/loader. It can be reused by SharedScript as well as by Workers.
Attachments
Dmitry Titov
Comment 1 2009-12-07 16:57:29 PST
This was making sense to share functionality of WorkerScriptLoader with SharedScript. Since we are not implementing SharedScript, there is no need to make this change now but in the future, this still can be done if there will be need to load JS scripts.
Note You need to log in before you can comment on or make changes to this bug.