| Index: third_party/WebKit/LayoutTests/webmidi/requestmidiaccess.html
|
| diff --git a/third_party/WebKit/LayoutTests/webmidi/requestmidiaccess.html b/third_party/WebKit/LayoutTests/webmidi/requestmidiaccess.html
|
| index 8f857c8127ac7fff6e8810e3e42d1d1fbcfdae7a..6e1d65e6a72edd7ecca2f0cbf27b1517499a71d2 100644
|
| --- a/third_party/WebKit/LayoutTests/webmidi/requestmidiaccess.html
|
| +++ b/third_party/WebKit/LayoutTests/webmidi/requestmidiaccess.html
|
| @@ -19,7 +19,7 @@ function checkInputMap(inputs) {
|
| debug("for (var input of inputs.values())");
|
| for (var input of inputs.values()) {
|
| window.input = input;
|
| - shouldBeEqualToString("input.id", "MockInputID");
|
| + shouldBeEqualToString("input.id", "MockInputID-0");
|
| shouldBeEqualToString("input.manufacturer", "MockInputManufacturer");
|
| shouldBeEqualToString("input.name", "MockInputName");
|
| shouldBeEqualToString("input.version", "MockInputVersion");
|
| @@ -29,7 +29,7 @@ function checkInputMap(inputs) {
|
| debug("for (var input of inputs.keys())");
|
| for (var key of inputs.keys()) {
|
| window.inputKey = key;
|
| - shouldBeEqualToString("inputKey", "MockInputID");
|
| + shouldBeEqualToString("inputKey", "MockInputID-0");
|
| }
|
| debug("for (var input of inputs.entries())");
|
| for (var entry of inputs.entries()) {
|
| @@ -43,10 +43,10 @@ function checkInputMap(inputs) {
|
| shouldBe("entry[0]", "inputKey");
|
| shouldBe("entry[1]", "input");
|
| }
|
| - shouldBeTrue("inputs.has('MockInputID')");
|
| - shouldBeFalse("inputs.has('MockOutputID')");
|
| - shouldBe("inputs.get('MockInputID')", "input");
|
| - shouldBeUndefined("inputs.get('MockOutputID')");
|
| + shouldBeTrue("inputs.has('MockInputID-0')");
|
| + shouldBeFalse("inputs.has('MockOutputID-0')");
|
| + shouldBe("inputs.get('MockInputID-0')", "input");
|
| + shouldBeUndefined("inputs.get('MockOutputID-0')");
|
| debug("inputs.forEach(...)");
|
| inputs.forEach(function (input, key, map) {
|
| window.forEachInput = input;
|
| @@ -63,7 +63,7 @@ function checkOutputMap(outputs) {
|
| debug("for (var output of outputs.values())");
|
| for (var output of outputs.values()) {
|
| window.output = output;
|
| - shouldBeEqualToString("output.id", "MockOutputID");
|
| + shouldBeEqualToString("output.id", "MockOutputID-0");
|
| shouldBeEqualToString("output.manufacturer", "MockOutputManufacturer");
|
| shouldBeEqualToString("output.name", "MockOutputName");
|
| shouldBeEqualToString("output.version", "MockOutputVersion");
|
| @@ -73,7 +73,7 @@ function checkOutputMap(outputs) {
|
| debug("for (var output of outputs.keys())");
|
| for (var key of outputs.keys()) {
|
| window.outputKey = key;
|
| - shouldBeEqualToString("outputKey", "MockOutputID");
|
| + shouldBeEqualToString("outputKey", "MockOutputID-0");
|
| }
|
| debug("for (var output of outputs.entries())");
|
| for (var entry of outputs.entries()) {
|
| @@ -87,10 +87,10 @@ function checkOutputMap(outputs) {
|
| shouldBe("entry[0]", "outputKey");
|
| shouldBe("entry[1]", "output");
|
| }
|
| - shouldBeTrue("outputs.has('MockOutputID')");
|
| - shouldBeFalse("outputs.has('MockInputID')");
|
| - shouldBe("outputs.get('MockOutputID')", "output");
|
| - shouldBeUndefined("outputs.get('MockInputID')");
|
| + shouldBeTrue("outputs.has('MockOutputID-0')");
|
| + shouldBeFalse("outputs.has('MockInputID-0')");
|
| + shouldBe("outputs.get('MockOutputID-0')", "output");
|
| + shouldBeUndefined("outputs.get('MockInputID-0')");
|
| debug("outputs.forEach(...)");
|
| outputs.forEach(function (output, key, map) {
|
| window.forEachOutput = output;
|
|
|