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. Review-Url: https://codereview.chromium.org/2419763002 Cr-Commit-Position: refs/heads/master@{#427214}
Showing
Please register or sign in to comment