Index: LayoutTests/webmidi/requestmidiaccess.html |
diff --git a/LayoutTests/webmidi/requestmidiaccess.html b/LayoutTests/webmidi/requestmidiaccess.html |
index 90c6fcefe4ad1cc6fb1276ba765a1c6de40a8fec..fcdd3bbf9a348c3998f3b4ab9aac339bbb7023ba 100644 |
--- a/LayoutTests/webmidi/requestmidiaccess.html |
+++ b/LayoutTests/webmidi/requestmidiaccess.html |
@@ -61,7 +61,7 @@ |
shouldThrow('output.send([0xf0, 0x45, 0xf7])'); |
// Now test System Exclusive access - our test mock should not allow this type of access. |
- navigator.requestMIDIAccess({sysex: true}).then(successCallback2, errorCallback2); |
+ shouldNotThrow("navigator.requestMIDIAccess({sysex: true}).then(successCallback2, errorCallback2)"); |
} |
function errorCallback1(error) { |
@@ -82,7 +82,7 @@ |
window.jsTestIsAsync = true; |
// Test basic access, with no System Exclusive. |
-navigator.requestMIDIAccess().then(successCallback1, errorCallback1); |
+shouldNotThrow("navigator.requestMIDIAccess().then(successCallback1, errorCallback1)"); |
</script> |
</body> |