ghcjs / ghcjs-dom

Make Document Object Model (DOM) apps that run in any browser and natively using WebKitGtk
74 stars 41 forks source link

XMLHttpRequestUpload has gone missing #70

Open tathougies opened 7 years ago

tathougies commented 7 years ago

Previous versions had GHCJS.DOM.XMLHttpRequestUpload for functions with the .upload member of an XMLHttpRequest. It looks like the IDL file is being included somewhere, but I don't see any code generated. Any thoughts?

hamishmack commented 7 years ago

The WebKit IDL files have changed to include a new interface XMLHttpRequestEventTarget. Both XMLHttpRequestUpload and XMLHttpRequest are XMLHttpRequestEventTargets.

The functions you are looking for have probably moved from GHCJS.DOM.XMLHttpRequestUpload to GHCJS.DOM.XMLHttpRequestEventTargets.