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

Issue 2741943003: Fix KeySystemTests on Android (Closed)

Created:
3 years, 9 months ago by jrummell
Modified:
3 years, 9 months ago
CC:
chromium-reviews, android-webview-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix KeySystemTests on Android It appears that getting back an empty string from JavaScript ends up as "" in Java, so remove the double quotes if they exist. Also modify some of the test to make it clearer what it is testing. As vp8 is more likely to be supported on the Android platform, pass it as one of the capabilities expected. BUG=699310 TEST=updated tests pass on Android Review-Url: https://codereview.chromium.org/2741943003 Cr-Commit-Position: refs/heads/master@{#457635} Committed: https://chromium.googlesource.com/chromium/src/+/99ac9c004a6048ede85584571c4e7a6c23b4b8e8

Patch Set 1 #

Patch Set 2 : mp4 only #

Total comments: 2

Patch Set 3 : changes (+rebase) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -20 lines) Patch
M android_webview/javatests/src/org/chromium/android_webview/test/KeySystemTest.java View 1 2 3 chunks +12 lines, -11 lines 0 comments Download
M android_webview/test/shell/assets/key-system-test.html View 1 2 2 chunks +4 lines, -9 lines 0 comments Download

Messages

Total messages: 18 (6 generated)
jrummell
PTAL.
3 years, 9 months ago (2017-03-11 00:11:33 UTC) #2
sgurun-gerrit only
On 2017/03/11 00:11:33, jrummell wrote: > PTAL. lgtm
3 years, 9 months ago (2017-03-14 00:39:58 UTC) #3
sgurun-gerrit only
On 2017/03/14 00:39:58, sgurun wrote: > On 2017/03/11 00:11:33, jrummell wrote: > > PTAL. > ...
3 years, 9 months ago (2017-03-14 00:44:25 UTC) #4
jrummell
On 2017/03/14 00:44:25, sgurun wrote: > However your first comment in the description i.e. "sometimes?" ...
3 years, 9 months ago (2017-03-14 00:56:00 UTC) #6
sgurun-gerrit only
On 2017/03/14 00:56:00, jrummell wrote: > On 2017/03/14 00:44:25, sgurun wrote: > > However your ...
3 years, 9 months ago (2017-03-14 01:05:03 UTC) #7
xhwang
As discussed offline, "video/mp4" is only supported on M+. So having "video/mp4" in capabilities without ...
3 years, 9 months ago (2017-03-15 17:19:19 UTC) #8
xhwang
On 2017/03/15 17:19:19, xhwang_slow wrote: > As discussed offline, "video/mp4" is only supported on M+. ...
3 years, 9 months ago (2017-03-15 18:08:16 UTC) #9
jrummell
Updated to simply use video/mp4
3 years, 9 months ago (2017-03-15 20:39:53 UTC) #10
xhwang
lgtm % nit Please also try K device with proprietary codecs enabled. https://codereview.chromium.org/2741943003/diff/20001/android_webview/test/shell/assets/key-system-test.html File android_webview/test/shell/assets/key-system-test.html ...
3 years, 9 months ago (2017-03-15 21:44:44 UTC) #11
jrummell
Thanks for the reviews. https://codereview.chromium.org/2741943003/diff/20001/android_webview/test/shell/assets/key-system-test.html File android_webview/test/shell/assets/key-system-test.html (right): https://codereview.chromium.org/2741943003/diff/20001/android_webview/test/shell/assets/key-system-test.html#newcode33 android_webview/test/shell/assets/key-system-test.html:33: return video.canPlayType('video/mp4; codecs=\"avc1\"'); On 2017/03/15 ...
3 years, 9 months ago (2017-03-17 00:12:16 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2741943003/40001
3 years, 9 months ago (2017-03-17 00:12:57 UTC) #15
commit-bot: I haz the power
3 years, 9 months ago (2017-03-17 00:52:53 UTC) #18
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/99ac9c004a6048ede85584571c4e...

Powered by Google App Engine
This is Rietveld 408576698