Re: Calling methods on Uint8Array is causing a ReferenceError in Super Dev Mode...

2017-11-08 Thread TimOnGmail
Hmmm, nope - even if I make a copy of the buffer, I still get the above error in Super Dev mode. Any ideas, anyone? - Tim -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an e

Re: Calling methods on Uint8Array is causing a ReferenceError in Super Dev Mode...

2017-11-08 Thread TimOnGmail
Actually, now that I look at it, I am guessing that the underlying buffer used by the FileReader is changing state while I'm trying to access it; I should have made a copy of it before using it. I shall try that and see if that fixes it. I don't know why it would work compiled but not in Super

Re: Calling methods on Uint8Array is causing a ReferenceError in Super Dev Mode...

2017-11-08 Thread TimOnGmail
I should add, the underlying data is coming from a FileReader object, reading data from the MediaRecorder API. I suppose this is the actual cause, though I'm not sure. I would think everything would be fine if it's working in compiled mode... - Tim -- You received this message because you a

Calling methods on Uint8Array is causing a ReferenceError in Super Dev Mode...

2017-11-08 Thread TimOnGmail
Hey folks... I have some code that looks like this: private native void myNativeMethod() /*-{ ... var myArrayBuffer = [something that gets an ArrayBuffer); this.@myPackmage::myNonNativeMethod(Lcom/google/gwt/typedarrays/shared/ArrayBuffer;)(myArrayBuffer); }-*/ private void myNonN