Hi,
I have a FxOS Add-on injected in system app that calls bluetooth API. Previously in September it works well, but when I update to latest build recently, error pops out from this line: https://github.com/elin-moco/fxos-addon-beacon-scanner/blob/master/index.js#L496 Error: Accessing TypedArray data over Xrays is slow, and forbidden in order to encourage performant code. To copy TypedArrays across origin boundaries, consider using Components.utils.cloneInto(). the scanRecord is an ArrayBuffer returned from bluetooth API, I tried using var view = new Uint8Array(scanRecord).wrappedJSObject; but it fails to create the array, also var view = new Uint8Array(scanRecord.wrappedJSObject).wrappedJSObject; give me Error: Permission denied to access property "wrappedJSObject" Any ideas on how to deal with this problem? Thanks! Eddie _______________________________________________ dev-fxos mailing list [email protected] https://lists.mozilla.org/listinfo/dev-fxos

