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

Issue 6099013: Fix race condition where chrome.tabs.executeScript sometimes wouldn't (Closed)

Created:
9 years, 11 months ago by Matt Perry
Modified:
9 years, 7 months ago
Reviewers:
Aaron Boodman
CC:
chromium-reviews, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Fix race condition where chrome.tabs.executeScript sometimes wouldn't inject scripts. This is done by reusing the same UserScriptIdleScheduler for reference fragment navigations. BUG=64093 TEST=See bug for repro. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71693

Patch Set 1 #

Patch Set 2 : comment #

Patch Set 3 : compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -14 lines) Patch
M chrome/renderer/navigation_state.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/navigation_state.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/renderer/render_view.cc View 1 2 3 chunks +10 lines, -12 lines 0 comments Download
M chrome/renderer/user_script_idle_scheduler.h View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Matt Perry
9 years, 11 months ago (2011-01-11 01:34:49 UTC) #1
Aaron Boodman
9 years, 11 months ago (2011-01-14 02:08:48 UTC) #2
lgtm

Powered by Google App Engine
This is Rietveld 408576698