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

Issue 12602003: When a pending contents is created but deleted before it is shown, remove it from the list of pendi… (Closed)

Created:
7 years, 9 months ago by jochen (gone - plz use gerrit)
Modified:
7 years, 9 months ago
Reviewers:
Charlie Reis
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

When a pending contents is created but deleted before it is shown, remove it from the list of pending contents This happens during running layout tests when all newly opened windows are closed, however, an IPC message to show one of the new windows is already in flight The other direction, when the opener is deleted, is already covered by existing code. BUG=180969 R=creis@chromium.org TEST=content_unittests:WebContentsImplTest.PendingContents Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=186893

Patch Set 1 #

Total comments: 4

Patch Set 2 : updates #

Total comments: 1

Patch Set 3 : updates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -0 lines) Patch
M content/browser/web_contents/web_contents_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 4 chunks +19 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl_unittest.cc View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M content/test/test_web_contents.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/test/test_web_contents.cc View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
jochen (gone - plz use gerrit)
7 years, 9 months ago (2013-03-07 10:27:52 UTC) #1
Charlie Reis
Nice catch. Can you file a bug for this? It'll help with tracking it. https://codereview.chromium.org/12602003/diff/1/content/browser/web_contents/web_contents_impl.cc ...
7 years, 9 months ago (2013-03-07 18:20:00 UTC) #2
jochen (gone - plz use gerrit)
https://codereview.chromium.org/12602003/diff/1/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/12602003/diff/1/content/browser/web_contents/web_contents_impl.cc#newcode1240 content/browser/web_contents/web_contents_impl.cc:1240: NOTREACHED(); On 2013/03/07 18:20:00, creis wrote: > Why is ...
7 years, 9 months ago (2013-03-07 19:45:10 UTC) #3
Charlie Reis
This is still failing the DisownOpener test, which suggests it's possible to arrive at WebContentsDestroyed ...
7 years, 9 months ago (2013-03-07 22:01:02 UTC) #4
jochen (gone - plz use gerrit)
On 2013/03/07 22:01:02, creis wrote: > This is still failing the DisownOpener test, which suggests ...
7 years, 9 months ago (2013-03-07 22:06:32 UTC) #5
Charlie Reis
Thanks, LGTM.
7 years, 9 months ago (2013-03-07 22:08:46 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jochen@chromium.org/12602003/14001
7 years, 9 months ago (2013-03-07 22:36:07 UTC) #7
commit-bot: I haz the power
7 years, 9 months ago (2013-03-08 04:59:53 UTC) #8
Message was sent while issue was closed.
Change committed as 186893

Powered by Google App Engine
This is Rietveld 408576698