Bug 1705499 - Proton new user onboarding background image to use webp format r=emcminn

Differential Revision: https://phabricator.services.mozilla.com/D112247
This commit is contained in:
Punam Dahiya committed 2021-04-15 20:48:53 +00:00
1 parent ed04af0c54
commit 1399160f69
4 files changed
+4 -4

No files matched your search

@@ -197,7 +197,7 @@ const DEFAULT_PROTON_WELCOME_CONTENT = {
id: "DEFAULT_ABOUTWELCOME_PROTON",
template: "multistage",
background_url:
"chrome://activity-stream/content/data/content/assets/proton-bkg.avif",
"chrome://activity-stream/content/data/content/assets/proton-bkg.webp",
screens: [
{
id: "AW_SET_DEFAULT",
Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

@@ -995,7 +995,7 @@ add_task(async function test_multistage_aboutwelcome_proton() {
// Expected selectors:
[
"div.onboardingContainer",
"div.proton[style*='.avif']",
"div.proton[style*='.webp']",
"div.section-left",
"span.attrib-text",
"div.secondary-cta.top",
@@ -1028,7 +1028,7 @@ add_task(async function test_multistage_aboutwelcome_proton() {
// Expected selectors:
[
"div.onboardingContainer",
"div.proton[style*='.avif']",
"div.proton[style*='.webp']",
"div.section-main",
],
// Unexpected selectors:
@@ -1043,7 +1043,7 @@ add_task(async function test_multistage_aboutwelcome_proton() {
// Expected selectors:
[
"div.onboardingContainer",
"div.proton[style*='.avif']",
"div.proton[style*='.webp']",
"div.section-main",
"div.tiles-theme-container",
],