DescriptionI tried to add a pak override in the command line but for some reason it is stripped before it gets to the browser initialization. I think that adding synchronization to this particular race is the best way to solve the flaky test.
Previous description:
Add DCHECK for possible flake place - will fail with ASSERT rather than crash.
Crashes in comment 15
http://code.google.com/p/chromium/issues/detail?id=95425#c15
Seem to indicate that data has not been loaded/reloaded. There are two possible places that could happen and logging in non-test code + ASSERTION in test code can at least get us a bit further in determining where to look.
BUG=95425
TEST=out/Debug/browser_tests --gtest_filter=WebUIBidiCheckerBrowserTestRTL.TestSettingsClearBrowserDataPage
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=141739
Patch Set 1 #Patch Set 2 : Added logging for other case in resource bundle where this may fail. #Patch Set 3 : Assert locale passes (return is non-empty). #Patch Set 4 : Added locking for resources to prevent race when using ReloadLocaleResources. #Patch Set 5 : Navigate to about:blank to ensure that no resources are loading while reloading the locale. #
Total comments: 1
Patch Set 6 : Fixed comment to add ':' after TODO(tony). #
Messages
Total messages: 13 (0 generated)
|