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

Issue 2419763002: Enable ExtensionTabsTest.QueryLastFocusedWindowTabs test (Closed)

Created:
4 years, 2 months ago by Qiang(Joe) Xu
Modified:
4 years, 1 month ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable ExtensionTabsTest.QueryLastFocusedWindowTabs test Changes include: (1) Suspect content::RunAllPendingInMessageLoop is the reason for flaky, since BrowserWindow::IsActive is asynchronous on Mac and Linux. (2) Construct a non-empty url as there is a DCHECK here: https://cs.chromium.org/chromium/src/chrome/browser/ui/browser_navigator.cc?type=cs&sq=package:chromium&rcl=1476314269&l=530 (3) function->set_extension as there is a DCHECK here: https://cs.chromium.org/chromium/src/chrome/browser/extensions/browser_extension_window_controller.cc?type=cs&q=browser_extension_window_controller.cc&sq=package:chromium&l=87 BUG=136562 TEST=change is on test itself If flaky is still observed, please disable the test again. Committed: https://crrev.com/7adee5e6cd95c133832c1d2b10a0f64e530f9d1f Cr-Commit-Position: refs/heads/master@{#427214}

Patch Set 1 #

Patch Set 2 : disable the test on Mac only #

Total comments: 2

Patch Set 3 : utilizing BrowserActivationWaiter test support #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -6 lines) Patch
M chrome/browser/extensions/api/tabs/tabs_interactive_test.cc View 1 2 4 chunks +8 lines, -6 lines 0 comments Download

Messages

Total messages: 32 (22 generated)
Qiang(Joe) Xu
Hi Antony, Scott, could you PTAL? I picked up this issue because it was close ...
4 years, 2 months ago (2016-10-13 16:31:45 UTC) #11
asargent_no_longer_on_chrome
lgtm https://codereview.chromium.org/2419763002/diff/40001/chrome/browser/extensions/api/tabs/tabs_interactive_test.cc File chrome/browser/extensions/api/tabs/tabs_interactive_test.cc (right): https://codereview.chromium.org/2419763002/diff/40001/chrome/browser/extensions/api/tabs/tabs_interactive_test.cc#newcode90 chrome/browser/extensions/api/tabs/tabs_interactive_test.cc:90: GURL url("chrome://settings"); Out of curiosity, any particular reason ...
4 years, 2 months ago (2016-10-17 20:33:14 UTC) #14
sky
+avi in case he has ideas as to what should be used on Mac.
4 years, 2 months ago (2016-10-17 20:40:18 UTC) #16
Avi (use Gerrit)
On 2016/10/17 20:40:18, sky wrote: > +avi in case he has ideas as to what ...
4 years, 2 months ago (2016-10-17 21:04:32 UTC) #17
Qiang(Joe) Xu
On 2016/10/17 21:04:32, Avi wrote: > On 2016/10/17 20:40:18, sky wrote: > > +avi in ...
4 years, 2 months ago (2016-10-18 16:53:12 UTC) #18
Qiang(Joe) Xu
Updated based on BrowserActivationWaiter. PTAL, thanks! https://codereview.chromium.org/2419763002/diff/40001/chrome/browser/extensions/api/tabs/tabs_interactive_test.cc File chrome/browser/extensions/api/tabs/tabs_interactive_test.cc (right): https://codereview.chromium.org/2419763002/diff/40001/chrome/browser/extensions/api/tabs/tabs_interactive_test.cc#newcode90 chrome/browser/extensions/api/tabs/tabs_interactive_test.cc:90: GURL url("chrome://settings"); On ...
4 years, 2 months ago (2016-10-21 22:29:22 UTC) #22
sky
LGTM
4 years, 2 months ago (2016-10-21 23:19:18 UTC) #25
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/2419763002/60001
4 years, 1 month ago (2016-10-25 00:42:44 UTC) #28
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 1 month ago (2016-10-25 01:28:29 UTC) #30
commit-bot: I haz the power
4 years, 1 month ago (2016-10-25 01:31:43 UTC) #32
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7adee5e6cd95c133832c1d2b10a0f64e530f9d1f
Cr-Commit-Position: refs/heads/master@{#427214}

Powered by Google App Engine
This is Rietveld 408576698