Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #59, issue with the android default browser #60

Merged
merged 1 commit into from Oct 5, 2013

Conversation

dduponchel
Copy link
Collaborator

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.
}
} catch(e) {
canUseApply = false;
}
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
Collaborator 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.

None yet

2 participants