Lines Matching refs:EXPECT_EQ
80 EXPECT_EQ(kMaybe, CanPlay("'audio/wav'"));
81 EXPECT_EQ(kProbably, CanPlay("'audio/wav; codecs=\"1\"'"));
83 EXPECT_EQ(kNot, CanPlay("'audio/wav; codecs=\"vorbis\"'"));
84 EXPECT_EQ(kNot, CanPlay("'audio/wav; codecs=\"theora\"'"));
86 EXPECT_EQ(kNot, CanPlay("'audio/wav; codecs=\"vp8\"'"));
87 EXPECT_EQ(kNot, CanPlay("'audio/wav; codecs=\"vp8.0\"'"));
88 EXPECT_EQ(kNot, CanPlay("'audio/wav; codecs=\"vp9\"'"));
89 EXPECT_EQ(kNot, CanPlay("'audio/wav; codecs=\"vp9.0\"'"));
90 EXPECT_EQ(kNot, CanPlay("'audio/wav; codecs=\"opus\"'"));
92 EXPECT_EQ(kNot, CanPlay("'audio/wav; codecs=\"avc1\"'"));
93 EXPECT_EQ(kNot, CanPlay("'audio/wav; codecs=\"avc3\"'"));
94 EXPECT_EQ(kNot, CanPlay("'audio/wav; codecs=\"mp4a\"'"));
95 EXPECT_EQ(kNot, CanPlay("'audio/wav; codecs=\"avc1.4D401E\"'"));
96 EXPECT_EQ(kNot, CanPlay("'audio/wav; codecs=\"avc3.64001F\"'"));
97 EXPECT_EQ(kNot, CanPlay("'audio/wav; codecs=\"mp4a.40.5\"'"));
99 EXPECT_EQ(kNot, CanPlay("'audio/wav; codecs=\"1, mp4a\"'"));
100 EXPECT_EQ(kNot, CanPlay("'audio/wav; codecs=\"1, opus\"'"));
101 EXPECT_EQ(kNot, CanPlay("'audio/wav; codecs=\"1, theora\"'"));
102 EXPECT_EQ(kNot, CanPlay("'audio/wav; codecs=\"1, vorbis\"'"));
103 EXPECT_EQ(kNot, CanPlay("'audio/wav; codecs=\"opus, vorbis\"'"));
104 EXPECT_EQ(kNot, CanPlay("'audio/wav; codecs=\"opus, theora\"'"));
105 EXPECT_EQ(kNot, CanPlay("'audio/wav; codecs=\"vorbis, mp4a\"'"));
107 EXPECT_EQ(kNot, CanPlay("'audio/wav; codecs=\"unknown\"'"));
109 EXPECT_EQ(kMaybe, CanPlay("'audio/x-wav'"));
110 EXPECT_EQ(kProbably, CanPlay("'audio/x-wav; codecs=\"1\"'"));
112 EXPECT_EQ(kNot, CanPlay("'audio/x-wav; codecs=\"vorbis\"'"));
113 EXPECT_EQ(kNot, CanPlay("'audio/x-wav; codecs=\"theora\"'"));
115 EXPECT_EQ(kNot, CanPlay("'audio/x-wav; codecs=\"vp8\"'"));
116 EXPECT_EQ(kNot, CanPlay("'audio/x-wav; codecs=\"vp8.0\"'"));
117 EXPECT_EQ(kNot, CanPlay("'audio/x-wav; codecs=\"vp9\"'"));
118 EXPECT_EQ(kNot, CanPlay("'audio/x-wav; codecs=\"vp9.0\"'"));
119 EXPECT_EQ(kNot, CanPlay("'audio/x-wav; codecs=\"opus\"'"));
121 EXPECT_EQ(kNot, CanPlay("'audio/x-wav; codecs=\"avc1\"'"));
122 EXPECT_EQ(kNot, CanPlay("'audio/x-wav; codecs=\"avc3\"'"));
123 EXPECT_EQ(kNot, CanPlay("'audio/x-wav; codecs=\"mp4a\"'"));
124 EXPECT_EQ(kNot, CanPlay("'audio/x-wav; codecs=\"avc1.4D401E\"'"));
125 EXPECT_EQ(kNot, CanPlay("'audio/x-wav; codecs=\"avc3.64001F\"'"));
126 EXPECT_EQ(kNot, CanPlay("'audio/x-wav; codecs=\"mp4a.40.5\"'"));
128 EXPECT_EQ(kNot, CanPlay("'audio/x-wav; codecs=\"1, mp4a\"'"));
129 EXPECT_EQ(kNot, CanPlay("'audio/x-wav; codecs=\"1, opus\"'"));
130 EXPECT_EQ(kNot, CanPlay("'audio/x-wav; codecs=\"1, theora\"'"));
131 EXPECT_EQ(kNot, CanPlay("'audio/x-wav; codecs=\"1, vorbis\"'"));
132 EXPECT_EQ(kNot, CanPlay("'audio/x-wav; codecs=\"opus, vorbis\"'"));
133 EXPECT_EQ(kNot, CanPlay("'audio/x-wav; codecs=\"opus, theora\"'"));
134 EXPECT_EQ(kNot, CanPlay("'audio/x-wav; codecs=\"vorbis, mp4a\"'"));
136 EXPECT_EQ(kNot, CanPlay("'audio/x-wav; codecs=\"unknown\"'"));
148 EXPECT_EQ(kMaybe, CanPlay("'video/webm'"));
150 EXPECT_EQ(kProbably, CanPlay("'video/webm; codecs=\"vp8\"'"));
151 EXPECT_EQ(kProbably, CanPlay("'video/webm; codecs=\"vp8.0\"'"));
152 EXPECT_EQ(kProbably, CanPlay("'video/webm; codecs=\"vp8, vorbis\"'"));
153 EXPECT_EQ(kProbably, CanPlay("'video/webm; codecs=\"vp8.0, vorbis\"'"));
154 EXPECT_EQ(kOpusProbably, CanPlay("'video/webm; codecs=\"vp8, opus\"'"));
155 EXPECT_EQ(kOpusProbably, CanPlay("'video/webm; codecs=\"vp8.0, opus\"'"));
157 EXPECT_EQ(VP9Probably, CanPlay("'video/webm; codecs=\"vp9\"'"));
158 EXPECT_EQ(VP9Probably, CanPlay("'video/webm; codecs=\"vp9.0\"'"));
159 EXPECT_EQ(VP9Probably, CanPlay("'video/webm; codecs=\"vp9, vorbis\"'"));
160 EXPECT_EQ(VP9Probably, CanPlay("'video/webm; codecs=\"vp9.0, vorbis\"'"));
161 EXPECT_EQ(VP9AndOpusProbably, CanPlay("'video/webm; codecs=\"vp9, opus\"'"));
162 EXPECT_EQ(VP9AndOpusProbably,
165 EXPECT_EQ(VP9Probably, CanPlay("'video/webm; codecs=\"vp8, vp9\"'"));
166 EXPECT_EQ(VP9Probably, CanPlay("'video/webm; codecs=\"vp8.0, vp9.0\"'"));
167 EXPECT_EQ(kNot, CanPlay("'video/webm; codecs=\"vp8, theora\"'"));
168 EXPECT_EQ(kNot, CanPlay("'video/webm; codecs=\"vp8, avc1\"'"));
169 EXPECT_EQ(kNot, CanPlay("'video/webm; codecs=\"vp9, avc3\"'"));
171 EXPECT_EQ(kNot, CanPlay("'video/webm; codecs=\"vp8, 1\"'"));
172 EXPECT_EQ(kNot, CanPlay("'video/webm; codecs=\"vp8.0, 1\"'"));
173 EXPECT_EQ(kNot, CanPlay("'video/webm; codecs=\"vp8, mp4a.40.2\"'"));
174 EXPECT_EQ(kNot, CanPlay("'video/webm; codecs=\"vp8.0, mp4a.40.2\"'"));
176 EXPECT_EQ(kNot, CanPlay("'video/webm; codecs=\"vp9, 1\"'"));
177 EXPECT_EQ(kNot, CanPlay("'video/webm; codecs=\"vp9.0, 1\"'"));
178 EXPECT_EQ(kNot, CanPlay("'video/webm; codecs=\"vp9, mp4a.40.2\"'"));
179 EXPECT_EQ(kNot, CanPlay("'video/webm; codecs=\"vp9.0, mp4a.40.2\"'"));
181 EXPECT_EQ(kNot, CanPlay("'video/webm; codecs=\"theora\"'"));
182 EXPECT_EQ(kNot, CanPlay("'video/webm; codecs=\"1\"'"));
184 EXPECT_EQ(kNot, CanPlay("'video/webm; codecs=\"avc1\"'"));
185 EXPECT_EQ(kNot, CanPlay("'video/webm; codecs=\"avc3\"'"));
186 EXPECT_EQ(kNot, CanPlay("'video/webm; codecs=\"mp4a\"'"));
187 EXPECT_EQ(kNot, CanPlay("'video/webm; codecs=\"avc1.4D401E\"'"));
188 EXPECT_EQ(kNot, CanPlay("'video/webm; codecs=\"avc3.64001F\"'"));
189 EXPECT_EQ(kNot, CanPlay("'video/webm; codecs=\"mp4a.40.2\"'"));
191 EXPECT_EQ(kNot, CanPlay("'video/webm; codecs=\"VP8\"'"));
192 EXPECT_EQ(kNot, CanPlay("'video/webm; codecs=\"VP8.0\"'"));
193 EXPECT_EQ(kNot, CanPlay("'video/webm; codecs=\"VP9\"'"));
194 EXPECT_EQ(kNot, CanPlay("'video/webm; codecs=\"Vp9.0\"'"));
196 EXPECT_EQ(kNot, CanPlay("'video/webm; codecs=\"VP8, Vorbis\"'"));
197 EXPECT_EQ(kNot, CanPlay("'video/webm; codecs=\"vp8, Vorbis\"'"));
198 EXPECT_EQ(kNot, CanPlay("'video/webm; codecs=\"VP9, Opus\"'"));
199 EXPECT_EQ(kNot, CanPlay("'video/webm; codecs=\"vp9, Opus\"'"));
201 EXPECT_EQ(kNot, CanPlay("'video/webm; codecs=\"unknown\"'"));
203 EXPECT_EQ(kMaybe, CanPlay("'audio/webm'"));
204 EXPECT_EQ(kProbably, CanPlay("'audio/webm; codecs=\"vorbis\"'"));
205 EXPECT_EQ(kOpusProbably, CanPlay("'audio/webm; codecs=\"opus\"'"));
206 EXPECT_EQ(kOpusProbably, CanPlay("'audio/webm; codecs=\"opus, vorbis\"'"));
208 EXPECT_EQ(kNot, CanPlay("'audio/webm; codecs=\"vp8\"'"));
209 EXPECT_EQ(kNot, CanPlay("'audio/webm; codecs=\"vp8.0\"'"));
210 EXPECT_EQ(kNot, CanPlay("'audio/webm; codecs=\"vp8, vorbis\"'"));
211 EXPECT_EQ(kNot, CanPlay("'audio/webm; codecs=\"vp8.0, vorbis\"'"));
212 EXPECT_EQ(kNot, CanPlay("'audio/webm; codecs=\"vp8, opus\"'"));
213 EXPECT_EQ(kNot, CanPlay("'audio/webm; codecs=\"vp8.0, opus\"'"));
215 EXPECT_EQ(kNot, CanPlay("'audio/webm; codecs=\"vp9\"'"));
216 EXPECT_EQ(kNot, CanPlay("'audio/webm; codecs=\"vp9.0\"'"));
217 EXPECT_EQ(kNot, CanPlay("'audio/webm; codecs=\"vp9, vorbis\"'"));
218 EXPECT_EQ(kNot, CanPlay("'audio/webm; codecs=\"vp9.0, vorbis\"'"));
219 EXPECT_EQ(kNot, CanPlay("'audio/webm; codecs=\"vp9, opus\"'"));
220 EXPECT_EQ(kNot, CanPlay("'audio/webm; codecs=\"vp9.0, opus\"'"));
222 EXPECT_EQ(kNot, CanPlay("'audio/webm; codecs=\"1\"'"));
223 EXPECT_EQ(kNot, CanPlay("'audio/webm; codecs=\"1, opus\"'"));
224 EXPECT_EQ(kNot, CanPlay("'audio/webm; codecs=\"1, vorbis\"'"));
225 EXPECT_EQ(kNot, CanPlay("'audio/webm; codecs=\"vorbis, mp4a\"'"));
227 EXPECT_EQ(kNot, CanPlay("'audio/webm; codecs=\"avc1\"'"));
228 EXPECT_EQ(kNot, CanPlay("'audio/webm; codecs=\"avc3\"'"));
229 EXPECT_EQ(kNot, CanPlay("'audio/webm; codecs=\"mp4a\"'"));
230 EXPECT_EQ(kNot, CanPlay("'audio/webm; codecs=\"avc1.4D401E\"'"));
231 EXPECT_EQ(kNot, CanPlay("'audio/webm; codecs=\"avc3.64001F\"'"));
232 EXPECT_EQ(kNot, CanPlay("'audio/webm; codecs=\"mp4a.40.2\"'"));
234 EXPECT_EQ(kNot, CanPlay("'audio/webm; codecs=\"unknown\"'"));
238 EXPECT_EQ(kOggVideoMaybe, CanPlay("'video/ogg'"));
239 EXPECT_EQ(kOggVideoProbably, CanPlay("'video/ogg; codecs=\"theora\"'"));
240 EXPECT_EQ(kOggVideoProbably,
242 EXPECT_EQ(kOggVideoProbably,
244 EXPECT_EQ(kOggVideoProbably,
247 EXPECT_EQ(kNot, CanPlay("'video/ogg; codecs=\"vp8\"'"));
248 EXPECT_EQ(kNot, CanPlay("'video/ogg; codecs=\"vp8.0\"'"));
249 EXPECT_EQ(kNot, CanPlay("'video/ogg; codecs=\"vp9\"'"));
250 EXPECT_EQ(kNot, CanPlay("'video/ogg; codecs=\"vp9.0\"'"));
252 EXPECT_EQ(kNot, CanPlay("'video/ogg; codecs=\"avc1\"'"));
253 EXPECT_EQ(kNot, CanPlay("'video/ogg; codecs=\"avc3\"'"));
254 EXPECT_EQ(kNot, CanPlay("'video/ogg; codecs=\"mp4a\"'"));
255 EXPECT_EQ(kNot, CanPlay("'video/ogg; codecs=\"avc1, mp4a\"'"));
256 EXPECT_EQ(kNot, CanPlay("'video/ogg; codecs=\"avc1, vorbis\"'"));
257 EXPECT_EQ(kNot, CanPlay("'video/ogg; codecs=\"avc3, mp4a\"'"));
258 EXPECT_EQ(kNot, CanPlay("'video/ogg; codecs=\"avc3, vorbis\"'"));
259 EXPECT_EQ(kNot, CanPlay("'video/ogg; codecs=\"avc1, vp8\"'"));
260 EXPECT_EQ(kNot, CanPlay("'video/ogg; codecs=\"avc3, vp9\"'"));
261 EXPECT_EQ(kNot, CanPlay("'video/ogg; codecs=\"avc1, avc3\"'"));
263 EXPECT_EQ(kNot, CanPlay("'video/ogg; codecs=\"avc1.4D401E\"'"));
264 EXPECT_EQ(kNot, CanPlay("'video/ogg; codecs=\"avc3.64001F\"'"));
265 EXPECT_EQ(kNot, CanPlay("'video/ogg; codecs=\"mp4a.4.02\"'"));
266 EXPECT_EQ(kNot, CanPlay("'video/ogg; codecs=\"avc1.4D401E, mp4a.40.2\"'"));
267 EXPECT_EQ(kNot, CanPlay("'video/ogg; codecs=\"avc3.64001F, mp4a.40.2\"'"));
268 EXPECT_EQ(kNot, CanPlay("'video/ogg; codecs=\"avc1.4D401E, vorbis\"'"));
269 EXPECT_EQ(kNot, CanPlay("'video/ogg; codecs=\"avc3.64001F, vorbis\"'"));
271 EXPECT_EQ(kNot, CanPlay("'video/ogg; codecs=\"Theora\"'"));
272 EXPECT_EQ(kNot, CanPlay("'video/ogg; codecs=\"Opus\"'"));
273 EXPECT_EQ(kNot, CanPlay("'video/ogg; codecs=\"Vorbis\"'"));
274 EXPECT_EQ(kNot, CanPlay("'video/ogg; codecs=\"Theora, Opus\"'"));
275 EXPECT_EQ(kNot, CanPlay("'video/ogg; codecs=\"Theora, Vorbis\"'"));
277 EXPECT_EQ(kNot, CanPlay("'video/ogg; codecs=\"unknown\"'"));
279 EXPECT_EQ(kMaybe, CanPlay("'audio/ogg'"));
280 EXPECT_EQ(kProbably, CanPlay("'audio/ogg; codecs=\"vorbis\"'"));
281 EXPECT_EQ(kOpusProbably, CanPlay("'audio/ogg; codecs=\"opus\"'"));
282 EXPECT_EQ(kOpusProbably, CanPlay("'audio/ogg; codecs=\"vorbis, opus\"'"));
284 EXPECT_EQ(kNot, CanPlay("'audio/ogg; codecs=\"theora\"'"));
285 EXPECT_EQ(kNot, CanPlay("'audio/ogg; codecs=\"theora, vorbis\"'"));
286 EXPECT_EQ(kNot, CanPlay("'audio/ogg; codecs=\"theora, opus\"'"));
287 EXPECT_EQ(kNot, CanPlay("'audio/ogg; codecs=\"opus, 1\"'"));
288 EXPECT_EQ(kNot, CanPlay("'audio/ogg; codecs=\"vorbis, 1\"'"));
290 EXPECT_EQ(kNot, CanPlay("'audio/ogg; codecs=\"vp8\"'"));
291 EXPECT_EQ(kNot, CanPlay("'audio/ogg; codecs=\"vp8.0\"'"));
292 EXPECT_EQ(kNot, CanPlay("'audio/ogg; codecs=\"vp9\"'"));
293 EXPECT_EQ(kNot, CanPlay("'audio/ogg; codecs=\"vp9.0\"'"));
295 EXPECT_EQ(kNot, CanPlay("'audio/ogg; codecs=\"avc1\"'"));
296 EXPECT_EQ(kNot, CanPlay("'audio/ogg; codecs=\"avc3\"'"));
297 EXPECT_EQ(kNot, CanPlay("'audio/ogg; codecs=\"mp4a\"'"));
298 EXPECT_EQ(kNot, CanPlay("'audio/ogg; codecs=\"avc1.4D401E\"'"));
299 EXPECT_EQ(kNot, CanPlay("'audio/ogg; codecs=\"avc3.64001F\"'"));
300 EXPECT_EQ(kNot, CanPlay("'audio/ogg; codecs=\"mp4a.40.2\"'"));
302 EXPECT_EQ(kNot, CanPlay("'audio/ogg; codecs=\"Theora\"'"));
303 EXPECT_EQ(kNot, CanPlay("'audio/ogg; codecs=\"Opus\"'"));
304 EXPECT_EQ(kNot, CanPlay("'audio/ogg; codecs=\"Vorbis\"'"));
305 EXPECT_EQ(kNot, CanPlay("'audio/ogg; codecs=\"Theora, Vorbis\"'"));
306 EXPECT_EQ(kNot, CanPlay("'audio/ogg; codecs=\"Theora, Opus\"'"));
308 EXPECT_EQ(kNot, CanPlay("'audio/ogg; codecs=\"unknown\"'"));
310 EXPECT_EQ(kMaybe, CanPlay("'application/ogg'"));
311 EXPECT_EQ(kProbably, CanPlay("'application/ogg; codecs=\"vorbis\"'"));
312 EXPECT_EQ(kTheoraProbably, CanPlay("'application/ogg; codecs=\"theora\"'"));
313 EXPECT_EQ(kOpusProbably, CanPlay("'application/ogg; codecs=\"opus\"'"));
314 EXPECT_EQ(kTheoraProbably,
316 EXPECT_EQ(kTheoraProbably,
318 EXPECT_EQ(kOpusProbably,
321 EXPECT_EQ(kNot, CanPlay("'application/ogg; codecs=\"vp8\"'"));
322 EXPECT_EQ(kNot, CanPlay("'application/ogg; codecs=\"vp8.0\"'"));
323 EXPECT_EQ(kNot, CanPlay("'application/ogg; codecs=\"vp9\"'"));
324 EXPECT_EQ(kNot, CanPlay("'application/ogg; codecs=\"vp9.0\"'"));
326 EXPECT_EQ(kNot, CanPlay("'application/ogg; codecs=\"avc1\"'"));
327 EXPECT_EQ(kNot, CanPlay("'application/ogg; codecs=\"avc3\"'"));
328 EXPECT_EQ(kNot, CanPlay("'application/ogg; codecs=\"mp4a\"'"));
329 EXPECT_EQ(kNot, CanPlay("'application/ogg; codecs=\"avc1, mp4a\"'"));
330 EXPECT_EQ(kNot, CanPlay("'application/ogg; codecs=\"avc1, vorbis\"'"));
331 EXPECT_EQ(kNot, CanPlay("'application/ogg; codecs=\"avc3, mp4a\"'"));
332 EXPECT_EQ(kNot, CanPlay("'application/ogg; codecs=\"avc3, vorbis\"'"));
333 EXPECT_EQ(kNot, CanPlay("'application/ogg; codecs=\"avc1, vp8\"'"));
334 EXPECT_EQ(kNot, CanPlay("'application/ogg; codecs=\"avc3, vp9\"'"));
335 EXPECT_EQ(kNot, CanPlay("'application/ogg; codecs=\"avc1, avc3\"'"));
337 EXPECT_EQ(kNot, CanPlay("'application/ogg; codecs=\"avc1.4D401E\"'"));
338 EXPECT_EQ(kNot, CanPlay("'application/ogg; codecs=\"avc3.64001F\"'"));
339 EXPECT_EQ(kNot, CanPlay("'application/ogg; codecs=\"mp4a.40.2\"'"));
340 EXPECT_EQ(kNot,
342 EXPECT_EQ(kNot,
344 EXPECT_EQ(kNot, CanPlay("'application/ogg; codecs=\"avc1.4D401E, vorbis\"'"));
345 EXPECT_EQ(kNot, CanPlay("'application/ogg; codecs=\"avc3.64001F, vorbis\"'"));
347 EXPECT_EQ(kNot, CanPlay("'application/ogg; codecs=\"Theora\"'"));
348 EXPECT_EQ
349 EXPECT_EQ(kNot, CanPlay("'application/ogg; codecs=\"Opus\"'"));
350 EXPECT_EQ(kNot, CanPlay("'application/ogg; codecs=\"Theora, Vorbis\"'"));
351 EXPECT_EQ(kNot, CanPlay("'application/ogg; codecs=\"Theora, Opus\"'"));
353 EXPECT_EQ(kNot, CanPlay("'application/ogg; codecs=\"unknown\"'"));
357 EXPECT_EQ(kNot, CanPlay("'video/mp3'"));
358 EXPECT_EQ(kNot, CanPlay("'video/mpeg'"));
359 EXPECT_EQ(kNot, CanPlay("'video/x-mp3'"));
362 EXPECT_EQ(kPropProbably, CanPlay("'audio/mpeg'"));
366 EXPECT_EQ(kPropProbably, CanPlay("'audio/mpeg; codecs=\"mp3\"'"));
368 EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\"avc1\"'"));
369 EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\"avc3\"'"));
371 EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\"avc1.4D401E\"'"));
372 EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\"avc3.64001F\"'"));
374 EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\"mp4a\"'"));
375 EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\"mp4a.40.2\"'"));
377 EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\"avc1.unknown\"'"));
378 EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\"avc3.unknown\"'"));
379 EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\"mp4a.unknown\"'"));
381 EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\"avc1.\"'"));
382 EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\"avc3.\"'"));
383 EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\"mp4a.\"'"));
385 EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\"vorbis\"'"));
386 EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\"opus\"'"));
387 EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\"theora\"'"));
388 EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\"vp8\"'"));
389 EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\"vp8.0\"'"));
390 EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\"vp9\"'"));
391 EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\"vp9.0\"'"));
393 EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\"AVC1\"'"));
394 EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\"AVC1.4d401e\"'"));
395 EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\"AVC3\"'"));
396 EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\"AVC3.64001f\"'"));
397 EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\"MP4A\"'"));
398 EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\"MP4A.40.2\"'"));
399 EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\"AVC1, MP4\"'"));
400 EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\"AVC3, MP4\"'"));
401 EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\", AVC1.4D401E, MP4.40.2\"'"));
402 EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\", AVC3.64001F, MP4.40.2\"'"));
404 EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\"avc2\"'"));
405 EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\"avc4\"'"));
407 EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\"avc1x\"'"));
408 EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\"avc3x\"'"));
409 EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\"mp4ax\"'"));
411 EXPECT_EQ(kNot, CanPlay("'audio/mpeg; codecs=\"unknown\"'"));
414 EXPECT_EQ(kPropProbably, CanPlay("'audio/mp3'"));
416 EXPECT_EQ(kNot, CanPlay("'audio/mp3; codecs=\"avc1\"'"));
417 EXPECT_EQ(kNot, CanPlay("'audio/mp3; codecs=\"avc3\"'"));
419 EXPECT_EQ(kNot, CanPlay("'audio/mp3; codecs=\"avc1.4D401E\"'"));
420 EXPECT_EQ(kNot, CanPlay("'audio/mp3; codecs=\"avc3.64001F\"'"));
422 EXPECT_EQ(kNot, CanPlay("'audio/mp3; codecs=\"mp4a\"'"));
423 EXPECT_EQ(kNot, CanPlay("'audio/mp3; codecs=\"mp4a.40.2\"'"));
425 EXPECT_EQ(kNot, CanPlay("'audio/mp3; codecs=\"avc1.unknown\"'"));
426 EXPECT_EQ(kNot, CanPlay("'audio/mp3; codecs=\"avc3.unknown\"'"));
427 EXPECT_EQ(kNot, CanPlay("'audio/mp3; codecs=\"mp4a.unknown\"'"));
429 EXPECT_EQ(kNot, CanPlay("'audio/mp3; codecs=\"avc1.\"'"));
430 EXPECT_EQ(kNot, CanPlay("'audio/mp3; codecs=\"avc3.\"'"));
431 EXPECT_EQ(kNot, CanPlay("'audio/mp3; codecs=\"mp4a.\"'"));
433 EXPECT_EQ(kNot, CanPlay("'audio/mp3; codecs=\"vorbis\"'"));
434 EXPECT_EQ(kNot, CanPlay("'audio/mp3; codecs=\"opus\"'"));
435 EXPECT_EQ(kNot, CanPlay("'audio/mp3; codecs=\"theora\"'"));
436 EXPECT_EQ(kNot, CanPlay("'audio/mp3; codecs=\"vp8\"'"));
437 EXPECT_EQ(kNot, CanPlay("'audio/mp3; codecs=\"vp8.0\"'"));
438 EXPECT_EQ(kNot, CanPlay("'audio/mp3; codecs=\"vp9\"'"));
439 EXPECT_EQ(kNot, CanPlay("'audio/mp3; codecs=\"vp9.0\"'"));
441 EXPECT_EQ(kNot, CanPlay("'audio/mp3; codecs=\"AVC1\"'"));
442 EXPECT_EQ(kNot, CanPlay("'audio/mp3; codecs=\"AVC1.4d401e\"'"));
443 EXPECT_EQ(kNot, CanPlay("'audio/mp3; codecs=\"AVC3\"'"));
444 EXPECT_EQ(kNot, CanPlay("'audio/mp3; codecs=\"AVC3.64001f\"'"));
445 EXPECT_EQ(kNot, CanPlay("'audio/mp3; codecs=\"MP4A\"'"));
446 EXPECT_EQ(kNot, CanPlay("'audio/mp3; codecs=\"MP4A.40.2\"'"));
447 EXPECT_EQ(kNot, CanPlay("'audio/mp3; codecs=\"AVC1, MP4\"'"));
448 EXPECT_EQ(kNot, CanPlay("'audio/mp3; codecs=\"AVC3, MP4\"'"));
449 EXPECT_EQ(kNot, CanPlay("'audio/mp3; codecs=\", AVC1.4D401E, MP4.40.2\"'"));
450 EXPECT_EQ(kNot, CanPlay("'audio/mp3; codecs=\", AVC3.64001F, MP4.40.2\"'"));
452 EXPECT_EQ(kNot, CanPlay("'audio/mp3; codecs=\"avc2\"'"));
453 EXPECT_EQ(kNot, CanPlay("'audio/mp3; codecs=\"avc4\"'"));
455 EXPECT_EQ(kNot, CanPlay("'audio/mp3; codecs=\"avc1x\"'"));
456 EXPECT_EQ(kNot, CanPlay("'audio/mp3; codecs=\"avc3x\"'"));
457 EXPECT_EQ(kNot, CanPlay("'audio/mp3; codecs=\"mp4ax\"'"));
459 EXPECT_EQ(kNot, CanPlay("'audio/mp3; codecs=\"unknown\"'"));
462 EXPECT_EQ(kPropProbably, CanPlay("'audio/x-mp3'"));
464 EXPECT_EQ(kNot, CanPlay("'audio/x-mp3; codecs=\"avc1\"'"));
465 EXPECT_EQ(kNot, CanPlay("'audio/x-mp3; codecs=\"avc3\"'"));
467 EXPECT_EQ(kNot, CanPlay("'audio/x-mp3; codecs=\"avc1.4D401E\"'"));
468 EXPECT_EQ(kNot, CanPlay("'audio/x-mp3; codecs=\"avc3.64001F\"'"));
470 EXPECT_EQ(kNot, CanPlay("'audio/x-mp3; codecs=\"mp4a\"'"));
471 EXPECT_EQ(kNot, CanPlay("'audio/x-mp3; codecs=\"mp4a.40.2\"'"));
473 EXPECT_EQ(kNot, CanPlay("'audio/x-mp3; codecs=\"avc1.unknown\"'"));
474 EXPECT_EQ(kNot, CanPlay("'audio/x-mp3; codecs=\"avc3.unknown\"'"));
475 EXPECT_EQ(kNot, CanPlay("'audio/x-mp3; codecs=\"mp4a.unknown\"'"));
477 EXPECT_EQ(kNot, CanPlay("'audio/x-mp3; codecs=\"vorbis\"'"));
478 EXPECT_EQ(kNot, CanPlay("'audio/x-mp3; codecs=\"opus\"'"));
479 EXPECT_EQ(kNot, CanPlay("'audio/x-mp3; codecs=\"theora\"'"));
480 EXPECT_EQ(kNot, CanPlay("'audio/x-mp3; codecs=\"vp8\"'"));
481 EXPECT_EQ(kNot, CanPlay("'audio/x-mp3; codecs=\"vp8.0\"'"));
482 EXPECT_EQ(kNot, CanPlay("'audio/x-mp3; codecs=\"vp9\"'"));
483 EXPECT_EQ(kNot, CanPlay("'audio/x-mp3; codecs=\"vp9.0\"'"));
485 EXPECT_EQ(kNot, CanPlay("'audio/x-mp3; codecs=\"AVC1\"'"));
486 EXPECT_EQ(kNot, CanPlay("'audio/x-mp3; codecs=\"AVC1.4d401e\"'"));
487 EXPECT_EQ(kNot, CanPlay("'audio/x-mp3; codecs=\"AVC3\"'"));
488 EXPECT_EQ(kNot, CanPlay("'audio/x-mp3; codecs=\"AVC3.64001f\"'"));
489 EXPECT_EQ(kNot, CanPlay("'audio/x-mp3; codecs=\"MP4A\"'"));
490 EXPECT_EQ(kNot, CanPlay("'audio/x-mp3; codecs=\"MP4A.40.2\"'"));
491 EXPECT_EQ(kNot, CanPlay("'audio/x-mp3; codecs=\"AVC1, MP4\"'"));
492 EXPECT_EQ(kNot, CanPlay("'audio/x-mp3; codecs=\"AVC3, MP4\"'"));
493 EXPECT_EQ(kNot, CanPlay("'audio/x-mp3; codecs=\", AVC1.4D401E, MP4.40.2\"'"));
494 EXPECT_EQ(kNot, CanPlay("'audio/x-mp3; codecs=\", AVC3.64001F, MP4.40.2\"'"));
496 EXPECT_EQ(kNot, CanPlay("'audio/x-mp3; codecs=\"avc2\"'"));
497 EXPECT_EQ(kNot, CanPlay("'audio/x-mp3; codecs=\"avc4\"'"));
499 EXPECT_EQ(kNot, CanPlay("'audio/x-mp3; codecs=\"avc1x\"'"));
500 EXPECT_EQ(kNot, CanPlay("'audio/x-mp3; codecs=\"avc3x\"'"));
501 EXPECT_EQ(kNot, CanPlay("'audio/x-mp3; codecs=\"mp4ax\"'"));
503 EXPECT_EQ(kNot, CanPlay("'audio/x-mp3; codecs=\"unknown\"'"));
519 EXPECT_EQ(kPropMaybe, CanPlay("'video/mp4'"));
521 EXPECT_EQ(kPropProbably, CanPlay("'video/mp4; codecs=\"avc1\"'"));
522 EXPECT_EQ(kPropProbably, CanPlay("'video/mp4; codecs=\"avc3\"'"));
523 EXPECT_EQ(kPropProbably, CanPlay("'video/mp4; codecs=\"mp4a\"'"));
524 EXPECT_EQ(kPropProbably, CanPlay("'video/mp4; codecs=\"avc1, mp4a\"'"));
525 EXPECT_EQ(kPropProbably, CanPlay("'video/mp4; codecs=\"avc3, mp4a\"'"));
526 EXPECT_EQ(kPropProbably, CanPlay("'video/mp4; codecs=\"avc1, avc3\"'"));
528 EXPECT_EQ(kPropProbably, CanPlay("'video/mp4; codecs=\"avc1.4D401E\"'"));
529 EXPECT_EQ(kPropProbably, CanPlay("'video/mp4; codecs=\"avc3.64001F\"'"));
530 EXPECT_EQ(kPropProbably, CanPlay("'video/mp4; codecs=\"mp4a.40.2\"'"));
531 EXPECT_EQ(kPropProbably,
533 EXPECT_EQ(kPropProbably,
538 EXPECT_EQ(kPropProbably, CanPlay("'video/mp4; codecs=\"avc1.unknown\"'"));
539 EXPECT_EQ(kPropProbably, CanPlay("'video/mp4; codecs=\"avc3.unknown\"'"));
540 EXPECT_EQ(kPropProbably, CanPlay("'video/mp4; codecs=\"mp4a.unknown\"'"));
542 EXPECT_EQ(kPropProbably, CanPlay("'video/mp4; codecs=\"avc1.\"'"));
543 EXPECT_EQ(kPropProbably, CanPlay("'video/mp4; codecs=\"avc3.\"'"));
544 EXPECT_EQ(kPropProbably, CanPlay("'video/mp4; codecs=\"mp4a.\"'"));
546 EXPECT_EQ(kPropProbably, CanPlay("'video/mp4; codecs=\"vp8\"'"));
547 EXPECT_EQ(PropAndVP9Probably, CanPlay("'video/mp4; codecs=\"vp9\"'"));
549 EXPECT_EQ(kPropProbably, CanPlay("'video/mp4; codecs=\"vorbis\"'"));
550 EXPECT_EQ(kPropProbably, CanPlay("'video/mp4; codecs=\"avc1, vorbis\"'"));
551 EXPECT_EQ(kPropProbably, CanPlay("'video/mp4; codecs=\"avc3, vorbis\"'"));
552 EXPECT_EQ(kPropProbably,
554 EXPECT_EQ(kPropProbably,
557 EXPECT_EQ(kOpusAndPropProbably, CanPlay("'video/mp4; codecs=\"opus\"'"));
558 EXPECT_EQ(kOpusAndPropProbably, CanPlay("'video/mp4; codecs=\"vp8, opus\"'"));
559 EXPECT_EQ(kOpusAndPropProbably, CanPlay("'video/mp4; codecs=\"vp9, opus\"'"));
561 EXPECT_EQ(kTheoraAndPropProbably, CanPlay("'video/mp4; codecs=\"theora\"'"));
562 EXPECT_EQ(kTheoraAndPropProbably,
564 EXPECT_EQ(kTheoraAndPropProbably,
566 EXPECT_EQ(kTheoraAndPropProbably,
568 EXPECT_EQ(kTheoraAndPropProbably,
570 EXPECT_EQ(kTheoraAndPropProbably,
572 EXPECT_EQ(kTheoraAndPropProbably,
574 EXPECT_EQ(kTheoraAndPropProbably,
577 EXPECT_EQ(kPropMaybe, CanPlay("'video/mp4; codecs=\"AVC1\"'"));
578 EXPECT_EQ(kPropMaybe, CanPlay("'video/mp4; codecs=\"AVC1.4d401e\"'"));
579 EXPECT_EQ(kPropMaybe, CanPlay("'video/mp4; codecs=\"AVC3\"'"));
580 EXPECT_EQ(kPropMaybe, CanPlay("'video/mp4; codecs=\"AVC3.64001f\"'"));
581 EXPECT_EQ(kPropMaybe, CanPlay("'video/mp4; codecs=\"MP4A\"'"));
582 EXPECT_EQ(kPropMaybe, CanPlay("'video/mp4; codecs=\"MP4A.40.2\"'"));
583 EXPECT_EQ(kPropMaybe, CanPlay("'video/mp4; codecs=\"AVC1, MP4\"'"));
584 EXPECT_EQ(kPropMaybe, CanPlay("'video/mp4; codecs=\"AVC3, MP4\"'"));
585 EXPECT_EQ(kPropMaybe,
587 EXPECT_EQ(kPropMaybe,
590 EXPECT_EQ(kPropMaybe, CanPlay("'video/mp4; codecs=\"avc2\"'"));
591 EXPECT_EQ(kPropMaybe, CanPlay("'video/mp4; codecs=\"avc4\"'"));
593 EXPECT_EQ(kPropMaybe, CanPlay("'video/mp4; codecs=\"avc1x\"'"));
594 EXPECT_EQ(kPropMaybe, CanPlay("'video/mp4; codecs=\"avc3x\"'"));
595 EXPECT_EQ(kPropMaybe, CanPlay("'video/mp4; codecs=\"mp4ax\"'"));
597 EXPECT_EQ(kPropMaybe, CanPlay("'video/mp4; codecs=\"unknown\"'"));
600 EXPECT_EQ(kPropMaybe, CanPlay("'video/x-m4v'"));
602 EXPECT_EQ(kPropProbably, CanPlay("'video/x-m4v; codecs=\"avc1\"'"));
603 EXPECT_EQ(kPropProbably, CanPlay("'video/x-m4v; codecs=\"avc3\"'"));
604 EXPECT_EQ(kPropProbably, CanPlay("'video/x-m4v; codecs=\"mp4a\"'"));
605 EXPECT_EQ(kPropProbably, CanPlay("'video/x-m4v; codecs=\"avc1, mp4a\"'"));
606 EXPECT_EQ(kPropProbably, CanPlay("'video/x-m4v; codecs=\"avc3, mp4a\"'"));
607 EXPECT_EQ(kPropProbably, CanPlay("'video/x-m4v; codecs=\"avc1, avc3\"'"));
609 EXPECT_EQ(kPropProbably, CanPlay("'video/x-m4v; codecs=\"avc1.4D401E\"'"));
610 EXPECT_EQ(kPropProbably, CanPlay("'video/x-m4v; codecs=\"avc3.64001F\"'"));
611 EXPECT_EQ(kPropProbably, CanPlay("'video/x-m4v; codecs=\"mp4a.40.2\"'"));
612 EXPECT_EQ(kPropProbably,
614 EXPECT_EQ(kPropProbably,
619 EXPECT_EQ(kPropProbably, CanPlay("'video/x-m4v; codecs=\"avc1.unknown\"'"));
620 EXPECT_EQ(kPropProbably, CanPlay("'video/x-m4v; codecs=\"avc3.unknown\"'"));
621 EXPECT_EQ(kPropProbably, CanPlay("'video/x-m4v; codecs=\"mp4a.unknown\"'"));
623 EXPECT_EQ(kPropProbably, CanPlay("'video/x-m4v; codecs=\"avc1.\"'"));
624 EXPECT_EQ(kPropProbably, CanPlay("'video/x-m4v; codecs=\"avc3.\"'"));
625 EXPECT_EQ(kPropProbably, CanPlay("'video/x-m4v; codecs=\"mp4a.\"'"));
627 EXPECT_EQ(kPropProbably, CanPlay("'video/x-m4v; codecs=\"vp8\"'"));
628 EXPECT_EQ(PropAndVP9Probably, CanPlay("'video/x-m4v; codecs=\"vp9\"'"));
630 EXPECT_EQ(kPropProbably, CanPlay("'video/x-m4v; codecs=\"vorbis\"'"));
631 EXPECT_EQ(kPropProbably, CanPlay("'video/x-m4v; codecs=\"avc1, vorbis\"'"));
632 EXPECT_EQ(kPropProbably, CanPlay("'video/x-m4v; codecs=\"avc3, vorbis\"'"));
633 EXPECT_EQ(kPropProbably,
635 EXPECT_EQ(kPropProbably,
638 EXPECT_EQ(kOpusAndPropProbably, CanPlay("'video/x-m4v; codecs=\"opus\"'"));
639 EXPECT_EQ(kOpusAndPropProbably,
641 EXPECT_EQ(kOpusAndPropProbably,
644 EXPECT_EQ(kTheoraAndPropProbably,
646 EXPECT_EQ(kTheoraAndPropProbably,
648 EXPECT_EQ(kTheoraAndPropProbably,
650 EXPECT_EQ(kTheoraAndPropProbably,
652 EXPECT_EQ(kTheoraAndPropProbably,
654 EXPECT_EQ(kTheoraAndPropProbably,
656 EXPECT_EQ(kTheoraAndPropProbably,
658 EXPECT_EQ(kTheoraAndPropProbably,
661 EXPECT_EQ(kPropMaybe, CanPlay("'video/x-m4v; codecs=\"AVC1\"'"));
662 EXPECT_EQ(kPropMaybe, CanPlay("'video/x-m4v; codecs=\"AVC1.4d401e\"'"));
663 EXPECT_EQ(kPropMaybe, CanPlay("'video/x-m4v; codecs=\"AVC3\"'"));
664 EXPECT_EQ(kPropMaybe, CanPlay("'video/x-m4v; codecs=\"AVC3.64001f\"'"));
665 EXPECT_EQ(kPropMaybe, CanPlay("'video/x-m4v; codecs=\"MP4A\"'"));
666 EXPECT_EQ(kPropMaybe, CanPlay("'video/x-m4v; codecs=\"MP4A.40.2\"'"));
667 EXPECT_EQ(kPropMaybe, CanPlay("'video/x-m4v; codecs=\"AVC1, MP4\"'"));
668 EXPECT_EQ(kPropMaybe, CanPlay("'video/x-m4v; codecs=\"AVC3, MP4\"'"));
669 EXPECT_EQ(kPropMaybe,
671 EXPECT_EQ(kPropMaybe,
674 EXPECT_EQ(kPropMaybe, CanPlay("'video/x-m4v; codecs=\"avc2\"'"));
675 EXPECT_EQ(kPropMaybe, CanPlay("'video/x-m4v; codecs=\"avc4\"'"));
677 EXPECT_EQ(kPropMaybe, CanPlay("'video/x-m4v; codecs=\"avc1x\"'"));
678 EXPECT_EQ(kPropMaybe, CanPlay("'video/x-m4v; codecs=\"avc3x\"'"));
679 EXPECT_EQ(kPropMaybe, CanPlay("'video/x-m4v; codecs=\"mp4ax\"'"));
681 EXPECT_EQ(kPropMaybe, CanPlay("'video/x-m4v; codecs=\"unknown\"'"));
684 EXPECT_EQ(kPropMaybe, CanPlay("'audio/mp4'"));
685 EXPECT_EQ(kPropProbably, CanPlay("'audio/mp4; codecs=\"mp4a\"'"));
686 EXPECT_EQ(kPropProbably, CanPlay("'audio/mp4; codecs=\"mp4a.40.2\"'"));
690 EXPECT_EQ(kPropProbably, CanPlay("'audio/mp4; codecs=\"avc1\"'"));
691 EXPECT_EQ(kPropProbably, CanPlay("'audio/mp4; codecs=\"avc3\"'"));
692 EXPECT_EQ(kPropProbably, CanPlay("'audio/mp4; codecs=\"avc1, mp4a\"'"));
693 EXPECT_EQ(kPropProbably, CanPlay("'audio/mp4; codecs=\"avc3, mp4a\"'"));
695 EXPECT_EQ(kPropProbably, CanPlay("'audio/mp4; codecs=\"avc1.4D401E\"'"));
696 EXPECT_EQ(kPropProbably, CanPlay("'audio/mp4; codecs=\"avc3.64001F\"'"));
698 EXPECT_EQ(kPropProbably, CanPlay("'audio/mp4; codecs=\"avc1.unknown\"'"));
699 EXPECT_EQ(kPropProbably, CanPlay("'audio/mp4; codecs=\"avc3.unknown\"'"));
700 EXPECT_EQ(kPropProbably, CanPlay("'audio/mp4; codecs=\"mp4a.unknown\"'"));
702 EXPECT_EQ(kPropProbably, CanPlay("'audio/mp4; codecs=\"avc1.\"'"));
703 EXPECT_EQ(kPropProbably, CanPlay("'audio/mp4; codecs=\"avc3.\"'"));
704 EXPECT_EQ(kPropProbably, CanPlay("'audio/mp4; codecs=\"mp4a.\"'"));
706 EXPECT_EQ(kPropProbably,
708 EXPECT_EQ(kPropProbably,
710 EXPECT_EQ(kPropProbably,
712 EXPECT_EQ(kPropProbably,
715 EXPECT_EQ(kPropProbably, CanPlay("'audio/mp4; codecs=\"vorbis\"'"));
717 EXPECT_EQ(kPropProbably, CanPlay("'audio/mp4; codecs=\"vp8\"'"));
718 EXPECT_EQ(kPropProbably, CanPlay("'audio/mp4; codecs=\"vp8.0\"'"));
719 EXPECT_EQ(PropAndVP9Probably, CanPlay("'audio/mp4; codecs=\"vp9\"'"));
720 EXPECT_EQ(PropAndVP9Probably, CanPlay("'audio/mp4; codecs=\"vp9.0\"'"));
722 EXPECT_EQ(kOpusAndPropProbably, CanPlay("'audio/mp4; codecs=\"opus\"'"));
723 EXPECT_EQ(kOpusAndPropProbably,
725 EXPECT_EQ(kOpusAndPropProbably,
727 EXPECT_EQ(kOpusAndPropProbably, CanPlay("'audio/mp4; codecs=\"vp8, opus\"'"));
728 EXPECT_EQ(kOpusAndPropProbably, CanPlay("'audio/mp4; codecs=\"vp9, opus\"'"));
730 EXPECT_EQ(kTheoraAndPropProbably, CanPlay("'audio/mp4; codecs=\"theora\"'"));
731 EXPECT_EQ(kTheoraAndPropProbably,
733 EXPECT_EQ(kTheoraAndPropProbably,
735 EXPECT_EQ(kPropProbably, CanPlay("'audio/mp4; codecs=\"avc1, vorbis\"'"));
737 EXPECT_EQ(kPropMaybe, CanPlay("'audio/mp4; codecs=\"AVC1\"'"));
738 EXPECT_EQ(kPropMaybe, CanPlay("'audio/mp4; codecs=\"AVC1.4d401e\"'"));
739 EXPECT_EQ(kPropMaybe, CanPlay("'audio/mp4; codecs=\"AVC3\"'"));
740 EXPECT_EQ(kPropMaybe, CanPlay("'audio/mp4; codecs=\"AVC3.64001f\"'"));
741 EXPECT_EQ(kPropMaybe, CanPlay("'audio/mp4; codecs=\"MP4A\"'"));
742 EXPECT_EQ(kPropMaybe, CanPlay("'audio/mp4; codecs=\"MP4A.40.2\"'"));
743 EXPECT_EQ(kPropMaybe, CanPlay("'audio/mp4; codecs=\"AVC1, MP4\"'"));
744 EXPECT_EQ(kPropMaybe, CanPlay("'audio/mp4; codecs=\"AVC3, MP4\"'"));
745 EXPECT_EQ(kPropMaybe,
747 EXPECT_EQ(kPropMaybe,
750 EXPECT_EQ(kPropMaybe, CanPlay("'audio/mp4; codecs=\"avc2\"'"));
751 EXPECT_EQ(kPropMaybe, CanPlay("'audio/mp4; codecs=\"avc4\"'"));
753 EXPECT_EQ(kPropMaybe, CanPlay("'audio/mp4; codecs=\"avc1x\"'"));
754 EXPECT_EQ(kPropMaybe, CanPlay("'audio/mp4; codecs=\"avc3x\"'"));
755 EXPECT_EQ(kPropMaybe, CanPlay("'audio/mp4; codecs=\"mp4ax\"'"));
757 EXPECT_EQ(kPropMaybe, CanPlay("'audio/mp4; codecs=\"unknown\"'"));
760 EXPECT_EQ(kPropMaybe, CanPlay("'audio/x-m4a'"));
761 EXPECT_EQ(kPropProbably, CanPlay("'audio/x-m4a; codecs=\"mp4a\"'"));
762 EXPECT_EQ(kPropProbably, CanPlay("'audio/x-m4a; codecs=\"mp4a.40.2\"'"));
766 EXPECT_EQ(kPropProbably, CanPlay("'audio/x-m4a; codecs=\"avc1\"'"));
767 EXPECT_EQ(kPropProbably, CanPlay("'audio/x-m4a; codecs=\"avc3\"'"));
768 EXPECT_EQ(kPropProbably, CanPlay("'audio/x-m4a; codecs=\"avc1, mp4a\"'"));
769 EXPECT_EQ(kPropProbably, CanPlay("'audio/x-m4a; codecs=\"avc3, mp4a\"'"));
771 EXPECT_EQ(kPropProbably, CanPlay("'audio/x-m4a; codecs=\"avc1.4D401E\"'"));
772 EXPECT_EQ(kPropProbably, CanPlay("'audio/x-m4a; codecs=\"avc3.64001F\"'"));
774 EXPECT_EQ(kPropProbably, CanPlay("'audio/x-m4a; codecs=\"avc1.unknown\"'"));
775 EXPECT_EQ(kPropProbably, CanPlay("'audio/x-m4a; codecs=\"avc3.unknown\"'"));
776 EXPECT_EQ(kPropProbably, CanPlay("'audio/x-m4a; codecs=\"mp4a.unknown\"'"));
778 EXPECT_EQ(kPropProbably, CanPlay("'audio/x-m4a; codecs=\"avc1.\"'"));
779 EXPECT_EQ(kPropProbably, CanPlay("'audio/x-m4a; codecs=\"avc3.\"'"));
780 EXPECT_EQ(kPropProbably, CanPlay("'audio/x-m4a; codecs=\"mp4a.\"'"));
782 EXPECT_EQ(kPropProbably,
784 EXPECT_EQ(kPropProbably,
786 EXPECT_EQ(kPropProbably,
788 EXPECT_EQ(kPropProbably,
791 EXPECT_EQ(kPropProbably, CanPlay("'audio/x-m4a; codecs=\"vorbis\"'"));
793 EXPECT_EQ(kPropProbably, CanPlay("'audio/x-m4a; codecs=\"vp8\"'"));
794 EXPECT_EQ(kPropProbably, CanPlay("'audio/x-m4a; codecs=\"vp8.0\"'"));
795 EXPECT_EQ(PropAndVP9Probably, CanPlay("'audio/x-m4a; codecs=\"vp9\"'"));
796 EXPECT_EQ(PropAndVP9Probably, CanPlay("'audio/x-m4a; codecs=\"vp9.0\"'"));
798 EXPECT_EQ(kOpusAndPropProbably, CanPlay("'audio/x-m4a; codecs=\"opus\"'"));
799 EXPECT_EQ(kOpusAndPropProbably,
801 EXPECT_EQ(kOpusAndPropProbably,
803 EXPECT_EQ(kOpusAndPropProbably,
805 EXPECT_EQ(kOpusAndPropProbably,
808 EXPECT_EQ(kTheoraAndPropProbably,
810 EXPECT_EQ(kTheoraAndPropProbably,
812 EXPECT_EQ(kTheoraAndPropProbably,
814 EXPECT_EQ(kPropProbably, CanPlay("'audio/x-m4a; codecs=\"avc1, vorbis\"'"));
816 EXPECT_EQ(kPropMaybe, CanPlay("'audio/x-m4a; codecs=\"AVC1\"'"));
817 EXPECT_EQ(kPropMaybe, CanPlay("'audio/x-m4a; codecs=\"AVC1.4d401e\"'"));
818 EXPECT_EQ(kPropMaybe, CanPlay("'audio/x-m4a; codecs=\"AVC3\"'"));
819 EXPECT_EQ(kPropMaybe, CanPlay("'audio/x-m4a; codecs=\"AVC3.64001f\"'"));
820 EXPECT_EQ(kPropMaybe, CanPlay("'audio/x-m4a; codecs=\"MP4A\"'"));
821 EXPECT_EQ(kPropMaybe, CanPlay("'audio/x-m4a; codecs=\"MP4A.40.2\"'"));
822 EXPECT_EQ(kPropMaybe, CanPlay("'audio/x-m4a; codecs=\"AVC1, MP4\"'"));
823 EXPECT_EQ(kPropMaybe, CanPlay("'audio/x-m4a; codecs=\"AVC3, MP4\"'"));
824 EXPECT_EQ(kPropMaybe,
826 EXPECT_EQ(kPropMaybe,
829 EXPECT_EQ(kPropMaybe, CanPlay("'audio/x-m4a; codecs=\"avc2\"'"));
830 EXPECT_EQ(kPropMaybe, CanPlay("'audio/x-m4a; codecs=\"avc4\"'"));
832 EXPECT_EQ(kPropMaybe, CanPlay("'audio/x-m4a; codecs=\"avc1x\"'"));
833 EXPECT_EQ(kPropMaybe, CanPlay("'audio/x-m4a; codecs=\"avc3x\"'"));
834 EXPECT_EQ(kPropMaybe, CanPlay("'audio/x-m4a; codecs=\"mp4ax\"'"));
836 EXPECT_EQ(kPropMaybe, CanPlay("'audio/x-m4a; codecs=\"unknown\"'"));
856 EXPECT_EQ(HLSMaybe, CanPlay("'application/x-mpegurl'"));
858 EXPECT_EQ(HLSProbably,
860 EXPECT_EQ(HLSProbably,
862 EXPECT_EQ(HLSProbably,
864 EXPECT_EQ(HLSProbably,
866 EXPECT_EQ(HLSProbably,
869 EXPECT_EQ(HLSProbably,
871 EXPECT_EQ(HLSProbably,
873 EXPECT_EQ(HLSProbably,
875 EXPECT_EQ(HLSProbably,
877 EXPECT_EQ(HLSProbably,
882 EXPECT_EQ(HLSProbably,
884 EXPECT_EQ(HLSProbably,
886 EXPECT_EQ(HLSProbably,
889 EXPECT_EQ(HLSProbably, CanPlay("'application/x-mpegurl; codecs=\"avc1.\"'"));
890 EXPECT_EQ(HLSProbably, CanPlay("'application/x-mpegurl; codecs=\"avc3.\"'"));
891 EXPECT_EQ(HLSProbably, CanPlay("'application/x-mpegurl; codecs=\"mp4a.\"'"));
893 EXPECT_EQ(HLSProbably, CanPlay("'application/x-mpegurl; codecs=\"vp8\"'"));
894 EXPECT_EQ(HLSAndVP9Probably,
896 EXPECT_EQ(HLSProbably,
899 EXPECT_EQ(HLSProbably,
901 EXPECT_EQ(HLSProbably,
903 EXPECT_EQ(HLSProbably,
905 EXPECT_EQ(HLSProbably,
908 EXPECT_EQ(HLSMaybe, CanPlay("'application/x-mpegurl; codecs=\"opus\"'"));
909 EXPECT_EQ(HLSMaybe,
911 EXPECT_EQ(HLSMaybe,
914 EXPECT_EQ(HLSMaybe,
916 EXPECT_EQ(HLSMaybe,
918 EXPECT_EQ(HLSMaybe,
920 EXPECT_EQ(HLSMaybe,
923 EXPECT_EQ(HLSMaybe, CanPlay("'application/x-mpegurl; codecs=\"AVC1\"'"));
924 EXPECT_EQ(HLSMaybe,
926 EXPECT_EQ(HLSMaybe, CanPlay("'application/x-mpegurl; codecs=\"AVC3\"'"));
927 EXPECT_EQ(HLSMaybe,
929 EXPECT_EQ(HLSMaybe, CanPlay("'application/x-mpegurl; codecs=\"MP4A\"'"));
930 EXPECT_EQ(HLSMaybe,
932 EXPECT_EQ(HLSMaybe,
934 EXPECT_EQ(HLSMaybe,
936 EXPECT_EQ(HLSMaybe,
938 EXPECT_EQ(HLSMaybe,
941 EXPECT_EQ(HLSMaybe,
943 EXPECT_EQ(HLSMaybe,
946 EXPECT_EQ(HLSMaybe,
948 EXPECT_EQ(HLSMaybe,
950 EXPECT_EQ(HLSMaybe,
953 EXPECT_EQ(HLSMaybe,
957 EXPECT_EQ(HLSMaybe, CanPlay("'application/vnd.apple.mpegurl'"));
959 EXPECT_EQ(HLSProbably,
961 EXPECT_EQ(HLSProbably,
963 EXPECT_EQ(HLSProbably,
965 EXPECT_EQ(HLSProbably,
967 EXPECT_EQ(HLSProbably,
970 EXPECT_EQ(HLSProbably,
972 EXPECT_EQ(HLSProbably,
974 EXPECT_EQ(HLSProbably,
979 EXPECT_EQ(HLSProbably,
981 EXPECT_EQ(HLSProbably,
983 EXPECT_EQ(HLSProbably,
986 EXPECT_EQ(HLSProbably,
988 EXPECT_EQ(HLSProbably,
990 EXPECT_EQ(HLSProbably,
993 EXPECT_EQ(HLSProbably,
995 EXPECT_EQ(HLSAndVP9Probably,
997 EXPECT_EQ(HLSProbably,
1000 EXPECT_EQ(HLSProbably,
1002 EXPECT_EQ(HLSProbably,
1004 EXPECT_EQ(HLSProbably,
1006 EXPECT_EQ(HLSProbably,
1009 EXPECT_EQ(HLSMaybe,
1011 EXPECT_EQ(HLSMaybe,
1013 EXPECT_EQ(HLSMaybe,
1016 EXPECT_EQ(HLSMaybe,
1018 EXPECT_EQ(HLSMaybe,
1020 EXPECT_EQ(HLSMaybe,
1022 EXPECT_EQ(HLSMaybe,
1025 EXPECT_EQ(HLSMaybe,
1027 EXPECT_EQ(HLSMaybe,
1029 EXPECT_EQ(HLSMaybe,
1031 EXPECT_EQ(HLSMaybe,
1033 EXPECT_EQ(HLSMaybe,
1035 EXPECT_EQ(HLSMaybe,
1037 EXPECT_EQ(HLSMaybe,
1039 EXPECT_EQ(HLSMaybe,
1041 EXPECT_EQ(HLSMaybe,
1044 EXPECT_EQ(HLSMaybe,
1048 EXPECT_EQ(HLSMaybe,
1050 EXPECT_EQ(HLSMaybe,
1053 EXPECT_EQ(HLSMaybe,
1055 EXPECT_EQ(HLSMaybe,
1057 EXPECT_EQ(HLSMaybe,
1060 EXPECT_EQ(HLSMaybe,