Check for a different mime type before adding an extension.
This fixes failing test 'Linux Chromium OS ASan LSan Tests', which caused the previous CL to be reverted by https://chromium-review.googlesource.com/c/chromium/src/+/1203353 The issue was due to using EXPECT_EQ instead of EXPECT_STREQ to compare raw strings (which unfortunately passes with default args). then confirmed that EXPECT_STREQ fixes it. Bug: 844252 Test: Reproduced the issue with gn args is_asan=true is_lsan=true and Change-Id: I07720ba57f80b0a19c21d2ee3308809e6a8ce582 Reviewed-on: https://chromium-review.googlesource.com/1203754Reviewed-by:Hidehiko Abe <hidehiko@chromium.org> Commit-Queue: Alex Lau <alexlau@chromium.org> Cr-Commit-Position: refs/heads/master@{#589106}
Showing
Please register or sign in to comment