Commit Graph

13 Commits

Author SHA1 Message Date
Florian Bruhin 908abb6566 notifications: Fix image padding assertion
The underlying Chromium pads images so that scanlines align on 4-byte
boundaries. Thus, with an image size of e.g. 239x239, we'll have 3 bytes
of padding (239 mod 4 = 3; 240 mod 4 = 0).

Fixes #6375
2021-04-09 17:14:26 +02:00
Florian Bruhin ca1a204514 notifications: Make test page more human-friendly 2021-03-27 20:54:53 +01:00
Florian Bruhin 1dcd0d5483 notifications: Implement closing via web 2021-03-27 15:30:57 +01:00
Florian Bruhin 9cda31f7f6 notifications: Fix handling of padded images 2021-03-27 15:30:02 +01:00
Florian Bruhin d1e9247536 notifications: multiple -> replacing in tests 2021-03-27 15:30:02 +01:00
Florian Bruhin b6dc805138 notifications: Adjust tests for new image handling
Also check image validity in tests
2021-03-27 15:30:02 +01:00
Florian Bruhin df26a06cb5 notifications: Clearer test images 2021-03-27 15:30:02 +01:00
Florian Bruhin b63185f18d notifications: Fix getting permission in test HTML 2021-03-27 15:30:02 +01:00
Florian Bruhin 76842dbd53 notifications: Fetch capabilities early and avoid restart 2021-03-25 15:41:21 +01:00
Florian Bruhin 4f27e6e0ea notifications: Show error in test HTML if no permission given 2021-03-25 12:07:11 +01:00
Florian Bruhin ff3f94e66e notifications: Reformat test HTML 2021-03-25 12:07:11 +01:00
Florian Bruhin 4c3d7b25af notifications: Add some structure to test HTML 2021-03-25 12:07:11 +01:00
Florian Bruhin 1739449c78 notifications: Move test files 2021-03-25 12:07:11 +01:00
Renamed from tests/end2end/data/prompt/notifications.html (Browse further)