Closed Bug 1292548 Opened 8 years ago Closed 8 years ago

BMP encoding errors during wpt-6

Categories

(Testing :: web-platform-tests, defect)

Version 3
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1257249

People

(Reporter: froydnj, Unassigned)

Details

Noticed these while looking at other problems...the errors don't seem to cause problems, but it also seems like the sort of thing we should try and avoid... http://archive.mozilla.org/pub/firefox/tinderbox-builds/mozilla-inbound-linux-debug/1470393264/mozilla-inbound_ubuntu32_vm-debug_test-web-platform-tests-6-bm142-tests1-linux32-build26.txt.gz 05:48:31 WARNING - wptserve Traceback (most recent call last): 05:48:31 WARNING - File "/builds/slave/test/build/tests/web-platform/tests/tools/wptserve/wptserve/handlers.py", line 249, in __call__ 05:48:31 WARNING - rv = self.func(request, response) 05:48:31 WARNING - File "/builds/slave/test/build/tests/web-platform/tests/referrer-policy/generic/subresource/image.py", line 100, in main 05:48:31 WARNING - access_control_allow_origin = "*") 05:48:31 WARNING - File "/builds/slave/test/build/tests/web-platform/tests/referrer-policy/generic/subresource/subresource.py", line 91, in respond 05:48:31 WARNING - payload = payload_generator(server_data) 05:48:31 WARNING - File "/builds/slave/test/build/tests/web-platform/tests/referrer-policy/generic/subresource/image.py", line 93, in generate_payload 05:48:31 WARNING - return encode_string_as_bmp_image(data) 05:48:31 WARNING - File "/builds/slave/test/build/tests/web-platform/tests/referrer-policy/generic/subresource/image.py", line 86, in encode_string_as_bmp_image 05:48:31 WARNING - img.save(f, "BMP") 05:48:31 WARNING - File "/builds/slave/test/build/tests/web-platform/tests/referrer-policy/generic/subresource/image.py", line 53, in save 05:48:31 WARNING - f.write(bmpfileheader) 05:48:31 WARNING - TypeError: must be string or pinned buffer, not bytearray
Note that was a green test run.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.