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

Issue 16057004: <webview>: Fix navigation/attachment race (Closed)

Created:
7 years, 6 months ago by Fady Samuel
Modified:
7 years, 6 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

<webview>: Fix navigation/attachment race We should not allow attachment after an initial navigation. Currently, we don't allow attachment after an instance ID is allocated. These two checks are not equivalent. We chould have requested an instance ID from the browser process and then immediately attach a new winow to the <webview> on the next line prior to getting an instance ID. This will cause attach to get called again. BUG=244641 Test=manually, this is a race that is extremely hard to test reliably. I will avoid adding an automated test to avoid introducing more flake. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202886

Patch Set 1 #

Total comments: 1

Patch Set 2 : Added comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -23 lines) Patch
M content/renderer/browser_plugin/browser_plugin.h View 1 chunk +4 lines, -1 line 0 comments Download
M content/renderer/browser_plugin/browser_plugin.cc View 1 18 chunks +38 lines, -22 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Fady Samuel
7 years, 6 months ago (2013-05-28 23:46:26 UTC) #1
lazyboy
https://chromiumcodereview.appspot.com/16057004/diff/1/content/renderer/browser_plugin/browser_plugin.cc File content/renderer/browser_plugin/browser_plugin.cc (right): https://chromiumcodereview.appspot.com/16057004/diff/1/content/renderer/browser_plugin/browser_plugin.cc#newcode844 content/renderer/browser_plugin/browser_plugin.cc:844: // attaching a different guest. Can you add a ...
7 years, 6 months ago (2013-05-29 00:38:25 UTC) #2
Fady Samuel
PTAL
7 years, 6 months ago (2013-05-29 01:28:43 UTC) #3
lazyboy
lgtm
7 years, 6 months ago (2013-05-29 05:22:12 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/16057004/5001
7 years, 6 months ago (2013-05-29 09:47:14 UTC) #5
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 6 months ago (2013-05-29 10:17:30 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/16057004/5001
7 years, 6 months ago (2013-05-29 12:02:29 UTC) #7
commit-bot: I haz the power
7 years, 6 months ago (2013-05-29 16:48:17 UTC) #8
Message was sent while issue was closed.
Change committed as 202886

Powered by Google App Engine
This is Rietveld 408576698