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

Issue 2221093003: [Devtools] Backend support for setCookie (Closed)

Created:
4 years, 4 months ago by allada
Modified:
4 years, 4 months ago
Reviewers:
dgozman
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, pfeldman, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Devtools] Backend support for setCookie Added the ability to set/update cookie through protocol. This was modeled after extensions set cookie method found here: https://developer.chrome.com/extensions/cookies#method-set BUG=166637 R=dgozman Committed: https://crrev.com/3bb7f20f6f0fab7dbd0fe0f3fcfe10024348c57d Cr-Commit-Position: refs/heads/master@{#412625}

Patch Set 1 : backend changes #

Total comments: 14

Patch Set 2 : backend changes #

Patch Set 3 : removed tests #

Patch Set 4 : removed files #

Patch Set 5 : done #

Total comments: 13

Patch Set 6 : Merge branch 'master' into EDIT_COOKIE_BACKEND #

Patch Set 7 : Changes #

Total comments: 4

Patch Set 8 : Changes #

Patch Set 9 : Forgot to rename variables #

Unified diffs Side-by-side diffs Delta from patch set Stats (+529 lines, -5 lines) Patch
M content/browser/devtools/protocol/network_handler.h View 1 2 3 4 5 6 3 chunks +12 lines, -1 line 0 comments Download
M content/browser/devtools/protocol/network_handler.cc View 1 2 3 4 5 6 7 8 4 chunks +114 lines, -2 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/inspector-protocol/cookies-protocol-test.html View 1 2 3 4 5 6 7 1 chunk +166 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/inspector-protocol/cookies-protocol-test-expected.txt View 1 2 3 4 5 6 7 1 chunk +208 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/browser_protocol.json View 1 2 3 4 5 6 7 3 chunks +29 lines, -2 lines 0 comments Download

Messages

Total messages: 30 (11 generated)
allada
PTL, I ran my test a few thousand times and non seemed to be flaky. ...
4 years, 4 months ago (2016-08-09 00:16:19 UTC) #1
dgozman
https://codereview.chromium.org/2221093003/diff/40001/content/browser/devtools/protocol/network_handler.cc File content/browser/devtools/protocol/network_handler.cc (right): https://codereview.chromium.org/2221093003/diff/40001/content/browser/devtools/protocol/network_handler.cc#newcode130 content/browser/devtools/protocol/network_handler.cc:130: void CookieSetOnIO(const base::Closure& callback, bool success) { Let's send ...
4 years, 4 months ago (2016-08-09 01:07:25 UTC) #4
allada
I am also going to need another patch/review to merge to M53 (per request by ...
4 years, 4 months ago (2016-08-09 01:13:10 UTC) #5
allada
On 2016/08/09 01:13:10, Blaise wrote: > I am also going to need another patch/review to ...
4 years, 4 months ago (2016-08-09 01:14:07 UTC) #6
allada
PTL, however I removed the tests because of the timing issues, I'll make a follow ...
4 years, 4 months ago (2016-08-10 02:46:54 UTC) #7
dgozman
On 2016/08/10 02:46:54, Blaise wrote: > PTL, however I removed the tests because of the ...
4 years, 4 months ago (2016-08-10 21:42:30 UTC) #8
allada
PTL
4 years, 4 months ago (2016-08-10 22:26:11 UTC) #9
allada
PTL
4 years, 4 months ago (2016-08-11 20:46:48 UTC) #11
dgozman
looks pretty good https://codereview.chromium.org/2221093003/diff/140001/content/browser/devtools/protocol/network_handler.cc File content/browser/devtools/protocol/network_handler.cc (right): https://codereview.chromium.org/2221093003/diff/140001/content/browser/devtools/protocol/network_handler.cc#newcode187 content/browser/devtools/protocol/network_handler.cc:187: BrowserThread::PostTask( Just inline this into SetCookie ...
4 years, 4 months ago (2016-08-12 05:22:46 UTC) #12
allada
PTL https://codereview.chromium.org/2221093003/diff/140001/content/browser/devtools/protocol/network_handler.cc File content/browser/devtools/protocol/network_handler.cc (right): https://codereview.chromium.org/2221093003/diff/140001/content/browser/devtools/protocol/network_handler.cc#newcode187 content/browser/devtools/protocol/network_handler.cc:187: BrowserThread::PostTask( On 2016/08/12 05:22:46, dgozman wrote: > Just ...
4 years, 4 months ago (2016-08-16 01:10:40 UTC) #13
dgozman
lgtm https://codereview.chromium.org/2221093003/diff/140001/content/browser/devtools/protocol/network_handler.cc File content/browser/devtools/protocol/network_handler.cc (right): https://codereview.chromium.org/2221093003/diff/140001/content/browser/devtools/protocol/network_handler.cc#newcode187 content/browser/devtools/protocol/network_handler.cc:187: BrowserThread::PostTask( On 2016/08/16 01:10:39, Blaise wrote: > On ...
4 years, 4 months ago (2016-08-16 18:57:00 UTC) #14
allada
https://codereview.chromium.org/2221093003/diff/180001/third_party/WebKit/LayoutTests/http/tests/inspector-protocol/cookies-protocol-test.html File third_party/WebKit/LayoutTests/http/tests/inspector-protocol/cookies-protocol-test.html (right): https://codereview.chromium.org/2221093003/diff/180001/third_party/WebKit/LayoutTests/http/tests/inspector-protocol/cookies-protocol-test.html#newcode67 third_party/WebKit/LayoutTests/http/tests/inspector-protocol/cookies-protocol-test.html:67: setCookie({url: "http://127.0.0.1", name: "foo\0\r\na", value: "bar9"}, done); On 2016/08/16 ...
4 years, 4 months ago (2016-08-16 21:30:57 UTC) #15
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/2221093003/200001
4 years, 4 months ago (2016-08-16 21:32:26 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_android on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_android/builds/113120)
4 years, 4 months ago (2016-08-16 21:43:28 UTC) #20
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/2221093003/220001
4 years, 4 months ago (2016-08-17 00:56:32 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/274851)
4 years, 4 months ago (2016-08-17 03:02:47 UTC) #25
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/2221093003/220001
4 years, 4 months ago (2016-08-17 16:36:24 UTC) #27
commit-bot: I haz the power
Committed patchset #9 (id:220001)
4 years, 4 months ago (2016-08-17 20:09:56 UTC) #28
commit-bot: I haz the power
4 years, 4 months ago (2016-08-17 20:18:15 UTC) #30
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/3bb7f20f6f0fab7dbd0fe0f3fcfe10024348c57d
Cr-Commit-Position: refs/heads/master@{#412625}

Powered by Google App Engine
This is Rietveld 408576698