Bug 27996

Summary: [V8] Fix an assert in WebCoreStringResource that causes worker script evaluation failed.
Product: WebKit Reporter: Jian Li <jianli>
Component: WebCore Misc.Assignee: Jian Li <jianli>
Status: RESOLVED FIXED    
Severity: Normal CC: levin
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Proposed Patch levin: review+

Description Jian Li 2009-08-04 14:24:42 PDT
There is an assert in WebCoreStringResource that causes worker script evaluation failed. We should check for the same thread, instead of the main thread, in WebCoreStringResource.
Comment 1 Jian Li 2009-08-04 14:29:44 PDT
Created attachment 34087 [details]
Proposed Patch
Comment 2 David Levin 2009-08-04 14:41:59 PDT
Comment on attachment 34087 [details]
Proposed Patch

It would be nice to mention in the ChangeLog why this is needed.

Even thought Chromium's workers only use v8 in a single thread, they don't use it on the main thread.
Comment 3 Jian Li 2009-08-04 15:52:47 PDT
Committed as http://trac.webkit.org/changeset/46782.