Chromium Code Reviews
DescriptionEnable 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 #
Messages
Total messages: 12 (7 generated)
|
||||||||||||||||||||||||||||