Title: [272404] trunk/LayoutTests
Revision
272404
Author
[email protected]
Date
2021-02-04 23:40:33 -0800 (Thu, 04 Feb 2021)

Log Message

Add intermediate volume icon states between "mute" and "max"
https://bugs.webkit.org/show_bug.cgi?id=221371

Unreviewed test fix.

* media/modern-media-controls/mute-button/mute-button.html:
* media/modern-media-controls/mute-button/mute-button-expected.txt:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (272403 => 272404)


--- trunk/LayoutTests/ChangeLog	2021-02-05 03:56:27 UTC (rev 272403)
+++ trunk/LayoutTests/ChangeLog	2021-02-05 07:40:33 UTC (rev 272404)
@@ -1,3 +1,13 @@
+2021-02-05  Devin Rousso  <[email protected]>
+
+        Add intermediate volume icon states between "mute" and "max"
+        https://bugs.webkit.org/show_bug.cgi?id=221371
+
+        Unreviewed test fix.
+
+        * media/modern-media-controls/mute-button/mute-button.html:
+        * media/modern-media-controls/mute-button/mute-button-expected.txt:
+
 2021-02-04  Lauro Moura  <[email protected]>
 
         [GLIB] Gardening accessibility and font failures

Modified: trunk/LayoutTests/media/modern-media-controls/mute-button/mute-button-expected.txt (272403 => 272404)


--- trunk/LayoutTests/media/modern-media-controls/mute-button/mute-button-expected.txt	2021-02-05 03:56:27 UTC (rev 272403)
+++ trunk/LayoutTests/media/modern-media-controls/mute-button/mute-button-expected.txt	2021-02-05 07:40:33 UTC (rev 272404)
@@ -5,8 +5,8 @@
 
 PASS muteButton.element.localName is "button"
 PASS muteButton.element.classList.contains("mute") is true
-PASS muteButton.iconName is Icons.VolumeMutedRTL
 PASS muteButton.muted is true
+PASS muteButton.iconName became Icons.VolumeMutedRTL
 PASS muteButton.image.element.style.webkitMaskImage.includes("macOS/VolumeMuted-RTL.svg") became true
 Unmuting...
 PASS muteButton.muted is false

Modified: trunk/LayoutTests/media/modern-media-controls/mute-button/mute-button.html (272403 => 272404)


--- trunk/LayoutTests/media/modern-media-controls/mute-button/mute-button.html	2021-02-05 03:56:27 UTC (rev 272403)
+++ trunk/LayoutTests/media/modern-media-controls/mute-button/mute-button.html	2021-02-05 07:40:33 UTC (rev 272404)
@@ -12,14 +12,15 @@
 
 shouldBeEqualToString("muteButton.element.localName", "button");
 shouldBeTrue('muteButton.element.classList.contains("mute")');
-shouldBe("muteButton.iconName", "Icons.VolumeMutedRTL");
 shouldBeTrue("muteButton.muted");
-shouldBecomeEqual('muteButton.image.element.style.webkitMaskImage.includes("macOS/VolumeMuted-RTL.svg")', "true", () => {
-    debug("Unmuting...");
-    muteButton.muted = false;
-    shouldBeFalse("muteButton.muted");
-    shouldBecomeEqual("muteButton.iconName", "Icons.Volume3RTL", () => {
-        shouldBecomeEqual('muteButton.image.element.style.webkitMaskImage.includes("macOS/Volume3-RTL.svg")', "true", finishJSTest);
+shouldBecomeEqual("muteButton.iconName", "Icons.VolumeMutedRTL", () => {
+    shouldBecomeEqual('muteButton.image.element.style.webkitMaskImage.includes("macOS/VolumeMuted-RTL.svg")', "true", () => {
+        debug("Unmuting...");
+        muteButton.muted = false;
+        shouldBeFalse("muteButton.muted");
+        shouldBecomeEqual("muteButton.iconName", "Icons.Volume3RTL", () => {
+            shouldBecomeEqual('muteButton.image.element.style.webkitMaskImage.includes("macOS/Volume3-RTL.svg")', "true", finishJSTest);
+        });
     });
 });
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to