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

Issue 16452017: Identity API: handle window.open events from the scope approval webview (Closed)

Created:
7 years, 6 months ago by Michael Courage
Modified:
7 years, 6 months ago
Reviewers:
xiyuan, Fady Samuel
CC:
chromium-reviews, arv+watch_chromium.org, fgorski
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Identity API: handle window.open events from the scope approval webview This change causes the "Learn More" links in our auth flows to open in a normal browser tab (instead of being suppressed entirely). BUG=248165 TEST=manual click "Learn More" in gaia flow invoked by identity.getAuthToken Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=206284

Patch Set 1 #

Patch Set 2 : comments #

Patch Set 3 : rebase to ToT #

Total comments: 2

Patch Set 4 : window.discard to release memory earlier #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -0 lines) Patch
M chrome/browser/resources/identity_scope_approval_dialog/scope_approval_dialog.js View 1 2 3 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Michael Courage
7 years, 6 months ago (2013-06-12 20:43:00 UTC) #1
Fady Samuel
https://codereview.chromium.org/16452017/diff/4001/chrome/browser/resources/identity_scope_approval_dialog/scope_approval_dialog.js File chrome/browser/resources/identity_scope_approval_dialog/scope_approval_dialog.js (right): https://codereview.chromium.org/16452017/diff/4001/chrome/browser/resources/identity_scope_approval_dialog/scope_approval_dialog.js#newcode18 chrome/browser/resources/identity_scope_approval_dialog/scope_approval_dialog.js:18: e.preventDefault(); e.window.discard(); is more appropriate. e.preventDefault() will put the ...
7 years, 6 months ago (2013-06-12 20:45:45 UTC) #2
Michael Courage
https://codereview.chromium.org/16452017/diff/4001/chrome/browser/resources/identity_scope_approval_dialog/scope_approval_dialog.js File chrome/browser/resources/identity_scope_approval_dialog/scope_approval_dialog.js (right): https://codereview.chromium.org/16452017/diff/4001/chrome/browser/resources/identity_scope_approval_dialog/scope_approval_dialog.js#newcode18 chrome/browser/resources/identity_scope_approval_dialog/scope_approval_dialog.js:18: e.preventDefault(); On 2013/06/12 20:45:45, Fady Samuel wrote: > e.window.discard(); ...
7 years, 6 months ago (2013-06-12 20:54:29 UTC) #3
Michael Courage
ping xiyuan, can you have a look at this?
7 years, 6 months ago (2013-06-13 21:10:15 UTC) #4
xiyuan
LGTM Sorry for the delay.
7 years, 6 months ago (2013-06-13 21:16:06 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/courage@chromium.org/16452017/8001
7 years, 6 months ago (2013-06-13 21:44:34 UTC) #6
commit-bot: I haz the power
7 years, 6 months ago (2013-06-14 03:38:05 UTC) #7
Message was sent while issue was closed.
Change committed as 206284

Powered by Google App Engine
This is Rietveld 408576698