DescriptionFixed leak in StorageSchemaManifestHandlerTest.
This test uses the global ManifestHandlerRegistry, and its result depend on
the order of execution of other tests. If any test before created a
ManagedValueStoreCache then the ManifestHandlerRegistry has a
StorageSchemaManifestHandler, which will try to validate the bad extension
manifests, and will make this test fail.
This temporary fix always registers a StorageSchemaManifestHandler, and the
test doesn't assume that the extension is always created anymore. The long
term fix is to make ScopedTestingManifestHandlerRegistry public so that tests
like this can have a scoped ManifestHandlerRegistry.
TBR=kalman@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202461
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|