Closed Bug 1884802 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 44936 - add test for invalid ancillary after IDAT

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox125 fixed)

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 44936 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/44936
Details from upstream follow.

Chris Lilley <chris@w3.org> wrote:

add test for invalid ancillary after IDAT

Similar to the other invalid ancillary test but here, the invalid chunk is after IDAT rather than before it.

The test PNG was created from a copy of the valid reference PNG; I inserted a tRNS chunk in TweakPNG, moved it after IDAT (accepting the warning) and saved. Then in a hex editor I changed "N" (0x4E) to 0x0E, saved, ran it through PNG file chunk inspector to get the new CRC value, and typed that in in a hex editor.

Chunk summary: IHDR, gAMA, PLTE, IDAT, tR␎S, IEND

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

PASS: 1

Safari

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/93b1b3edc510 [wpt PR 44936] - add test for invalid ancillary after IDAT, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in before you can comment on or make changes to this bug.