Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Issue 2484353002: Unflake AppViewTest.TestAppViewGoodDataShouldSucceed under UBSan Vptr. (Closed)

Created:
4 years, 1 month ago by krasin1
Modified:
4 years, 1 month ago
Reviewers:
lazyboy
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Unflake AppViewTest.TestAppViewGoodDataShouldSucceed under UBSan Vptr. Sometimes (when Chromium is being deleted), ExtensionsBrowserClient::Get() could return NULL. This fix avoids calling a virtual method on a null pointer, deflaking the test under UBSan Vptr. See the bug attached for more details. BUG=663552 Committed: https://crrev.com/b72974798e11b6cffe236f746c3a778ddeba57b5 Cr-Commit-Position: refs/heads/master@{#430830}

Patch Set 1 #

Total comments: 2

Patch Set 2 : add a comment #

Patch Set 3 : Add || #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M extensions/browser/api/web_request/web_request_api.cc View 1 2 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 12 (6 generated)
krasin1
4 years, 1 month ago (2016-11-08 23:56:41 UTC) #4
lazyboy
lgtm https://codereview.chromium.org/2484353002/diff/1/extensions/browser/api/web_request/web_request_api.cc File extensions/browser/api/web_request/web_request_api.cc (right): https://codereview.chromium.org/2484353002/diff/1/extensions/browser/api/web_request/web_request_api.cc#newcode971 extensions/browser/api/web_request/web_request_api.cc:971: if (!client) { I'd add a comment here ...
4 years, 1 month ago (2016-11-09 00:10:11 UTC) #5
krasin1
https://codereview.chromium.org/2484353002/diff/1/extensions/browser/api/web_request/web_request_api.cc File extensions/browser/api/web_request/web_request_api.cc (right): https://codereview.chromium.org/2484353002/diff/1/extensions/browser/api/web_request/web_request_api.cc#newcode971 extensions/browser/api/web_request/web_request_api.cc:971: if (!client) { On 2016/11/09 00:10:11, lazyboy wrote: > ...
4 years, 1 month ago (2016-11-09 00:36:05 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2484353002/40001
4 years, 1 month ago (2016-11-09 00:36:48 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-09 02:17:52 UTC) #10
commit-bot: I haz the power
4 years, 1 month ago (2016-11-09 02:21:46 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b72974798e11b6cffe236f746c3a778ddeba57b5
Cr-Commit-Position: refs/heads/master@{#430830}

Powered by Google App Engine
This is Rietveld 408576698