Skip to content

Commit

Permalink
Fix some WPT typos
Browse files Browse the repository at this point in the history
The tests themselves could also be improved, but for the time being
let's fix these typing mistakes.

Change-Id: Ibdc84f132326e6cc9beb7225b3fb3bc133470f45
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5053500
Reviewed-by: Sina Firoozabadi <sinafirooz@chromium.org>
Commit-Queue: Michael Wilson <mjwilson@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1228125}
  • Loading branch information
Michael Wilson authored and chromium-wpt-export-bot committed Nov 22, 2023
1 parent d3feabf commit 5a8f920
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
for (var i = 0; i < buf.length; i++) {
// The convolver can introduce a slight numerical error.
if (Math.abs(buf[i] - 1.0) > 0.0001) {
assert_true(false, `Invalid value at index ${i}, expecte close to 1.0, found ${buf[i]} when ${location}`)
assert_true(false, `Invalid value at index ${i}, expected close to 1.0, found ${buf[i]} when ${location}`)
return Promise.reject();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
let numberOfChannels = 7;

// Number of frames in the AudioBuffer. Fairly arbitrary, but should
// probablybe more than one render quantum and significantly less than
// probably be more than one render quantum and significantly less than
// |renderLength|.
let bufferFrames = 131;

Expand Down

0 comments on commit 5a8f920

Please sign in to comment.