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

Issue 281833003: BrowserPluginHostTest: Rewrite 3 focus related tests and 1 visibility test to browser_tests. (Closed)

Created:
6 years, 7 months ago by lazyboy
Modified:
6 years, 7 months ago
Reviewers:
Fady Samuel
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, darin-cc_chromium.org, jam, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

BrowserPluginHostTest: Rewrite 3 focus related tests and 1 visibility test to browser_tests. This CL also removes BrowserPluginHostTest.HiddenBeforeNavigation, that was disabled under TSAN v2. BUG=368077, 370240 Test=None, internal only change. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272427

Patch Set 1 #

Patch Set 2 : upgrade hiddenbeforenav test #

Patch Set 3 : more tests removed #

Patch Set 4 : close to be reviewed #

Total comments: 6

Patch Set 5 : add comments to test files #

Patch Set 6 : sync #

Total comments: 10

Patch Set 7 : address comments from fsamuel@ #

Patch Set 8 : sync @tott #

Patch Set 9 : rebase @tott, fix conflict #

Unified diffs Side-by-side diffs Delta from patch set Stats (+400 lines, -206 lines) Patch
M chrome/browser/apps/web_view_browsertest.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/apps/web_view_interactive_browsertest.cc View 1 2 3 4 5 6 1 chunk +67 lines, -1 line 0 comments Download
M chrome/test/data/extensions/platform_apps/web_view/focus/embedder.js View 1 2 3 4 5 6 6 chunks +161 lines, -4 lines 0 comments Download
A chrome/test/data/extensions/platform_apps/web_view/focus/inject_advance_focus_test.js View 1 2 1 chunk +45 lines, -0 lines 0 comments Download
M chrome/test/data/extensions/platform_apps/web_view/focus/inject_focus.js View 1 2 3 4 5 6 1 chunk +54 lines, -7 lines 0 comments Download
A chrome/test/data/extensions/platform_apps/web_view/shim/inject_hidden_test.js View 1 2 1 chunk +17 lines, -0 lines 0 comments Download
M chrome/test/data/extensions/platform_apps/web_view/shim/main.js View 1 2 2 chunks +43 lines, -0 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.h View 1 2 3 4 5 6 7 8 2 chunks +9 lines, -6 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_host_browsertest.cc View 1 2 3 4 5 6 7 2 chunks +0 lines, -65 lines 0 comments Download
M content/browser/browser_plugin/test_browser_plugin_guest.h View 1 2 3 4 5 6 3 chunks +0 lines, -17 lines 0 comments Download
M content/browser/browser_plugin/test_browser_plugin_guest.cc View 1 2 3 4 5 6 6 chunks +0 lines, -72 lines 0 comments Download
D content/test/data/browser_plugin_focus.html View 1 2 1 chunk +0 lines, -28 lines 0 comments Download
D content/test/data/browser_plugin_focus_child.html View 1 2 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 31 (0 generated)
lazyboy
6 years, 7 months ago (2014-05-16 01:46:26 UTC) #1
lazyboy
Correct upload this time.
6 years, 7 months ago (2014-05-16 01:48:08 UTC) #2
Fady Samuel
https://codereview.chromium.org/281833003/diff/60001/chrome/test/data/extensions/platform_apps/web_view/focus/embedder.js File chrome/test/data/extensions/platform_apps/web_view/focus/embedder.js (right): https://codereview.chromium.org/281833003/diff/60001/chrome/test/data/extensions/platform_apps/web_view/focus/embedder.js#newcode142 chrome/test/data/extensions/platform_apps/web_view/focus/embedder.js:142: function testFocusBeforeNavigation() { There's a lot of code here ...
6 years, 7 months ago (2014-05-20 15:37:19 UTC) #3
lazyboy
https://codereview.chromium.org/281833003/diff/60001/chrome/test/data/extensions/platform_apps/web_view/focus/embedder.js File chrome/test/data/extensions/platform_apps/web_view/focus/embedder.js (right): https://codereview.chromium.org/281833003/diff/60001/chrome/test/data/extensions/platform_apps/web_view/focus/embedder.js#newcode142 chrome/test/data/extensions/platform_apps/web_view/focus/embedder.js:142: function testFocusBeforeNavigation() { On 2014/05/20 15:37:20, Fady Samuel wrote: ...
6 years, 7 months ago (2014-05-20 16:46:51 UTC) #4
lazyboy
Ping
6 years, 7 months ago (2014-05-21 16:27:28 UTC) #5
Fady Samuel
https://codereview.chromium.org/281833003/diff/100001/chrome/browser/apps/web_view_interactive_browsertest.cc File chrome/browser/apps/web_view_interactive_browsertest.cc (right): https://codereview.chromium.org/281833003/diff/100001/chrome/browser/apps/web_view_interactive_browsertest.cc#newcode553 chrome/browser/apps/web_view_interactive_browsertest.cc:553: EXPECT_TRUE(content::ExecuteScript( Why do we need this? https://codereview.chromium.org/281833003/diff/100001/chrome/browser/apps/web_view_interactive_browsertest.cc#newcode561 chrome/browser/apps/web_view_interactive_browsertest.cc:561: // ...
6 years, 7 months ago (2014-05-21 18:02:36 UTC) #6
lazyboy
patchset #7, Forgot to clean up TestBrowserPluginGuest, done. https://codereview.chromium.org/281833003/diff/100001/chrome/browser/apps/web_view_interactive_browsertest.cc File chrome/browser/apps/web_view_interactive_browsertest.cc (right): https://codereview.chromium.org/281833003/diff/100001/chrome/browser/apps/web_view_interactive_browsertest.cc#newcode553 chrome/browser/apps/web_view_interactive_browsertest.cc:553: EXPECT_TRUE(content::ExecuteScript( ...
6 years, 7 months ago (2014-05-21 19:19:07 UTC) #7
Fady Samuel
lgtm
6 years, 7 months ago (2014-05-21 19:53:32 UTC) #8
lazyboy
The CQ bit was checked by lazyboy@chromium.org
6 years, 7 months ago (2014-05-21 20:36:58 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lazyboy@chromium.org/281833003/120001
6 years, 7 months ago (2014-05-21 20:39:16 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-22 03:43:24 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-22 10:17:58 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_dbg_simulator/builds/154385)
6 years, 7 months ago (2014-05-22 10:17:59 UTC) #13
lazyboy
The CQ bit was checked by lazyboy@chromium.org
6 years, 7 months ago (2014-05-22 10:41:05 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lazyboy@chromium.org/281833003/120001
6 years, 7 months ago (2014-05-22 10:42:27 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-22 11:03:24 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-22 11:09:52 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_dbg_simulator/builds/154418)
6 years, 7 months ago (2014-05-22 11:09:53 UTC) #18
lazyboy
The CQ bit was checked by lazyboy@chromium.org
6 years, 7 months ago (2014-05-22 14:23:55 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lazyboy@chromium.org/281833003/120001
6 years, 7 months ago (2014-05-22 14:25:46 UTC) #20
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-22 14:32:50 UTC) #21
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-22 14:38:28 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/ios_dbg_simulator/builds/154470)
6 years, 7 months ago (2014-05-22 14:38:28 UTC) #23
lazyboy
The CQ bit was checked by lazyboy@chromium.org
6 years, 7 months ago (2014-05-22 15:41:09 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lazyboy@chromium.org/281833003/140001
6 years, 7 months ago (2014-05-22 15:42:51 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-22 19:32:17 UTC) #26
commit-bot: I haz the power
Failed to apply patch for content/browser/browser_plugin/browser_plugin_guest.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 7 months ago (2014-05-22 19:32:18 UTC) #27
lazyboy
The CQ bit was checked by lazyboy@chromium.org
6 years, 7 months ago (2014-05-22 19:46:48 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/lazyboy@chromium.org/281833003/160001
6 years, 7 months ago (2014-05-22 19:47:14 UTC) #29
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-23 01:38:55 UTC) #30
commit-bot: I haz the power
6 years, 7 months ago (2014-05-23 07:17:19 UTC) #31
Message was sent while issue was closed.
Change committed as 272427

Powered by Google App Engine
This is Rietveld 408576698