Skip to content

Commit

Permalink
part 1 - Fix "respresent" typos in WPTs. DONTBUILD
Browse files Browse the repository at this point in the history
Also fix a "respoitory" typo.

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

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1835084
gecko-commit: 0721c227f5c29af5747d7e59f11689fc13ad05a4
gecko-reviewers: dholbert
  • Loading branch information
amccreight authored and moz-wptsync-bot committed May 26, 2023
1 parent ab4e1e7 commit 3c7bf51
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const expected = new DOMException(
'Failed to execute \'requestDevice\' on \'Bluetooth\': ' +
'A device name can\'t be longer than 248 bytes.',
new TypeError());
// \u2764's UTF-8 respresentation is 3 bytes long.
// \u2764's UTF-8 representation is 3 bytes long.
// 83 chars * 3 bytes/char = 249 bytes
const unicode_name = '\u2764'.repeat(83);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const expected = new DOMException(
'Failed to execute \'requestDevice\' on \'Bluetooth\': ' +
'A device name can\'t be longer than 248 bytes.',
new TypeError());
// \u2764's UTF-8 respresentation is 3 bytes long.
// \u2764's UTF-8 representation is 3 bytes long.
// 83 chars * 3 bytes/char = 249 bytes
const unicode_name = '\u2764'.repeat(83);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// META: script=/bluetooth/resources/bluetooth-fake-devices.js
'use strict';
const test_desc = 'A unicode device name of 248 bytes is valid.';
// \u00A1's UTF-8 respresentation is 2 bytes long.
// \u00A1's UTF-8 representation is 2 bytes long.
// 124 chars * 2 bytes/char = 248 bytes
const DEVICE_NAME = '\u00A1'.repeat(124);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// META: script=/bluetooth/resources/bluetooth-fake-devices.js
'use strict';
const test_desc = 'A unicode device namePrefix of 248 bytes is valid.';
// \u00A1's UTF-8 respresentation is 2 bytes long.
// \u00A1's UTF-8 representation is 2 bytes long.
// 124 chars * 2 bytes/char = 248 bytes
const DEVICE_NAME = '\u00A1'.repeat(124);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
const absoluteThreshold = Math.pow(2, -21);

// Fairly arbitrary sample rate, except that we want the rate to be a
// power of two so that 1/sampleRate is exactly respresentable as a
// power of two so that 1/sampleRate is exactly representable as a
// single-precision float.
let sampleRate = 8192;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
const absoluteThreshold = Math.pow(2, -21);

// Fairly arbitrary sample rate, except that we want the rate to be a
// power of two so that 1/sampleRate is exactly respresentable as a
// power of two so that 1/sampleRate is exactly representable as a
// single-precision float.
let sampleRate = 8192;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
const absoluteThreshold = 3 * Math.pow(2, -22);

// Fairly arbitrary sample rate, except that we want the rate to be a
// power of two so that 1/sampleRate is exactly respresentable as a
// power of two so that 1/sampleRate is exactly representable as a
// single-precision float.
let sampleRate = 8192;

Expand Down

0 comments on commit 3c7bf51

Please sign in to comment.