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

Issue 173239: Delay request loading until all user scripts that request depends on are ready. (Closed)

Created:
11 years, 4 months ago by Matt Perry
Modified:
9 years, 7 months ago
Reviewers:
Aaron Boodman
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Delay request loading until all user scripts that request depends on are ready. BUG=11547 TEST=See bug. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=24372

Patch Set 1 #

Total comments: 12

Patch Set 2 : added testing #

Total comments: 1

Patch Set 3 : io thread for test #

Patch Set 4 : linux and mac fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+582 lines, -3 lines) Patch
M chrome/browser/extensions/extensions_service.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
A chrome/browser/extensions/user_script_listener.h View 1 1 chunk +90 lines, -0 lines 0 comments Download
A chrome/browser/extensions/user_script_listener.cc View 1 2 1 chunk +166 lines, -0 lines 0 comments Download
A chrome/browser/extensions/user_script_listener_unittest.cc View 2 3 1 chunk +308 lines, -0 lines 0 comments Download
M chrome/browser/extensions/user_script_master.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/renderer_host/resource_dispatcher_host.h View 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/resource_dispatcher_host.cc View 1 4 chunks +10 lines, -0 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Matt Perry
I still need to write some tests.
11 years, 4 months ago (2009-08-22 00:11:54 UTC) #1
Aaron Boodman
Nice http://codereview.chromium.org/173239/diff/1/3 File chrome/browser/extensions/user_script_listener.cc (right): http://codereview.chromium.org/173239/diff/1/3#newcode1 Line 1: // Copyright (c) 2006-2008 The Chromium Authors. ...
11 years, 4 months ago (2009-08-24 18:01:58 UTC) #2
Matt Perry
I added a unit test. http://codereview.chromium.org/173239/diff/1/3 File chrome/browser/extensions/user_script_listener.cc (right): http://codereview.chromium.org/173239/diff/1/3#newcode1 Line 1: // Copyright (c) ...
11 years, 4 months ago (2009-08-25 00:39:06 UTC) #3
Aaron Boodman
11 years, 4 months ago (2009-08-25 00:49:43 UTC) #4
lgtm

http://codereview.chromium.org/173239/diff/15/1007
File chrome/browser/extensions/user_script_listener_unittest.cc (right):

http://codereview.chromium.org/173239/diff/15/1007#newcode50
Line 50: request.first_party_for_cookies = url;  // bypass third-party cookie
blocking
80 cols

Powered by Google App Engine
This is Rietveld 408576698