[webkit-dev] Exposing FileReader to a worker

David Sanders shang.xiao.sanders at gmail.com
Mon Jul 12 04:19:07 PDT 2010


Hi all,

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)’

Regards,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20100712/c523b069/attachment.html>


More information about the webkit-dev mailing list