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

Issue 1850593002: Enable ExtensionApiTest.ChromeRuntimeOpenOptionsPage. (Closed)

Created:
4 years, 8 months ago by lazyboy
Modified:
4 years, 8 months ago
Reviewers:
Devlin
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable ExtensionApiTest.ChromeRuntimeOpenOptionsPage. Couple of issues fixed: 1) Make the test wait for chrome.runtime.openOptionsPage to finish. 2) The test tab opening 'chrome://chrome' is problematic because, without this change, the chrome://chrome tab would be overwritten by chrome://extensions (and you'd end up with two chrome://extensions tab!). This is because BrowserURLHandlerImpl::RewriteURLIfNecessary() has chrome://chrome/extension <-> chrome://chrome association in its handlers and singleton_tabs.cc's GetIndexOfSingletonTab() for chrome://extension would return the tab with chrome://chrome URL. Make the test use 'about:blank' for test URL instead. BUG=599213 Committed: https://crrev.com/fad9cf0f060000c0ac5a65133b3254cf54c6b96e Cr-Commit-Position: refs/heads/master@{#384372}

Patch Set 1 #

Patch Set 2 : sync #

Patch Set 3 : for review #

Total comments: 1

Patch Set 4 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -13 lines) Patch
M chrome/test/data/extensions/api_test/runtime/open_options_page/test.js View 1 2 3 4 chunks +13 lines, -10 lines 0 comments Download
M extensions/browser/api/runtime/runtime_apitest.cc View 1 2 1 chunk +1 line, -3 lines 0 comments Download

Messages

Total messages: 12 (7 generated)
lazyboy
FYI, I've made sure the flakiness is gone, see trybot runs in patch set #2 ...
4 years, 8 months ago (2016-03-31 15:39:37 UTC) #4
Devlin
lgtm, thanks for the speedy turnaround! :) https://codereview.chromium.org/1850593002/diff/40001/chrome/test/data/extensions/api_test/runtime/open_options_page/test.js File chrome/test/data/extensions/api_test/runtime/open_options_page/test.js (right): https://codereview.chromium.org/1850593002/diff/40001/chrome/test/data/extensions/api_test/runtime/open_options_page/test.js#newcode33 chrome/test/data/extensions/api_test/runtime/open_options_page/test.js:33: chrome.runtime.openOptionsPage(callbackPass(function() {})); ...
4 years, 8 months ago (2016-03-31 16:52:56 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1850593002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1850593002/60001
4 years, 8 months ago (2016-03-31 19:24:28 UTC) #8
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-03-31 20:36:03 UTC) #10
commit-bot: I haz the power
4 years, 8 months ago (2016-03-31 20:37:37 UTC) #12
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/fad9cf0f060000c0ac5a65133b3254cf54c6b96e
Cr-Commit-Position: refs/heads/master@{#384372}

Powered by Google App Engine
This is Rietveld 408576698