Skip to content

Commit

Permalink
Merge pull request #7657 from LedgerHQ/bugfix/LIVE-13661-prevent-webp…
Browse files Browse the repository at this point in the history
…-use

🐛 (lld) [LIVE-13661]: prevent the use of webp for custom lock screen
  • Loading branch information
valpinkman authored Aug 22, 2024
2 parents f839708 + 2359a8e commit 0ea8dbe
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/rude-kings-breathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ledger-live-desktop": patch
---

Prevent the use of webp for Custom Lock Screen
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const acceptedMimeTypes = [
"image/jpeg",
"image/png",
"image/bmp",
"image/webp",
"image/tiff",
"image/heif",
"image/heic",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ test("Custom image", async ({ page }) => {
});

await test.step("Import image", async () => {
await customImageDrawer.importImage("tests/specs/manager/sample-custom-image.webp");
await customImageDrawer.importImage("tests/specs/manager/sample-custom-image.jpg");
await customImageDrawer.importImageInput.waitFor({ state: "detached" });
await customImageDrawer.waitForCropConfirmable();
await expect(container).toHaveScreenshot(`${generateScreenshotPrefix()}image-imported.png`);
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.

0 comments on commit 0ea8dbe

Please sign in to comment.