Skip to content

Conversation

@dduponchel
Copy link
Contributor

The default android browser shows some weird behavior... On some
versions String.fromCharCode.apply on a ArrayBuffer/Uint8Array will
fail, on other versions subarray returns wrong results
(u8with4elements.subarray(0, 65536) = u8with22elements).

The default android browser shows some weird behavior... On some
versions String.fromCharCode.apply on a ArrayBuffer/Uint8Array will
fail, on other versions subarray return wrong results
(u8with4elements.subarray(0, 65536) = u8with22elements).

At least, I can test this on the android emulator on linux.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, what's broken with apply?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some versions of the default android browser (4.x, tested in the emulator) doesn't accept ArrayBuffer or Uint8Array for apply, only arrays : I get a TypeError: Function.prototype.apply: Arguments list has wrong type.

Stuk added a commit that referenced this pull request Oct 5, 2013
Fix #59, issue with the android default browser
@Stuk Stuk merged commit 5da7854 into Stuk:master Oct 5, 2013
@dduponchel dduponchel deleted the issue59 branch October 30, 2013 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants