|
|
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}
Total comments: 4
Total comments: 10
|
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
|
Total messages: 12 (3 generated)
|