[webkit-dev] Exposing FileReader to a worker
shang.xiao.sanders at gmail.com
Mon Jul 12 04:19:07 PDT 2010
I'm trying to expose the FileReader class to workers but am having a bit of
trouble doing so. Initially I've tried to simply add FileReaderConstructor
to WorkerContext.idl but still could not create a file reader from a worker.
Afterwards, I read through the source and saw that the
XMLHttpRequestConstructor is defined by returning the result from
getDOMConstructor() in JSWorkerContext. I tried the same for FileReader but
am getting the following when trying to compile:
error: no matching function for call to ‘getDOMConstructor(JSC::ExecState*&,
const WebCore::JSWorkerContext* const)’
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev