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

Issue 1337113004: CHECK that URLRequestJobs are not orphaned while blocked by extensions. (Closed)

Created:
5 years, 3 months ago by davidben
Modified:
5 years, 1 month ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, cbentzel+watch_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

CHECK that URLRequestJobs are not orphaned while blocked by extensions. This is to help debug https://crbug.com/289715 and try to get a stack trace earlier. BUG=289715 Committed: https://crrev.com/a3ef438321e5f7f5167909b2b4b16dbd6593abb8 Cr-Commit-Position: refs/heads/master@{#348745}

Patch Set 1 #

Total comments: 2

Patch Set 2 : mmenke comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -0 lines) Patch
M chrome/browser/net/chrome_extensions_network_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/net/chrome_extensions_network_delegate.cc View 3 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/net/chrome_network_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/net/chrome_network_delegate.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M extensions/browser/api/web_request/web_request_api.h View 1 chunk +4 lines, -0 lines 0 comments Download
M extensions/browser/api/web_request/web_request_api.cc View 1 2 chunks +15 lines, -0 lines 0 comments Download
M net/base/layered_network_delegate.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/base/layered_network_delegate.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M net/base/network_delegate.h View 2 chunks +8 lines, -0 lines 0 comments Download
M net/base/network_delegate.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M net/base/network_delegate_impl.h View 1 chunk +7 lines, -0 lines 0 comments Download
M net/base/network_delegate_impl.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M net/url_request/url_request.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (3 generated)
davidben
SO MUCH GLUE. I think this is what you suggested. It may also be worth ...
5 years, 3 months ago (2015-09-11 21:33:57 UTC) #2
mmenke
https://codereview.chromium.org/1337113004/diff/1/extensions/browser/api/web_request/web_request_api.cc File extensions/browser/api/web_request/web_request_api.cc (right): https://codereview.chromium.org/1337113004/diff/1/extensions/browser/api/web_request/web_request_api.cc#newcode1237 extensions/browser/api/web_request/web_request_api.cc:1237: CHECK_EQ(0u, blocked_requests_.count(request->identifier())); Maybe toss the URL on the stack? ...
5 years, 3 months ago (2015-09-14 15:18:27 UTC) #3
davidben
https://codereview.chromium.org/1337113004/diff/1/extensions/browser/api/web_request/web_request_api.cc File extensions/browser/api/web_request/web_request_api.cc (right): https://codereview.chromium.org/1337113004/diff/1/extensions/browser/api/web_request/web_request_api.cc#newcode1237 extensions/browser/api/web_request/web_request_api.cc:1237: CHECK_EQ(0u, blocked_requests_.count(request->identifier())); On 2015/09/14 15:18:27, mmenke wrote: > Maybe ...
5 years, 3 months ago (2015-09-14 19:55:55 UTC) #4
mmenke
On 2015/09/14 19:55:55, David Benjamin wrote: > https://codereview.chromium.org/1337113004/diff/1/extensions/browser/api/web_request/web_request_api.cc > File extensions/browser/api/web_request/web_request_api.cc (right): > > https://codereview.chromium.org/1337113004/diff/1/extensions/browser/api/web_request/web_request_api.cc#newcode1237 ...
5 years, 3 months ago (2015-09-14 20:04:40 UTC) #5
mmenke
On 2015/09/14 20:04:40, mmenke wrote: > On 2015/09/14 19:55:55, David Benjamin wrote: > > > ...
5 years, 3 months ago (2015-09-14 20:05:59 UTC) #6
davidben
+kalman for extensions/
5 years, 3 months ago (2015-09-14 20:18:49 UTC) #8
not at google - send to devlin
lgtm
5 years, 3 months ago (2015-09-14 22:23:46 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1337113004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1337113004/20001
5 years, 3 months ago (2015-09-14 22:24:32 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 3 months ago (2015-09-14 22:36:18 UTC) #12
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/a3ef438321e5f7f5167909b2b4b16dbd6593abb8 Cr-Commit-Position: refs/heads/master@{#348745}
5 years, 3 months ago (2015-09-14 22:37:52 UTC) #13
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/a3ef438321e5f7f5167909b2b4b16dbd6593abb8 Cr-Commit-Position: refs/heads/master@{#348745}
5 years, 3 months ago (2015-09-23 12:38:15 UTC) #14
davidben
Just was reminded this existed. Did we gather the data we needed here?
5 years, 1 month ago (2015-11-19 05:37:51 UTC) #15
mmenke
On 2015/11/19 05:37:51, davidben (slow) wrote: > Just was reminded this existed. Did we gather ...
5 years, 1 month ago (2015-11-19 05:39:22 UTC) #16
davidben
On 2015/11/19 05:39:22, mmenke wrote: > On 2015/11/19 05:37:51, davidben (slow) wrote: > > Just ...
5 years, 1 month ago (2015-11-19 17:03:59 UTC) #17
davidben
5 years, 1 month ago (2015-11-19 17:04:24 UTC) #18
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/1465503002/ by davidben@chromium.org.

The reason for reverting is: https://crbug.com/289715 is resolved..

Powered by Google App Engine
This is Rietveld 408576698