Bug 1499871 - Fix spelling of "NotAllowedError" r=achronop
authorWes Kocher <wkocher@mozilla.com>
Wed, 24 Oct 2018 17:21:13 +0000
changeset 491171 121ccc3d4437ee3a44aa29d4c94feb17073f815c
parent 491170 74998050fbc4bf8da4dab2626c033cec0b34dbfb
child 491172 1564ebaca63f8f796ababdcb61c7df09c189b3a9
push id247
push userfmarier@mozilla.com
push dateSat, 27 Oct 2018 01:06:44 +0000
reviewersachronop
bugs1499871
milestone65.0a1
Bug 1499871 - Fix spelling of "NotAllowedError" r=achronop Differential Revision: https://phabricator.services.mozilla.com/D9615
testing/web-platform/tests/audio-output/setSinkId.html
testing/web-platform/tests/audio-output/setSinkId.https.html
--- a/testing/web-platform/tests/audio-output/setSinkId.html
+++ b/testing/web-platform/tests/audio-output/setSinkId.html
@@ -34,11 +34,11 @@ promise_test(async t => {
       r = await audio.setSinkId(deviceId);
       assert_equals(r, undefined, "resetting sinkid on same current value should always work");
       r = await audio.setSinkId("");
       assert_equals(r, undefined, "resetting sinkid on default audio output should always work");
     } catch (e) {
       assert_equals(e.name, "NotAllowedError", "Non-default devices are failing with NotAllowed error");
     }
   }
-}, "List device, setSinkId should on the default, the rest of the devices will get a NotAlowedError");
+}, "List device, setSinkId should be allowed on the default, the rest of the devices will get a NotAllowedError");
 
 </script>
--- a/testing/web-platform/tests/audio-output/setSinkId.https.html
+++ b/testing/web-platform/tests/audio-output/setSinkId.https.html
@@ -36,11 +36,11 @@ promise_test(async t => {
       r = await audio.setSinkId(deviceId);
       assert_equals(r, undefined, "resetting sinkid on same current value should always work");
       r = await audio.setSinkId("");
       assert_equals(r, undefined, "resetting sinkid on default audio output should always work");
     } catch (e) {
       assert_equals(e.name, "NotAllowedError", "Non-default devices are failing with NotAllowed error");
     }
   }
-}, "List device, setSinkId should on the default, the rest of the devices will get a NotAlowedError");
+}, "List device, setSinkId should be allowed on the default, the rest of the devices will get a NotAllowedError");
 
 </script>