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

Issue 2623063003: DevTools: Fix getCookies to report for all resources (Closed)

Created:
3 years, 11 months ago by phulce
Modified:
3 years, 11 months ago
Reviewers:
pfeldman
CC:
chromium-reviews, caseq+blink_chromium.org, jam, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, darin-cc_chromium.org, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: Fix getCookies to report for all resources * Changes getCookies protocol method to accept a set of urls * Changes getCookiesAsync to request specific urls from a specific target * Changes CookieItemsView to fetch cookies for all subresources of the frame BUG=673934 Review-Url: https://codereview.chromium.org/2623063003 Cr-Commit-Position: refs/heads/master@{#445464} Committed: https://chromium.googlesource.com/chromium/src/+/36ab298cb853d6bf6366065dee9821dfd42c69c3

Patch Set 1 #

Patch Set 2 : audit and line length fixes #

Total comments: 12

Patch Set 3 : feedback #

Total comments: 3

Patch Set 4 : more feedback #

Total comments: 19

Patch Set 5 : style feedback #

Patch Set 6 : rebase master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+221 lines, -208 lines) Patch
M content/browser/devtools/protocol/network_handler.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/devtools/protocol/network_handler.cc View 1 2 3 4 5 chunks +170 lines, -140 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/browser_protocol.json View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/browser_protocol-1.2.json View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/audits/AuditRules.js View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/resources/CookieItemsView.js View 1 2 3 4 5 6 chunks +19 lines, -40 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/resources/ResourcesPanel.js View 1 2 3 4 5 5 chunks +13 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/CookieParser.js View 1 chunk +9 lines, -18 lines 0 comments Download

Messages

Total messages: 20 (8 generated)
phulce
Currently blocked on 680054 but a fix is pending in 2627073003. Not sure what the ...
3 years, 11 months ago (2017-01-13 00:00:58 UTC) #3
pfeldman
https://codereview.chromium.org/2623063003/diff/20001/content/browser/devtools/protocol/network_handler.cc File content/browser/devtools/protocol/network_handler.cc (right): https://codereview.chromium.org/2623063003/diff/20001/content/browser/devtools/protocol/network_handler.cc#newcode221 content/browser/devtools/protocol/network_handler.cc:221: BrowserThread::PostTask( You should not post as many tasks as ...
3 years, 11 months ago (2017-01-13 02:17:34 UTC) #4
phulce
https://codereview.chromium.org/2623063003/diff/20001/content/browser/devtools/protocol/network_handler.cc File content/browser/devtools/protocol/network_handler.cc (right): https://codereview.chromium.org/2623063003/diff/20001/content/browser/devtools/protocol/network_handler.cc#newcode221 content/browser/devtools/protocol/network_handler.cc:221: BrowserThread::PostTask( On 2017/01/13 02:17:34, pfeldman wrote: > You should ...
3 years, 11 months ago (2017-01-18 00:52:34 UTC) #5
pfeldman
https://codereview.chromium.org/2623063003/diff/40001/content/browser/devtools/protocol/network_handler.cc File content/browser/devtools/protocol/network_handler.cc (right): https://codereview.chromium.org/2623063003/diff/40001/content/browser/devtools/protocol/network_handler.cc#newcode37 content/browser/devtools/protocol/network_handler.cc:37: class CookieReceiver { nit: inherit from base::NonThreadSafe and DCHECK(CalledOnValidThread()) ...
3 years, 11 months ago (2017-01-18 01:41:11 UTC) #6
phulce
On 2017/01/18 01:41:11, pfeldman wrote: > https://codereview.chromium.org/2623063003/diff/40001/content/browser/devtools/protocol/network_handler.cc > File content/browser/devtools/protocol/network_handler.cc (right): > > https://codereview.chromium.org/2623063003/diff/40001/content/browser/devtools/protocol/network_handler.cc#newcode37 > ...
3 years, 11 months ago (2017-01-19 17:13:24 UTC) #7
pfeldman
lgtm % comments. you don't need to fix the nits, those are mostly code style ...
3 years, 11 months ago (2017-01-19 18:58:35 UTC) #8
phulce
https://codereview.chromium.org/2623063003/diff/60001/content/browser/devtools/protocol/network_handler.cc File content/browser/devtools/protocol/network_handler.cc (right): https://codereview.chromium.org/2623063003/diff/60001/content/browser/devtools/protocol/network_handler.cc#newcode71 content/browser/devtools/protocol/network_handler.cc:71: if (callback_count_ == 0) { On 2017/01/19 18:58:35, pfeldman ...
3 years, 11 months ago (2017-01-19 21:18:58 UTC) #9
pfeldman
still lgtm
3 years, 11 months ago (2017-01-20 23:13:41 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2623063003/80001
3 years, 11 months ago (2017-01-21 00:50:46 UTC) #12
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/Source/devtools/front_end/resources/CookieItemsView.js: While running git apply --index -p1; error: patch failed: ...
3 years, 11 months ago (2017-01-21 02:22:28 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2623063003/100001
3 years, 11 months ago (2017-01-23 18:27:24 UTC) #17
commit-bot: I haz the power
3 years, 11 months ago (2017-01-23 20:24:20 UTC) #20
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/36ab298cb853d6bf6366065dee98...

Powered by Google App Engine
This is Rietveld 408576698