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

Issue 2896853005: Fix ContentVerifierTest.FailOnDone and ContentVerifierTest.FailOnRead on Windows 10. (Closed)

Created:
3 years, 7 months ago by jam
Modified:
3 years, 7 months ago
Reviewers:
Devlin
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix ContentVerifierTest.FailOnDone and ContentVerifierTest.FailOnRead on Windows 10 with PlzNavigate. The tests were loading a tab that would be closed. The test code was waiting for both a didstop IPC (inside InProcessBrowserTest::AddTabAtIndexToBrowser) and for the extension-unloaded notification (what the test is really testing). With PlzNavigate, the didstop IPC is sent later and it's racy whether the renderer will send it before the tab is closed. So remove the first wait. BUG=699437 Review-Url: https://codereview.chromium.org/2896853005 Cr-Commit-Position: refs/heads/master@{#473949} Committed: https://chromium.googlesource.com/chromium/src/+/c958dad1cb42b5e9ad6660b4fd35761b51444d5b

Patch Set 1 #

Patch Set 2 : log #

Patch Set 3 : fix #

Patch Set 4 : cleanup #

Total comments: 2

Patch Set 5 : add comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -25 lines) Patch
M chrome/browser/extensions/content_verifier_browsertest.cc View 1 2 3 4 5 chunks +7 lines, -25 lines 0 comments Download

Messages

Total messages: 17 (12 generated)
jam
3 years, 7 months ago (2017-05-23 15:21:04 UTC) #7
Devlin
lgtm https://codereview.chromium.org/2896853005/diff/60001/chrome/browser/extensions/content_verifier_browsertest.cc File chrome/browser/extensions/content_verifier_browsertest.cc (right): https://codereview.chromium.org/2896853005/diff/60001/chrome/browser/extensions/content_verifier_browsertest.cc#newcode493 chrome/browser/extensions/content_verifier_browsertest.cc:493: browser(), page_url_, 0, WindowOpenDisposition::NEW_FOREGROUND_TAB, Can you add a ...
3 years, 7 months ago (2017-05-23 16:13:05 UTC) #10
jam
https://codereview.chromium.org/2896853005/diff/60001/chrome/browser/extensions/content_verifier_browsertest.cc File chrome/browser/extensions/content_verifier_browsertest.cc (right): https://codereview.chromium.org/2896853005/diff/60001/chrome/browser/extensions/content_verifier_browsertest.cc#newcode493 chrome/browser/extensions/content_verifier_browsertest.cc:493: browser(), page_url_, 0, WindowOpenDisposition::NEW_FOREGROUND_TAB, On 2017/05/23 16:13:05, Devlin (catching ...
3 years, 7 months ago (2017-05-23 16:18:33 UTC) #11
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/2896853005/80001
3 years, 7 months ago (2017-05-23 16:19:49 UTC) #14
commit-bot: I haz the power
3 years, 7 months ago (2017-05-23 17:06:03 UTC) #17
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/c958dad1cb42b5e9ad6660b4fd35...

Powered by Google App Engine
This is Rietveld 408576698