[webkit-dev] Exposing FileReader to a worker

2010-07-12 Thread David Sanders
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


Re: [webkit-dev] Exposing FileReader to a worker

2010-07-12 Thread David Sanders
Sorry I forgot to ask whether anyone knew what was required to add a class
to a worker context.  ;)

David
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev