Add gtest coverage for non-ascii codecs in MimeTypes
Categories
(Core :: Audio/Video: Playback, enhancement, P3)
Tracking
()
People
(Reporter: bryce, Assigned: bryce)
References
Details
Attachments
(1 file)
Bug 1573381 shows a lack of coverage in our tests for working with MimeType strings. Specifically that when calculating if a string is a prefix of a codec in a mime type we were not correctly checking that prefix.
We could cover that bug, as well as improve coverage by having tests that check against non-ascii MimeTypes.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Provides coverage for an issue fixed in 1573381. Note that while that bug
discusses big endian machines, the tests added will cover both the big and
little endian case of the bug. This is because we have test cases that make sure
both octets of 16 wide char are being correctly compared.
Pushed by bvandyk@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/81bb1eaa1c0b Add test coverage for non-ascii characters in MimeType codecs. r=dminor
Comment 3•5 years ago
|
||
Backed out changeset 81bb1eaa1c0b (Bug 1577021) for causing build bustages in TestMediaMIMETypes.cpp CLOSED TREE
Push with failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception&revision=81bb1eaa1c0b4caf0cbf0fb832a3f98b2d2a34aa&selectedJob=264791750
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=264791750&repo=autoland&lineNumber=26027
Backout: https://hg.mozilla.org/integration/autoland/rev/056edede04886f740abed5c2f3428615b6992498
Assignee | ||
Comment 4•5 years ago
|
||
Figured using a u8
prefix would be more specific and thus preferred, but seems not. Let's try that again.
Pushed by bvandyk@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/be35733bd975 Add test coverage for non-ascii characters in MimeType codecs. r=dminor
Comment 6•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Comment 7•5 years ago
|
||
bugherder uplift |
Comment 8•5 years ago
|
||
bugherder uplift |
Description
•