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

Issue 818263004: Add a test that is a repro case for bug 444945. (Closed)

Created:
6 years ago by ncarter (slow)
Modified:
6 years ago
Reviewers:
nasko
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@autofill_crash'
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a test that is a repro case for bug 444945. It's disabled, because we don't have a fix yet (and I'm about to go on leave). This required moving the WebContentsAddedObserver from content_browser_test_utils.h->browser_test_utils.h. I took the opportunity to RenderFrame-ify it slightly. BUG=444945 Committed: https://crrev.com/7bb1c5c7cb8e145d5222d19f38df405aa6b73ed8 Cr-Commit-Position: refs/heads/master@{#309599}

Patch Set 1 #

Patch Set 2 : Self-review fixes #

Total comments: 5

Patch Set 3 : Nasko's fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -84 lines) Patch
M chrome/browser/task_manager/task_manager_browsertest.cc View 1 2 2 chunks +54 lines, -0 lines 0 comments Download
M content/public/test/browser_test_utils.h View 1 1 chunk +29 lines, -0 lines 0 comments Download
M content/public/test/browser_test_utils.cc View 2 chunks +63 lines, -0 lines 0 comments Download
M content/public/test/content_browser_test_utils.h View 2 chunks +0 lines, -29 lines 0 comments Download
M content/public/test/content_browser_test_utils.cc View 2 chunks +0 lines, -55 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
ncarter (slow)
Hi Nasko, please review
6 years ago (2014-12-23 23:32:16 UTC) #2
nasko
https://codereview.chromium.org/818263004/diff/20001/chrome/browser/task_manager/task_manager_browsertest.cc File chrome/browser/task_manager/task_manager_browsertest.cc (right): https://codereview.chromium.org/818263004/diff/20001/chrome/browser/task_manager/task_manager_browsertest.cc#newcode215 chrome/browser/task_manager/task_manager_browsertest.cc:215: content::SetupCrossSiteRedirector(embedded_test_server()); nit: You don't need the content::SetupCrossSiteRedirector call as ...
6 years ago (2014-12-23 23:44:05 UTC) #3
ncarter (slow)
https://codereview.chromium.org/818263004/diff/20001/chrome/browser/task_manager/task_manager_browsertest.cc File chrome/browser/task_manager/task_manager_browsertest.cc (right): https://codereview.chromium.org/818263004/diff/20001/chrome/browser/task_manager/task_manager_browsertest.cc#newcode215 chrome/browser/task_manager/task_manager_browsertest.cc:215: content::SetupCrossSiteRedirector(embedded_test_server()); On 2014/12/23 23:44:04, nasko (Out till 2015) wrote: ...
6 years ago (2014-12-23 23:54:42 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/818263004/40001
6 years ago (2014-12-23 23:55:30 UTC) #6
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years ago (2014-12-23 23:55:32 UTC) #8
nasko
lgtm https://codereview.chromium.org/818263004/diff/20001/chrome/browser/task_manager/task_manager_browsertest.cc File chrome/browser/task_manager/task_manager_browsertest.cc (right): https://codereview.chromium.org/818263004/diff/20001/chrome/browser/task_manager/task_manager_browsertest.cc#newcode239 chrome/browser/task_manager/task_manager_browsertest.cc:239: tab1->GetMainFrame()->ExecuteJavaScript(base::ASCIIToUTF16("while(1);")); On 2014/12/23 23:54:42, ncarter wrote: > On ...
6 years ago (2014-12-24 00:22:57 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/818263004/40001
6 years ago (2014-12-24 00:23:34 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years ago (2014-12-24 01:37:47 UTC) #12
commit-bot: I haz the power
6 years ago (2014-12-24 01:38:39 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7bb1c5c7cb8e145d5222d19f38df405aa6b73ed8
Cr-Commit-Position: refs/heads/master@{#309599}

Powered by Google App Engine
This is Rietveld 408576698