зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1586700
[wpt PR 19547] - mojo-js: Use correct style for constants, a=testonly
Automatic update from web-platform-tests mojo-js: Use correct style for constants Use CONSTANT_CASE for generated constants. Changes all instances that used the incorrect case. Bug: 1009251 Change-Id: I79b856996f543650b4cd20e329978936a12adeae Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1842976 Reviewed-by: Ken Rockot <rockot@google.com> Reviewed-by: Demetrios Papadopoulos <dpapad@chromium.org> Commit-Queue: Giovanni Ortuño Urquidi <ortuno@chromium.org> Cr-Commit-Position: refs/heads/master@{#704073} -- wpt-commits: f44adb8c6eef6ae422f145e1a74d0b0c916f2a64 wpt-pr: 19547
This commit is contained in:
Родитель
cee6ad1f87
Коммит
26127c0061
|
@ -124,7 +124,7 @@ var GenericSensorTest = (() => {
|
||||||
class MockSensorProvider {
|
class MockSensorProvider {
|
||||||
constructor() {
|
constructor() {
|
||||||
this.readingSizeInBytes_ =
|
this.readingSizeInBytes_ =
|
||||||
device.mojom.SensorInitParams.kReadBufferSizeForTests;
|
device.mojom.SensorInitParams.READ_BUFFER_SIZE_FOR_TESTS;
|
||||||
this.sharedBufferSizeInBytes_ = this.readingSizeInBytes_ *
|
this.sharedBufferSizeInBytes_ = this.readingSizeInBytes_ *
|
||||||
(device.mojom.SensorType.MAX_VALUE + 1);
|
(device.mojom.SensorType.MAX_VALUE + 1);
|
||||||
const rv = Mojo.createSharedBuffer(this.sharedBufferSizeInBytes_);
|
const rv = Mojo.createSharedBuffer(this.sharedBufferSizeInBytes_);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче