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

Issue 626093002: Cleanup webview app_shell_browsertests and add webview media permission tests in app_shell_browsert… (Closed)

Created:
6 years, 2 months ago by lfg
Modified:
6 years, 2 months ago
Reviewers:
Yoyo Zhou, lazyboy
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@tests_load
Project:
chromium
Visibility:
Public.

Description

Cleanup webview app_shell_browsertests and add webview media permission tests in app_shell_browsertests. * Splits web_view_apitest into .h/.cc so it can be reused by other tests. * Adds webview media permission tests in app_shell_browsertests: - TestAllow - TestAllowAndThenDeny - TestAllowAsync - TestAllowTwice - TestCheck - TestDeny - TestDenyThenAllowThrows - TestDenyWithPreventDefault - TestNoListenersImplyDeny - TestNoPreventDefaultImpliesDeny BUG=352293 Committed: https://crrev.com/12dec866ef80260531951251b31a4b4886bf8be3 Cr-Commit-Position: refs/heads/master@{#298481}

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 10

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+325 lines, -259 lines) Patch
M chrome/browser/apps/web_view_browsertest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
A + extensions/browser/guest_view/test_guest_view_manager.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + extensions/browser/guest_view/test_guest_view_manager.cc View 1 chunk +1 line, -1 line 0 comments Download
D extensions/browser/guest_view/web_view/test_guest_view_manager.h View 1 chunk +0 lines, -55 lines 0 comments Download
D extensions/browser/guest_view/web_view/test_guest_view_manager.cc View 1 chunk +0 lines, -90 lines 0 comments Download
A extensions/browser/guest_view/web_view/web_view_apitest.h View 1 2 1 chunk +45 lines, -0 lines 0 comments Download
M extensions/browser/guest_view/web_view/web_view_apitest.cc View 1 2 3 chunks +67 lines, -71 lines 0 comments Download
A extensions/browser/guest_view/web_view/web_view_media_access_apitest.cc View 1 2 1 chunk +172 lines, -0 lines 0 comments Download
M extensions/extensions.gyp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M extensions/shell/app_shell.gyp View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A + extensions/test/data/web_view/media_access/allow/embedder.html View 0 chunks +-1 lines, --1 lines 0 comments Download
A + extensions/test/data/web_view/media_access/allow/embedder.js View 1 4 chunks +30 lines, -32 lines 0 comments Download
A + extensions/test/data/web_view/media_access/allow/manifest.json View 1 chunk +2 lines, -1 line 0 comments Download
A + extensions/test/data/web_view/media_access/allow/media_access_guest.html View 0 chunks +-1 lines, --1 lines 0 comments Download
A + extensions/test/data/web_view/media_access/allow/test.js View 0 chunks +-1 lines, --1 lines 0 comments Download
A + extensions/test/data/web_view/media_access/check/embedder.html View 0 chunks +-1 lines, --1 lines 0 comments Download
A + extensions/test/data/web_view/media_access/check/embedder.js View 1 4 chunks +4 lines, -6 lines 0 comments Download
A + extensions/test/data/web_view/media_access/check/manifest.json View 0 chunks +-1 lines, --1 lines 0 comments Download
A + extensions/test/data/web_view/media_access/check/media_check_guest.html View 0 chunks +-1 lines, --1 lines 0 comments Download
A + extensions/test/data/web_view/media_access/check/test.js View 0 chunks +-1 lines, --1 lines 0 comments Download
A + extensions/test/data/web_view/media_access/deny/embedder.html View 0 chunks +-1 lines, --1 lines 0 comments Download
A + extensions/test/data/web_view/media_access/deny/embedder.js View 1 3 chunks +7 lines, -8 lines 0 comments Download
A + extensions/test/data/web_view/media_access/deny/manifest.json View 0 chunks +-1 lines, --1 lines 0 comments Download
A + extensions/test/data/web_view/media_access/deny/media_access_guest.html View 0 chunks +-1 lines, --1 lines 0 comments Download
A + extensions/test/data/web_view/media_access/deny/test.js View 0 chunks +-1 lines, --1 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
lfg
PTAL
6 years, 2 months ago (2014-10-03 19:35:55 UTC) #2
lazyboy
lgtm https://chromiumcodereview.appspot.com/626093002/diff/1/extensions/browser/guest_view/web_view/web_view_apitest.cc File extensions/browser/guest_view/web_view/web_view_apitest.cc (right): https://chromiumcodereview.appspot.com/626093002/diff/1/extensions/browser/guest_view/web_view/web_view_apitest.cc#newcode159 extensions/browser/guest_view/web_view/web_view_apitest.cc:159: WebViewAPITest::WebViewAPITest() { Move constructor at the very beginning. ...
6 years, 2 months ago (2014-10-06 16:21:21 UTC) #3
lfg
https://codereview.chromium.org/626093002/diff/1/extensions/browser/guest_view/web_view/web_view_apitest.cc File extensions/browser/guest_view/web_view/web_view_apitest.cc (right): https://codereview.chromium.org/626093002/diff/1/extensions/browser/guest_view/web_view/web_view_apitest.cc#newcode159 extensions/browser/guest_view/web_view/web_view_apitest.cc:159: WebViewAPITest::WebViewAPITest() { On 2014/10/06 16:21:20, lazyboy wrote: > Move ...
6 years, 2 months ago (2014-10-06 16:53:18 UTC) #4
lfg
yoz@chromium.org: PTAL
6 years, 2 months ago (2014-10-06 16:53:49 UTC) #6
Yoyo Zhou
LGTM https://codereview.chromium.org/626093002/diff/20001/extensions/browser/guest_view/web_view/web_view_apitest.h File extensions/browser/guest_view/web_view/web_view_apitest.h (right): https://codereview.chromium.org/626093002/diff/20001/extensions/browser/guest_view/web_view/web_view_apitest.h#newcode16 extensions/browser/guest_view/web_view/web_view_apitest.h:16: class WebViewAPITest : public AppShellTest { class documentation? ...
6 years, 2 months ago (2014-10-06 22:38:33 UTC) #7
lfg
https://codereview.chromium.org/626093002/diff/20001/extensions/browser/guest_view/web_view/web_view_apitest.h File extensions/browser/guest_view/web_view/web_view_apitest.h (right): https://codereview.chromium.org/626093002/diff/20001/extensions/browser/guest_view/web_view/web_view_apitest.h#newcode16 extensions/browser/guest_view/web_view/web_view_apitest.h:16: class WebViewAPITest : public AppShellTest { On 2014/10/06 22:38:33, ...
6 years, 2 months ago (2014-10-06 23:17:23 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/626093002/40001
6 years, 2 months ago (2014-10-07 15:05:16 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001) as df0af118193c556abcbc56933d4763e9509e4ac5
6 years, 2 months ago (2014-10-07 15:10:07 UTC) #11
commit-bot: I haz the power
6 years, 2 months ago (2014-10-07 15:10:43 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/12dec866ef80260531951251b31a4b4886bf8be3
Cr-Commit-Position: refs/heads/master@{#298481}

Powered by Google App Engine
This is Rietveld 408576698