[webkit-help] Which SYNTAX_ERR should be thrown from WorkerContext::importScripts()

Y.Sanachan sanachan.y at gmail.com
Fri Oct 7 08:41:17 PDT 2011


Hi there,

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 ?
OR, should it be set to 1 when compile WorkerContext.cpp ?



Thanks in advance,
Sanachan.



More information about the webkit-help mailing list