Commit 6f43ad7
committed
feat(webkit): throw on webp screenshots on macOS
CG on macOS does not advertise a webp encoder UTI, so requesting
webp would silently produce an empty buffer. Surface this clearly
to users instead of letting it look like a successful no-op.1 parent ab2c2ab commit 6f43ad7
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
868 | 868 | | |
869 | 869 | | |
870 | 870 | | |
| 871 | + | |
| 872 | + | |
871 | 873 | | |
872 | 874 | | |
873 | 875 | | |
| |||
0 commit comments