Summary: | Need to remove encoding() from ScriptExecutionContext | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Dmitry Titov <dimich> | ||||
Component: | WebKit Misc. | Assignee: | Dmitry Titov <dimich> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | ap | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
Dmitry Titov
2009-03-19 16:58:01 PDT
Created attachment 28803 [details]
Proposed patch
Comment on attachment 28803 [details] Proposed patch > + m_cachedScript = document->docLoader()->requestScript(m_scriptURL, UTF8Encoding().name()); The name is "UTF-8", there is no need to get it in such a roundabout way. > + m_decoder = TextResourceDecoder::create("text/javascript", UTF8Encoding().name()); Ditto. r=me Replaced the name pulling with "UTF-8" and landed: http://trac.webkit.org/changeset/41871 |