[webkit-help] Which SYNTAX_ERR should be thrown from WorkerContext::importScripts()
sanachan.y at gmail.com
Thu Oct 13 08:58:15 PDT 2011
Thanks for your help.
I will register this problem to bugs.webkit.org with a patch.
Thank you for your time !
(2011/10/13 1:44), Julien Chaffraix wrote:
>> In WebCore::WorkerContext::importScripts() method,
>> it will throw an exception code of SYNTAX_ERR from the 1st for loop.
>> When ENABLE_FILE_SYSTEM=0,
>> I met the compile error as like 'SYNTAX_ERR is not defined'.
>> Can I include dom/ExceptionCode.h instead of the header files relating
>> to FILE_SYSTEM API ?
> This is the right solution. Care to file a bug and attach a patch to
> solve the problem for everyone?
>> OR, should it be set to 1 when compile WorkerContext.cpp ?
> No, Workers and Filesystem API are orthogonal.
More information about the webkit-help