DescriptionSkip a first-run import on Mac when there is nothing left to import.
This can happen if (e.g.) master_preferences filters out all things
available to import (e.g.) from Safari. The import process on mac still
starts, but has nothing to import. This causes it to hang, because the
Import_Finished IPC is hooked onto the last item (not on NotifyEnded).
This change also adds a regression test.
BUG=169984
TEST=Added browser_test:FirstRunMasterPrefsBrowserTest.ImportNothingAndShowNewTabPage
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=180039
Patch Set 1 : Try out the regression test without the fix #Patch Set 2 : Now, fix it :) #
Total comments: 4
Patch Set 3 : delete temporary file #Patch Set 4 : remove fragile check #
Messages
Total messages: 8 (0 generated)
|