Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Issue 186973003: Add browser tests for canPlayType() results (Closed)

Created:
6 years, 9 months ago by amogh.bihani
Modified:
6 years, 9 months ago
CC:
chromium-reviews, fischman+watch_chromium.org, feature-media-reviews_chromium.org, wjia+watch_chromium.org, mcasas+watch_chromium.org, acolwell GONE FROM CHROMIUM, scherkus (not reviewing)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Add browser tests for canPlayType() results BUG=53193 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=259838

Patch Set 1 #

Total comments: 7

Patch Set 2 : Moving testcase from chrome to content #

Patch Set 3 : Moving testcase from chrome to content #

Total comments: 23

Patch Set 4 : Addressing comments #

Total comments: 15

Patch Set 5 : Reducing method name size to fit in one line #

Total comments: 5

Patch Set 6 : Navigating to "about:blank" #

Patch Set 7 : Changing "initialise" to "initialize" #

Total comments: 2

Patch Set 8 : Puting initialize to SetUpOnMainThread #

Total comments: 43

Patch Set 9 : Adding "application/*", "x-" and HLS media types #

Total comments: 41

Patch Set 10 : Addressing comments and adding Casesensitive codecs tests #

Patch Set 11 : Fixing android_rel_triggered_test bot failed tests #

Total comments: 34

Patch Set 12 : Addressing comments and adding more test cases #

Total comments: 14

Patch Set 13 : Adding avc1x, avc3x and mp4ax codecs #

Patch Set 14 : fixing trybot failed tests: wav, webm, mp3 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1101 lines, -0 lines) Patch
A content/browser/media/media_canplaytype_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1100 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 36 (0 generated)
amogh.bihani
I have added testcase for canPlayType() similar to encrypted_media_istypesupported_browsertest.cc as you had asked in https://codereview.chromium.org/150653008/ ...
6 years, 9 months ago (2014-03-06 13:45:23 UTC) #1
amogh.bihani
https://codereview.chromium.org/186973003/diff/1/chrome/browser/media/media_istypesupported_browsertest.cc File chrome/browser/media/media_istypesupported_browsertest.cc (right): https://codereview.chromium.org/186973003/diff/1/chrome/browser/media/media_istypesupported_browsertest.cc#newcode272 chrome/browser/media/media_istypesupported_browsertest.cc:272: // Correct codecs, should not get "probably" not "maybe" ...
6 years, 9 months ago (2014-03-06 13:48:54 UTC) #2
ddorwin
Thanks. I added notes about how to move this to content/ along with other suggestions ...
6 years, 9 months ago (2014-03-07 00:51:29 UTC) #3
amogh.bihani
Thanks for the review :) I'll do the necessary changes. I just got a bit ...
6 years, 9 months ago (2014-03-10 07:10:14 UTC) #4
amogh.bihani
PTAL. I have tried to make extensive testcase to check all the possibilities.
6 years, 9 months ago (2014-03-12 04:57:09 UTC) #5
ddorwin
https://codereview.chromium.org/186973003/diff/40001/content/browser/media/media_canplaytype_browsertest.cc File content/browser/media/media_canplaytype_browsertest.cc (right): https://codereview.chromium.org/186973003/diff/40001/content/browser/media/media_canplaytype_browsertest.cc#newcode9 content/browser/media/media_canplaytype_browsertest.cc:9: #include "content/shell/browser/shell.h" content/test/content_browser_test.h has a shell you can use. ...
6 years, 9 months ago (2014-03-17 23:27:36 UTC) #6
amogh.bihani
PTAL. I have tried to address all the review comments, however, I couldn't address all. ...
6 years, 9 months ago (2014-03-18 11:45:40 UTC) #7
ddorwin
Thanks. Comments in Patch Sets 3 and 4. https://codereview.chromium.org/186973003/diff/40001/content/browser/media/media_canplaytype_browsertest.cc File content/browser/media/media_canplaytype_browsertest.cc (right): https://codereview.chromium.org/186973003/diff/40001/content/browser/media/media_canplaytype_browsertest.cc#newcode9 content/browser/media/media_canplaytype_browsertest.cc:9: #include ...
6 years, 9 months ago (2014-03-18 17:58:01 UTC) #8
amogh.bihani
Thanks for the review. Comments in patchset 4 and 5. https://codereview.chromium.org/186973003/diff/60001/content/browser/media/media_canplaytype_browsertest.cc File content/browser/media/media_canplaytype_browsertest.cc (right): https://codereview.chromium.org/186973003/diff/60001/content/browser/media/media_canplaytype_browsertest.cc#newcode14 ...
6 years, 9 months ago (2014-03-19 13:22:17 UTC) #9
ddorwin
The structure looks pretty good, but we need to use STREQ and figure out how ...
6 years, 9 months ago (2014-03-19 23:28:13 UTC) #10
ddorwin
https://codereview.chromium.org/186973003/diff/80001/content/browser/media/media_canplaytype_browsertest.cc File content/browser/media/media_canplaytype_browsertest.cc (right): https://codereview.chromium.org/186973003/diff/80001/content/browser/media/media_canplaytype_browsertest.cc#newcode84 content/browser/media/media_canplaytype_browsertest.cc:84: EXPECT_EQ(kMaybe, CanPlay("'audio/wav'")); On 2014/03/19 23:28:14, ddorwin wrote: > We ...
6 years, 9 months ago (2014-03-20 00:13:06 UTC) #11
amogh.bihani
Thanks for the review. PTAL https://codereview.chromium.org/186973003/diff/40001/content/browser/media/media_canplaytype_browsertest.cc File content/browser/media/media_canplaytype_browsertest.cc (right): https://codereview.chromium.org/186973003/diff/40001/content/browser/media/media_canplaytype_browsertest.cc#newcode9 content/browser/media/media_canplaytype_browsertest.cc:9: #include "content/shell/browser/shell.h" On 2014/03/19 ...
6 years, 9 months ago (2014-03-20 07:12:57 UTC) #12
ddorwin
https://codereview.chromium.org/186973003/diff/120001/content/browser/media/media_canplaytype_browsertest.cc File content/browser/media/media_canplaytype_browsertest.cc (right): https://codereview.chromium.org/186973003/diff/120001/content/browser/media/media_canplaytype_browsertest.cc#newcode70 content/browser/media/media_canplaytype_browsertest.cc:70: void initialize() { Is it possible to do this ...
6 years, 9 months ago (2014-03-20 07:29:03 UTC) #13
amogh.bihani
PTAL. https://codereview.chromium.org/186973003/diff/120001/content/browser/media/media_canplaytype_browsertest.cc File content/browser/media/media_canplaytype_browsertest.cc (right): https://codereview.chromium.org/186973003/diff/120001/content/browser/media/media_canplaytype_browsertest.cc#newcode70 content/browser/media/media_canplaytype_browsertest.cc:70: void initialize() { On 2014/03/20 07:29:03, ddorwin wrote: ...
6 years, 9 months ago (2014-03-20 08:42:43 UTC) #14
ddorwin
Thanks. This looks pretty good. Most of the comments are nits or about what the ...
6 years, 9 months ago (2014-03-20 18:04:50 UTC) #15
amogh.bihani
I have addressed some of the comments. Rest will follow in the next patch set. ...
6 years, 9 months ago (2014-03-21 06:27:07 UTC) #16
amogh.bihani
I have added cases for the other media mime types. PTAl https://codereview.chromium.org/186973003/diff/140001/content/browser/media/media_canplaytype_browsertest.cc File content/browser/media/media_canplaytype_browsertest.cc (right): ...
6 years, 9 months ago (2014-03-21 13:52:02 UTC) #17
ddorwin
Thanks. Looking good. Some more minor stuff. It's great that we're finding all the unexpected ...
6 years, 9 months ago (2014-03-21 21:52:15 UTC) #18
amogh.bihani
PTAL https://codereview.chromium.org/186973003/diff/160001/content/browser/media/media_canplaytype_browsertest.cc File content/browser/media/media_canplaytype_browsertest.cc (right): https://codereview.chromium.org/186973003/diff/160001/content/browser/media/media_canplaytype_browsertest.cc#newcode52 content/browser/media/media_canplaytype_browsertest.cc:52: const char* kHLSProbably = "probably"; On 2014/03/21 21:52:16, ...
6 years, 9 months ago (2014-03-24 11:04:58 UTC) #19
amogh.bihani
Fixed some android_rel tests. Other bots failed due to some other unrelated files.
6 years, 9 months ago (2014-03-24 14:49:44 UTC) #20
ddorwin
Thanks! This looks pretty good. Mainly naming and ordering now. https://codereview.chromium.org/186973003/diff/160001/content/browser/media/media_canplaytype_browsertest.cc File content/browser/media/media_canplaytype_browsertest.cc (right): https://codereview.chromium.org/186973003/diff/160001/content/browser/media/media_canplaytype_browsertest.cc#newcode136 ...
6 years, 9 months ago (2014-03-25 23:47:59 UTC) #21
ddorwin
nit: Update the description to something like: Add browser tests for canPlayType() results.
6 years, 9 months ago (2014-03-25 23:50:20 UTC) #22
amogh.bihani
> https://codereview.chromium.org/186973003/diff/200001/content/browser/media/media_canplaytype_browsertest.cc#newcode291 > content/browser/media/media_canplaytype_browsertest.cc:291: > EXPECT_EQ(kOggTheoraMaybe, CanPlay("'video/ogg; codecs=\"Theora\"'")); > nit: Put these valid cases up ...
6 years, 9 months ago (2014-03-26 04:40:32 UTC) #23
amogh.bihani
> ideal behaviour for should be "" or "probably" for 'video/ogg; codecs="Theora"'? > I mean, ...
6 years, 9 months ago (2014-03-26 04:42:38 UTC) #24
amogh.bihani
PTAL. I have made some changes as advised. I have some doubts. I have mentioned ...
6 years, 9 months ago (2014-03-26 06:48:32 UTC) #25
ddorwin
On 2014/03/26 04:42:38, amogh.bihani wrote: > > ideal behaviour for should be "" or "probably" ...
6 years, 9 months ago (2014-03-26 23:59:09 UTC) #26
ddorwin
Thanks! This looks good. A few minor issues and it should be ready to commit. ...
6 years, 9 months ago (2014-03-27 00:10:41 UTC) #27
amogh.bihani
Thanks for the review. PTAL https://codereview.chromium.org/186973003/diff/280001/content/browser/media/media_canplaytype_browsertest.cc File content/browser/media/media_canplaytype_browsertest.cc (right): https://codereview.chromium.org/186973003/diff/280001/content/browser/media/media_canplaytype_browsertest.cc#newcode1 content/browser/media/media_canplaytype_browsertest.cc:1: // Copyright (c) 2014 ...
6 years, 9 months ago (2014-03-27 04:49:37 UTC) #28
ddorwin
LGTM Thanks for working through all the feedback. I look forward to seeing the new ...
6 years, 9 months ago (2014-03-27 04:55:49 UTC) #29
amogh.bihani
The CQ bit was checked by amogh.bihani@samsung.com
6 years, 9 months ago (2014-03-27 05:17:11 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/amogh.bihani@samsung.com/186973003/300001
6 years, 9 months ago (2014-03-27 05:18:36 UTC) #31
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-27 06:53:19 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 9 months ago (2014-03-27 06:53:19 UTC) #33
amogh.bihani
The CQ bit was checked by amogh.bihani@samsung.com
6 years, 9 months ago (2014-03-27 07:15:49 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/amogh.bihani@samsung.com/186973003/320001
6 years, 9 months ago (2014-03-27 07:16:22 UTC) #35
commit-bot: I haz the power
6 years, 9 months ago (2014-03-27 11:55:25 UTC) #36
Message was sent while issue was closed.
Change committed as 259838

Powered by Google App Engine
This is Rietveld 408576698