Diff
Modified: trunk/LayoutTests/ChangeLog (249928 => 249929)
--- trunk/LayoutTests/ChangeLog 2019-09-16 23:43:33 UTC (rev 249928)
+++ trunk/LayoutTests/ChangeLog 2019-09-16 23:53:33 UTC (rev 249929)
@@ -1,5 +1,20 @@
2019-09-16 Chris Dumez <[email protected]>
+ Unreviewed, fix several css-dark-mode tests to run properly after testharness.js update in r249918.
+
+ * css-dark-mode/color-scheme-css-expected.txt:
+ * css-dark-mode/color-scheme-css.html:
+ * css-dark-mode/color-scheme-meta-expected.txt:
+ * css-dark-mode/color-scheme-meta.html:
+ * css-dark-mode/color-scheme-scrollbar-expected.txt:
+ * css-dark-mode/color-scheme-scrollbar.html:
+ * css-dark-mode/older-syntax/supported-color-schemes-css-expected.txt:
+ * css-dark-mode/older-syntax/supported-color-schemes-css.html:
+ * css-dark-mode/older-syntax/supported-color-schemes-meta-expected.txt:
+ * css-dark-mode/older-syntax/supported-color-schemes-meta.html:
+
+2019-09-16 Chris Dumez <[email protected]>
+
Unreviewed, skip imported/w3c/web-platform-tests/html/browsers/offline/application-cache-api/api_update.https.html.
This test is a flaky timeout since it was imported in r249886.
Modified: trunk/LayoutTests/css-dark-mode/color-scheme-css-expected.txt (249928 => 249929)
--- trunk/LayoutTests/css-dark-mode/color-scheme-css-expected.txt 2019-09-16 23:43:33 UTC (rev 249928)
+++ trunk/LayoutTests/css-dark-mode/color-scheme-css-expected.txt 2019-09-16 23:53:33 UTC (rev 249929)
@@ -5,15 +5,15 @@
PASS Light color scheme enabled
PASS Color schemes changed to light and dark
PASS Element colors are correct in light color scheme with light and dark supported color scheme
-PASS Dark color scheme enabled
+PASS Dark color scheme enabled 2
PASS Element colors are correct in dark color scheme with light and dark supported color scheme
-PASS Light color scheme enabled
+PASS Light color scheme enabled 2
PASS Color schemes changed to dark
PASS Element colors are correct in light color scheme with only dark supported color scheme
-PASS Dark color scheme enabled
+PASS Dark color scheme enabled 3
PASS Element colors are correct in dark color scheme with only dark supported color scheme
PASS Color schemes changed to light and a bogus value
-PASS Element colors are correct in dark color scheme with only light supported color scheme
+PASS Element colors are correct in dark color scheme with only light supported color scheme 2
PASS Color schemes changed to auto value
PASS Element colors are correct in dark color scheme with implicit light supported color scheme
PASS Color schemes changed to light and dark via <meta> element
@@ -21,8 +21,8 @@
PASS Color schemes changed to light value
PASS Element colors are correct in dark color scheme with explicit light, overriding <meta> element
PASS Remove test meta element
-PASS Color schemes changed to light and dark
-PASS Element colors are correct in dark color scheme with light and dark supported color scheme
+PASS Color schemes changed to light and dark 2
+PASS Element colors are correct in dark color scheme with light and dark supported color scheme 2
PASS Color schemes changed to a bogus value and dark
PASS Element colors are correct in dark color scheme with dark supported color scheme
Modified: trunk/LayoutTests/css-dark-mode/color-scheme-css.html (249928 => 249929)
--- trunk/LayoutTests/css-dark-mode/color-scheme-css.html 2019-09-16 23:43:33 UTC (rev 249928)
+++ trunk/LayoutTests/css-dark-mode/color-scheme-css.html 2019-09-16 23:53:33 UTC (rev 249929)
@@ -57,7 +57,7 @@
test(function() {
if (window.internals)
internals.settings.setUseDarkAppearance(true);
-}, "Dark color scheme enabled");
+}, "Dark color scheme enabled 2");
test(function() {
// The semantic text color should be white.
@@ -67,7 +67,7 @@
test(function() {
if (window.internals)
internals.settings.setUseDarkAppearance(false);
-}, "Light color scheme enabled");
+}, "Light color scheme enabled 2");
test(function() {
document.body.style.setProperty("color-scheme", "dark");
@@ -82,7 +82,7 @@
test(function() {
if (window.internals)
internals.settings.setUseDarkAppearance(true);
-}, "Dark color scheme enabled");
+}, "Dark color scheme enabled 3");
test(function() {
// The semantic text color should be white still.
@@ -97,7 +97,7 @@
test(function() {
// The semantic text color should be black again.
test_color_is_black("test1");
-}, "Element colors are correct in dark color scheme with only light supported color scheme");
+}, "Element colors are correct in dark color scheme with only light supported color scheme 2");
test(function() {
document.body.style.setProperty("color-scheme", "auto");
@@ -139,12 +139,12 @@
test(function() {
document.body.style.setProperty("color-scheme", "light dark");
test_prop(document.body, "color-scheme", "light dark");
-}, "Color schemes changed to light and dark");
+}, "Color schemes changed to light and dark 2");
test(function() {
// The semantic text color should be white now.
test_color_is_white("test1");
-}, "Element colors are correct in dark color scheme with light and dark supported color scheme");
+}, "Element colors are correct in dark color scheme with light and dark supported color scheme 2");
test(function() {
document.body.style.setProperty("color-scheme", "foo dark");
Modified: trunk/LayoutTests/css-dark-mode/color-scheme-meta-expected.txt (249928 => 249929)
--- trunk/LayoutTests/css-dark-mode/color-scheme-meta-expected.txt 2019-09-16 23:43:33 UTC (rev 249928)
+++ trunk/LayoutTests/css-dark-mode/color-scheme-meta-expected.txt 2019-09-16 23:53:33 UTC (rev 249929)
@@ -5,15 +5,15 @@
PASS Light color scheme enabled
PASS Color schemes changed to light and dark
PASS Element colors are correct in light color scheme with light and dark color scheme
-PASS Dark color scheme enabled
+PASS Dark color scheme enabled 2
PASS Element colors are correct in dark color scheme with light and dark color scheme
-PASS Light color scheme enabled
+PASS Light color scheme enabled 2
PASS Color schemes changed to dark
PASS Element colors are correct in light color scheme with only dark color scheme
-PASS Dark color scheme enabled
+PASS Dark color scheme enabled 3
PASS Element colors are correct in dark color scheme with only dark color scheme
PASS Color schemes changed to light and a bogus value
-PASS Element colors are correct in dark color scheme with only light color scheme
+PASS Element colors are correct in dark color scheme with only light color scheme 2
PASS Color schemes changed to empty value
PASS Element colors are correct in dark color scheme with implicit light color scheme
PASS Color schemes changed to light,dark
Modified: trunk/LayoutTests/css-dark-mode/color-scheme-meta.html (249928 => 249929)
--- trunk/LayoutTests/css-dark-mode/color-scheme-meta.html 2019-09-16 23:43:33 UTC (rev 249928)
+++ trunk/LayoutTests/css-dark-mode/color-scheme-meta.html 2019-09-16 23:53:33 UTC (rev 249929)
@@ -58,7 +58,7 @@
test(function() {
if (window.internals)
internals.settings.setUseDarkAppearance(true);
-}, "Dark color scheme enabled");
+}, "Dark color scheme enabled 2");
test(function() {
// The semantic text color should be white.
@@ -68,7 +68,7 @@
test(function() {
if (window.internals)
internals.settings.setUseDarkAppearance(false);
-}, "Light color scheme enabled");
+}, "Light color scheme enabled 2");
test(function() {
document.getElementById("meta").content = "dark";
@@ -82,7 +82,7 @@
test(function() {
if (window.internals)
internals.settings.setUseDarkAppearance(true);
-}, "Dark color scheme enabled");
+}, "Dark color scheme enabled 3");
test(function() {
// The semantic text color should be white still.
@@ -96,7 +96,7 @@
test(function() {
// The semantic text color should be black again.
test_color_is_black("test1");
-}, "Element colors are correct in dark color scheme with only light color scheme");
+}, "Element colors are correct in dark color scheme with only light color scheme 2");
test(function() {
document.getElementById("meta").content = "";
Modified: trunk/LayoutTests/css-dark-mode/color-scheme-scrollbar-expected.txt (249928 => 249929)
--- trunk/LayoutTests/css-dark-mode/color-scheme-scrollbar-expected.txt 2019-09-16 23:43:33 UTC (rev 249928)
+++ trunk/LayoutTests/css-dark-mode/color-scheme-scrollbar-expected.txt 2019-09-16 23:53:33 UTC (rev 249929)
@@ -8,10 +8,10 @@
PASS Element scrollbar overlay style is default
PASS Element scrollbar is using dark appearance
PASS Set color scheme to light on the document element
-PASS Body Element color scheme is light and dark
+PASS Body Element color scheme is light and dark 2
PASS Document Element color scheme is light
PASS Document scrollbar overlay style is default
PASS Document scrollbar is using light appearance
-PASS Element scrollbar overlay style is default
-PASS Element scrollbar is using dark appearance
+PASS Element scrollbar overlay style is default 2
+PASS Element scrollbar is using dark appearance 2
Modified: trunk/LayoutTests/css-dark-mode/color-scheme-scrollbar.html (249928 => 249929)
--- trunk/LayoutTests/css-dark-mode/color-scheme-scrollbar.html 2019-09-16 23:43:33 UTC (rev 249928)
+++ trunk/LayoutTests/css-dark-mode/color-scheme-scrollbar.html 2019-09-16 23:53:33 UTC (rev 249929)
@@ -80,7 +80,7 @@
test(function() {
test_prop(document.body, "color-scheme", "light dark");
-}, "Body Element color scheme is light and dark");
+}, "Body Element color scheme is light and dark 2");
test(function() {
test_prop(document.documentElement, "color-scheme", "light");
@@ -102,11 +102,11 @@
if (!window.internals)
return;
assert_equals(internals.scrollbarOverlayStyle(document.getElementById("test")), "default");
-}, "Element scrollbar overlay style is default");
+}, "Element scrollbar overlay style is default 2");
test(function() {
if (!window.internals)
return;
assert_equals(internals.scrollbarUsingDarkAppearance(document.getElementById("test")), true);
-}, "Element scrollbar is using dark appearance");
+}, "Element scrollbar is using dark appearance 2");
</script>
Modified: trunk/LayoutTests/css-dark-mode/older-syntax/supported-color-schemes-css-expected.txt (249928 => 249929)
--- trunk/LayoutTests/css-dark-mode/older-syntax/supported-color-schemes-css-expected.txt 2019-09-16 23:43:33 UTC (rev 249928)
+++ trunk/LayoutTests/css-dark-mode/older-syntax/supported-color-schemes-css-expected.txt 2019-09-16 23:53:33 UTC (rev 249929)
@@ -5,15 +5,15 @@
PASS Light color scheme enabled
PASS Supported color schemes changed to light and dark
PASS Element colors are correct in light color scheme with light and dark supported color scheme
-PASS Dark color scheme enabled
+PASS Dark color scheme enabled 2
PASS Element colors are correct in dark color scheme with light and dark supported color scheme
-PASS Light color scheme enabled
+PASS Light color scheme enabled 2
PASS Supported color schemes changed to dark
PASS Element colors are correct in light color scheme with only dark supported color scheme
-PASS Dark color scheme enabled
+PASS Dark color scheme enabled 3
PASS Element colors are correct in dark color scheme with only dark supported color scheme
PASS Supported color schemes changed to light and a bogus value
-PASS Element colors are correct in dark color scheme with only light supported color scheme
+PASS Element colors are correct in dark color scheme with only light supported color scheme 2
PASS Supported color schemes changed to auto value
PASS Element colors are correct in dark color scheme with implicit light supported color scheme
PASS Supported color schemes changed to light and dark via <meta> element
@@ -21,8 +21,8 @@
PASS Supported color schemes changed to light value
PASS Element colors are correct in dark color scheme with explicit light, overriding <meta> element
PASS Remove test meta element
-PASS Supported color schemes changed to light and dark
-PASS Element colors are correct in dark color scheme with light and dark supported color scheme
+PASS Supported color schemes changed to light and dark 2
+PASS Element colors are correct in dark color scheme with light and dark supported color scheme 2
PASS Supported color schemes changed to a bogus value and dark
PASS Element colors are correct in dark color scheme with dark supported color scheme
Modified: trunk/LayoutTests/css-dark-mode/older-syntax/supported-color-schemes-css.html (249928 => 249929)
--- trunk/LayoutTests/css-dark-mode/older-syntax/supported-color-schemes-css.html 2019-09-16 23:43:33 UTC (rev 249928)
+++ trunk/LayoutTests/css-dark-mode/older-syntax/supported-color-schemes-css.html 2019-09-16 23:53:33 UTC (rev 249929)
@@ -58,7 +58,7 @@
test(function() {
if (window.internals)
internals.settings.setUseDarkAppearance(true);
-}, "Dark color scheme enabled");
+}, "Dark color scheme enabled 2");
test(function() {
// The semantic text color should be white.
@@ -68,7 +68,7 @@
test(function() {
if (window.internals)
internals.settings.setUseDarkAppearance(false);
-}, "Light color scheme enabled");
+}, "Light color scheme enabled 2");
test(function() {
document.body.style.setProperty("supported-color-schemes", "dark");
@@ -84,7 +84,7 @@
test(function() {
if (window.internals)
internals.settings.setUseDarkAppearance(true);
-}, "Dark color scheme enabled");
+}, "Dark color scheme enabled 3");
test(function() {
// The semantic text color should be white still.
@@ -100,7 +100,7 @@
test(function() {
// The semantic text color should be black again.
test_color_is_black("test1");
-}, "Element colors are correct in dark color scheme with only light supported color scheme");
+}, "Element colors are correct in dark color scheme with only light supported color scheme 2");
test(function() {
document.body.style.setProperty("supported-color-schemes", "auto");
@@ -145,12 +145,12 @@
document.body.style.setProperty("supported-color-schemes", "light dark");
test_prop(document.body, "supported-color-schemes", "light dark");
test_prop(document.body, "color-scheme", "light dark");
-}, "Supported color schemes changed to light and dark");
+}, "Supported color schemes changed to light and dark 2");
test(function() {
// The semantic text color should be white now.
test_color_is_white("test1");
-}, "Element colors are correct in dark color scheme with light and dark supported color scheme");
+}, "Element colors are correct in dark color scheme with light and dark supported color scheme 2");
test(function() {
document.body.style.setProperty("supported-color-schemes", "foo dark");
Modified: trunk/LayoutTests/css-dark-mode/older-syntax/supported-color-schemes-meta-expected.txt (249928 => 249929)
--- trunk/LayoutTests/css-dark-mode/older-syntax/supported-color-schemes-meta-expected.txt 2019-09-16 23:43:33 UTC (rev 249928)
+++ trunk/LayoutTests/css-dark-mode/older-syntax/supported-color-schemes-meta-expected.txt 2019-09-16 23:53:33 UTC (rev 249929)
@@ -5,15 +5,15 @@
PASS Light color scheme enabled
PASS Supported color schemes changed to light and dark
PASS Element colors are correct in light color scheme with light and dark color scheme
-PASS Dark color scheme enabled
+PASS Dark color scheme enabled 2
PASS Element colors are correct in dark color scheme with light and dark color scheme
-PASS Light color scheme enabled
+PASS Light color scheme enabled 2
PASS Supported color schemes changed to dark
PASS Element colors are correct in light color scheme with only dark color scheme
-PASS Dark color scheme enabled
+PASS Dark color scheme enabled 3
PASS Element colors are correct in dark color scheme with only dark color scheme
PASS Supported color schemes changed to light and a bogus value
-PASS Element colors are correct in dark color scheme with only light color scheme
+PASS Element colors are correct in dark color scheme with only light color scheme 2
PASS Supported color schemes changed to empty value
PASS Element colors are correct in dark color scheme with implicit light color scheme
PASS Supported color schemes changed to light,dark
Modified: trunk/LayoutTests/css-dark-mode/older-syntax/supported-color-schemes-meta.html (249928 => 249929)
--- trunk/LayoutTests/css-dark-mode/older-syntax/supported-color-schemes-meta.html 2019-09-16 23:43:33 UTC (rev 249928)
+++ trunk/LayoutTests/css-dark-mode/older-syntax/supported-color-schemes-meta.html 2019-09-16 23:53:33 UTC (rev 249929)
@@ -58,7 +58,7 @@
test(function() {
if (window.internals)
internals.settings.setUseDarkAppearance(true);
-}, "Dark color scheme enabled");
+}, "Dark color scheme enabled 2");
test(function() {
// The semantic text color should be white.
@@ -68,7 +68,7 @@
test(function() {
if (window.internals)
internals.settings.setUseDarkAppearance(false);
-}, "Light color scheme enabled");
+}, "Light color scheme enabled 2");
test(function() {
document.getElementById("meta").content = "dark";
@@ -82,7 +82,7 @@
test(function() {
if (window.internals)
internals.settings.setUseDarkAppearance(true);
-}, "Dark color scheme enabled");
+}, "Dark color scheme enabled 3");
test(function() {
// The semantic text color should be white still.
@@ -96,7 +96,7 @@
test(function() {
// The semantic text color should be black again.
test_color_is_black("test1");
-}, "Element colors are correct in dark color scheme with only light color scheme");
+}, "Element colors are correct in dark color scheme with only light color scheme 2");
test(function() {
document.getElementById("meta").content = "";