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

Issue 45463004: Assign unique partition ID to gaia webview (Closed)

Created:
7 years, 1 month ago by guohui
Modified:
7 years, 1 month ago
CC:
chromium-reviews, arv+watch_chromium.org
Visibility:
Public.

Description

Assign unique partition ID to gaia webview every gaia webview should always have its own clean and isolated cookie jar. This will fix the bug that when a user signs in to chrome and then tries to add a secondary account to the profile in the same browser session, the embedded gaia webview will show a reauth page instead of a sign in page. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233456

Patch Set 1 #

Total comments: 2

Patch Set 2 : default partitionId to empty string if not supplied #

Total comments: 5

Patch Set 3 : compile error on cros fixed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -5 lines) Patch
M chrome/browser/resources/gaia_auth/main.js View 1 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/resources/gaia_auth_host/gaia_auth_host.js View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/inline_login_ui.cc View 1 2 6 chunks +16 lines, -4 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
guohui
Hey, could you please have a look at the CL? Thanks, Hui
7 years, 1 month ago (2013-11-01 21:40:16 UTC) #1
xiyuan
Can you explain a bit why this is necessary? I think we unload gaia_auth when ...
7 years, 1 month ago (2013-11-01 21:57:11 UTC) #2
guohui
On 2013/11/01 21:57:11, xiyuan wrote: > Can you explain a bit why this is necessary? ...
7 years, 1 month ago (2013-11-01 22:15:14 UTC) #3
guohui
https://codereview.chromium.org/45463004/diff/1/chrome/browser/resources/gaia_auth/main.js File chrome/browser/resources/gaia_auth/main.js (right): https://codereview.chromium.org/45463004/diff/1/chrome/browser/resources/gaia_auth/main.js#newcode59 chrome/browser/resources/gaia_auth/main.js:59: this.partitionId_ = params.partitionId; On 2013/11/01 21:57:11, xiyuan wrote: > ...
7 years, 1 month ago (2013-11-01 22:16:05 UTC) #4
xiyuan
On 2013/11/01 22:15:14, guohui wrote: > On 2013/11/01 21:57:11, xiyuan wrote: > > Can you ...
7 years, 1 month ago (2013-11-01 22:30:44 UTC) #5
Fady Samuel
Istiaque has done some work on StoragePartitions. Thoughts? Thanks! :-)
7 years, 1 month ago (2013-11-04 00:23:02 UTC) #6
lazyboy
Any chance to change so that the default in-memory storage partition is cleaned up when ...
7 years, 1 month ago (2013-11-04 21:08:28 UTC) #7
guohui
Thanks for all your input! While i agree it is a nice feature request for ...
7 years, 1 month ago (2013-11-05 14:29:59 UTC) #8
guohui
https://codereview.chromium.org/45463004/diff/70001/chrome/browser/resources/gaia_auth/main.js File chrome/browser/resources/gaia_auth/main.js (right): https://codereview.chromium.org/45463004/diff/70001/chrome/browser/resources/gaia_auth/main.js#newcode132 chrome/browser/resources/gaia_auth/main.js:132: gaiaFrame.partition = this.partitionId_; On 2013/11/04 21:08:29, lazyboy wrote: > ...
7 years, 1 month ago (2013-11-05 14:35:35 UTC) #9
xiyuan
On 2013/11/05 14:29:59, guohui wrote: > Thanks for all your input! While i agree it ...
7 years, 1 month ago (2013-11-05 17:49:22 UTC) #10
guohui
On 2013/11/05 17:49:22, xiyuan wrote: > On 2013/11/05 14:29:59, guohui wrote: > > Thanks for ...
7 years, 1 month ago (2013-11-05 19:57:06 UTC) #11
Fady Samuel
On 2013/11/05 19:57:06, guohui wrote: > On 2013/11/05 17:49:22, xiyuan wrote: > > On 2013/11/05 ...
7 years, 1 month ago (2013-11-05 19:59:50 UTC) #12
xiyuan
Thanks for the explanation. It still feels wrong to keep never-going-to-be-used-again objects around indefinitely. But ...
7 years, 1 month ago (2013-11-05 20:39:54 UTC) #13
guohui
On 2013/11/05 20:39:54, xiyuan wrote: > Thanks for the explanation. It still feels wrong to ...
7 years, 1 month ago (2013-11-05 20:43:43 UTC) #14
Fady Samuel
lgtm https://codereview.chromium.org/45463004/diff/70001/chrome/browser/ui/webui/inline_login_ui.cc File chrome/browser/ui/webui/inline_login_ui.cc (right): https://codereview.chromium.org/45463004/diff/70001/chrome/browser/ui/webui/inline_login_ui.cc#newcode212 chrome/browser/ui/webui/inline_login_ui.cc:212: partition_id_)); On 2013/11/05 14:35:36, guohui wrote: > On ...
7 years, 1 month ago (2013-11-05 21:47:07 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/guohui@chromium.org/45463004/70001
7 years, 1 month ago (2013-11-05 22:15:43 UTC) #16
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 1 month ago (2013-11-05 23:29:27 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/guohui@chromium.org/45463004/70001
7 years, 1 month ago (2013-11-06 03:11:00 UTC) #18
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 1 month ago (2013-11-06 03:55:44 UTC) #19
xiyuan
On 2013/11/06 03:55:44, I haz the power (commit-bot) wrote: > Sorry for I got bad ...
7 years, 1 month ago (2013-11-06 04:38:17 UTC) #20
guohui
On 2013/11/06 04:38:17, xiyuan wrote: > On 2013/11/06 03:55:44, I haz the power (commit-bot) wrote: ...
7 years, 1 month ago (2013-11-06 19:26:01 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/guohui@chromium.org/45463004/540001
7 years, 1 month ago (2013-11-06 19:29:46 UTC) #22
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) ash_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=172523
7 years, 1 month ago (2013-11-06 21:10:51 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/guohui@chromium.org/45463004/540001
7 years, 1 month ago (2013-11-06 22:20:33 UTC) #24
commit-bot: I haz the power
7 years, 1 month ago (2013-11-07 01:17:16 UTC) #25
Message was sent while issue was closed.
Change committed as 233456

Powered by Google App Engine
This is Rietveld 408576698