ExtensionApiTest.ChromeRuntimeOpenOptionsPage is flaky |
||
Issue descriptionLog: https://build.chromium.org/p/chromium.mac/builders/Mac10.9%20Tests/builds/18749/steps/browser_tests%20on%20Mac-10.9/logs/ExtensionApiTest.ChromeRuntimeOpenOptionsPage Snippet: [60120:1287:0330/120319:INFO:CONSOLE(0)] "[SUCCESS] testNewOptionsPage", source: chrome-extension://dojmognfallamkpagcecbobidhpkggic/_generated_background_page.html (0) [60120:1287:0330/120319:INFO:CONSOLE(0)] "[FAIL] testRefocusExistingOptionsPage: API Test Error in testRefocusExistingOptionsPage Actual: chrome://chrome/ Expected: chrome://extensions/?options=dojmognfallamkpagcecbobidhpkggic Error at Object.<anonymous> (extensions::test:106:11) at Object.handleRequest (extensions::binding:57:27) at Object.<anonymous> (extensions::binding:385:32) at Object.<anonymous> (extensions::test:213:18) at Object.handleRequest (extensions::binding:57:27) at Object.<anonymous> (extensions::binding:385:32) at chrome-extension://dojmognfallamkpagcecbobidhpkggic/test.js:61:11 at chrome-extension://dojmognfallamkpagcecbobidhpkggic/test.js:42:5 at safeFunctionApply (extensions::test:258:26) at Object.callback (extensions::test:282:18)", source: chrome-extension://dojmognfallamkpagcecbobidhpkggic/_generated_background_page.html (0) [60120:1287:0330/120319:INFO:CONSOLE(0)] "[FAIL] testRefocusExistingOptionsPage: uncaught exception chrome.test.failure Istiaque, can you look into this? I've been able to repro the failure using a release build on my mac.
,
Mar 31 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/fad9cf0f060000c0ac5a65133b3254cf54c6b96e commit fad9cf0f060000c0ac5a65133b3254cf54c6b96e Author: lazyboy <lazyboy@chromium.org> Date: Thu Mar 31 20:35:51 2016 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 Review URL: https://codereview.chromium.org/1850593002 Cr-Commit-Position: refs/heads/master@{#384372} [modify] https://crrev.com/fad9cf0f060000c0ac5a65133b3254cf54c6b96e/chrome/test/data/extensions/api_test/runtime/open_options_page/test.js [modify] https://crrev.com/fad9cf0f060000c0ac5a65133b3254cf54c6b96e/extensions/browser/api/runtime/runtime_apitest.cc
,
Mar 31 2016
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Mar 30 2016