Bug 100882

Summary: he param can't be "count.js" with my environment, is it right ?
Product: WebKit Reporter: 姜涛 <jiangtaoxju>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Trivial CC: ap
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   
Attachments:
Description Flags
this is a demo when I use "Worker(count.js)" none

姜涛
Reported 2012-10-31 13:13:03 PDT
When create a worker like this: var worker = new Worker("count.js") It doesn't work, failed to get count.js But if change the name to another, It will be OK.
Attachments
this is a demo when I use "Worker(count.js)" (474 bytes, text/plain)
2012-10-31 13:18 PDT, 姜涛
no flags
姜涛
Comment 1 2012-10-31 13:18:31 PDT
Created attachment 171710 [details] this is a demo when I use "Worker(count.js)"
Alexey Proskuryakov
Comment 2 2012-10-31 16:05:05 PDT
This test doesn't work because of "console.log(i)" in the worker code. There is no console in worker global scope. The test works as expected in Safari 6.0.1 if I remove that line.
Note You need to log in before you can comment on or make changes to this bug.