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
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to