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

[Gecko Bug 1530178] Fix audiobuffer-copy-channel.html to allow copyFromChannel/copyToChannel wth an offset of n on an array that is n elements long. #16708

Merged
merged 1 commit into from May 14, 2019

Conversation

moz-wptsync-bot
Copy link
Collaborator

This is a no-op, but is allowed per spec:

An optional offset to copy the data to. If startInChannel is greater than the
length of the AudioBuffer, an IndexSizeError MUST be thrown.

If the numbers are equals, this shouldn't throw.

Differential Revision: https://phabricator.services.mozilla.com/D29358

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1530178
gecko-commit: 1c983b486cd0785a8d0a795b2fa845c72ca06add
gecko-integration-branch: autoland
gecko-reviewers: karlt

…nel wth an offset of n on an array that is n elements long.

This is a no-op, but is allowed per spec:

> An optional offset to copy the data to. If startInChannel is greater than the
> length of the AudioBuffer, an IndexSizeError MUST be thrown.

If the numbers are equals, this shouldn't throw.

Differential Revision: https://phabricator.services.mozilla.com/D29358

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1530178
gecko-commit: 1c983b486cd0785a8d0a795b2fa845c72ca06add
gecko-integration-branch: autoland
gecko-reviewers: karlt
Copy link
Contributor

@jgraham jgraham left a comment

Choose a reason for hiding this comment

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

Should have been auto-approved.

@jgraham jgraham merged commit 3a6bbc7 into master May 14, 2019
@moz-wptsync-bot moz-wptsync-bot deleted the gecko/1530178 branch May 16, 2019 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants