Commit 67681285 authored by Alex Keng's avatar Alex Keng Committed by Commit Bot

Enable MockTheme for color picker tests

This change enables MockTheme for color picker's pixel verification tests
(except for color-picker-appearance.html and color-picker-appearance-disabled.html)
so that when we change in-page UI ex border color we don't need to rebaselne
hundreds of files (see https://chromium-review.googlesource.com/c/chromium/src/+/1792578/8
for example, where we need to change about 50 pngs for only one platform and
there are total 7 platforms we need to consider).

Change-Id: Ie452378dcfcd4170f9324e5ab046d5bf89e96d26
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1808166
Commit-Queue: Alex Keng <shihken@microsoft.com>
Reviewed-by: default avatarKent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#697164}
parent dd3564c8
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
testRunner.setUseMockTheme(false);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
</script> </script>
<script src='../../../forms/resources/picker-common.js'></script> <script src='../../../forms/resources/picker-common.js'></script>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
testRunner.setUseMockTheme(false);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
</script> </script>
<script src='../../../forms/resources/picker-common.js'></script> <script src='../../../forms/resources/picker-common.js'></script>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
testRunner.setUseMockTheme(false);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
</script> </script>
<script src='../../../forms/resources/picker-common.js'></script> <script src='../../../forms/resources/picker-common.js'></script>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
testRunner.setUseMockTheme(false);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
</script> </script>
<script src='../../../forms/resources/picker-common.js'></script> <script src='../../../forms/resources/picker-common.js'></script>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
testRunner.setUseMockTheme(false);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
</script> </script>
<script src='../../../forms/resources/picker-common.js'></script> <script src='../../../forms/resources/picker-common.js'></script>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
testRunner.setUseMockTheme(false);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
</script> </script>
<script src='../../../forms/resources/picker-common.js'></script> <script src='../../../forms/resources/picker-common.js'></script>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
testRunner.setUseMockTheme(false);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
</script> </script>
<script src='../../../forms/resources/picker-common.js'></script> <script src='../../../forms/resources/picker-common.js'></script>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
testRunner.setUseMockTheme(false);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
</script> </script>
<script src='../../../forms/resources/picker-common.js'></script> <script src='../../../forms/resources/picker-common.js'></script>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
testRunner.setUseMockTheme(false);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
</script> </script>
<script src='../../../forms/resources/picker-common.js'></script> <script src='../../../forms/resources/picker-common.js'></script>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
testRunner.setUseMockTheme(false);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
</script> </script>
<script src='../../../forms/resources/picker-common.js'></script> <script src='../../../forms/resources/picker-common.js'></script>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
testRunner.setUseMockTheme(false);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
</script> </script>
<script src='../../../forms/resources/picker-common.js'></script> <script src='../../../forms/resources/picker-common.js'></script>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
testRunner.setUseMockTheme(false);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
</script> </script>
<script src='../../../forms/resources/picker-common.js'></script> <script src='../../../forms/resources/picker-common.js'></script>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
testRunner.setUseMockTheme(false);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
</script> </script>
<script src='../../../forms/resources/picker-common.js'></script> <script src='../../../forms/resources/picker-common.js'></script>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
testRunner.setUseMockTheme(false);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
</script> </script>
<script src='../../../forms/resources/picker-common.js'></script> <script src='../../../forms/resources/picker-common.js'></script>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
testRunner.setUseMockTheme(false);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
</script> </script>
<script src='../../../forms/resources/picker-common.js'></script> <script src='../../../forms/resources/picker-common.js'></script>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
testRunner.setUseMockTheme(false);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
</script> </script>
<script src='../../../forms/resources/picker-common.js'></script> <script src='../../../forms/resources/picker-common.js'></script>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
testRunner.setUseMockTheme(false);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
</script> </script>
<script src='../../../forms/resources/picker-common.js'></script> <script src='../../../forms/resources/picker-common.js'></script>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
testRunner.setUseMockTheme(false);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
</script> </script>
<script src='../../../forms/resources/picker-common.js'></script> <script src='../../../forms/resources/picker-common.js'></script>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
testRunner.setUseMockTheme(false);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
</script> </script>
<script src='../../../forms/resources/picker-common.js'></script> <script src='../../../forms/resources/picker-common.js'></script>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
testRunner.setUseMockTheme(false);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
</script> </script>
<script src='../../../forms/resources/picker-common.js'></script> <script src='../../../forms/resources/picker-common.js'></script>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
testRunner.setUseMockTheme(false);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
</script> </script>
<script src='../../../forms/resources/picker-common.js'></script> <script src='../../../forms/resources/picker-common.js'></script>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
testRunner.setUseMockTheme(false);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
</script> </script>
<script src='../../../forms/resources/picker-common.js'></script> <script src='../../../forms/resources/picker-common.js'></script>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
testRunner.setUseMockTheme(false);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
</script> </script>
<script src='../../../forms/resources/picker-common.js'></script> <script src='../../../forms/resources/picker-common.js'></script>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
testRunner.setUseMockTheme(false);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
</script> </script>
<script src='../../../forms/resources/picker-common.js'></script> <script src='../../../forms/resources/picker-common.js'></script>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
testRunner.setUseMockTheme(false);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
</script> </script>
<script src='../../../forms/resources/picker-common.js'></script> <script src='../../../forms/resources/picker-common.js'></script>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
testRunner.setUseMockTheme(false);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
</script> </script>
<script src='../../../forms/resources/picker-common.js'></script> <script src='../../../forms/resources/picker-common.js'></script>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
testRunner.setUseMockTheme(false);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
</script> </script>
<script src='../../../forms/resources/picker-common.js'></script> <script src='../../../forms/resources/picker-common.js'></script>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
testRunner.setUseMockTheme(false);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
</script> </script>
<script src='../../../forms/resources/picker-common.js'></script> <script src='../../../forms/resources/picker-common.js'></script>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
testRunner.setUseMockTheme(false);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
</script> </script>
<script src='../../../forms/resources/picker-common.js'></script> <script src='../../../forms/resources/picker-common.js'></script>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
testRunner.setUseMockTheme(false);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
</script> </script>
<script src='../../../forms/resources/picker-common.js'></script> <script src='../../../forms/resources/picker-common.js'></script>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
testRunner.setUseMockTheme(false);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
</script> </script>
<script src='../../../forms/resources/picker-common.js'></script> <script src='../../../forms/resources/picker-common.js'></script>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
testRunner.setUseMockTheme(false);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
</script> </script>
<script src='../../../forms/resources/picker-common.js'></script> <script src='../../../forms/resources/picker-common.js'></script>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
testRunner.setUseMockTheme(false);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
</script> </script>
<script src='../../../forms/resources/picker-common.js'></script> <script src='../../../forms/resources/picker-common.js'></script>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
testRunner.setUseMockTheme(false);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
</script> </script>
<script src='../../../forms/resources/picker-common.js'></script> <script src='../../../forms/resources/picker-common.js'></script>
......
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<html> <html>
<head> <head>
<script> <script>
testRunner.setUseMockTheme(false);
testRunner.waitUntilDone(); testRunner.waitUntilDone();
</script> </script>
<script src='../../../forms/resources/picker-common.js'></script> <script src='../../../forms/resources/picker-common.js'></script>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment