| Index: LayoutTests/webmidi/requestmidiaccess.html
|
| diff --git a/LayoutTests/webmidi/requestmidiaccess.html b/LayoutTests/webmidi/requestmidiaccess.html
|
| index 97f3a179bf714a5e5b8cdf9e07934426e60d531f..1e1285b9d142e6b41713818908f9b948b637467f 100644
|
| --- a/LayoutTests/webmidi/requestmidiaccess.html
|
| +++ b/LayoutTests/webmidi/requestmidiaccess.html
|
| @@ -56,7 +56,7 @@ function successCallback1(a) {
|
| shouldThrow('output.send([0xf1, 0x45, 0x7f])', '"SecurityError: Failed to execute \'send\' on \'MIDIOutput\': permission to send system exclusive messages is denied."');
|
|
|
| // Now test System Exclusive access - our test mock should not allow this type of access.
|
| - shouldNotThrow("navigator.requestMIDIAccess({sysex: true}).then(successCallback2, errorCallback2)");
|
| + navigator.requestMIDIAccess({sysex: true}).then(successCallback2, errorCallback2);
|
| }
|
|
|
| function errorCallback1(error) {
|
| @@ -77,7 +77,7 @@ function errorCallback2(error) {
|
| window.jsTestIsAsync = true;
|
|
|
| // Test basic access, with no System Exclusive.
|
| -shouldNotThrow("navigator.requestMIDIAccess().then(successCallback1, errorCallback1)");
|
| +navigator.requestMIDIAccess().then(successCallback1, errorCallback1);
|
|
|
| </script>
|
| </body>
|
|
|