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

Issue 1137403002: Add upstream bits necessary for iOS card unmask prompt. (Closed)

Created:
5 years, 7 months ago by Justin Donnelly
Modified:
5 years, 7 months ago
CC:
chromium-reviews, estade+watch_chromium.org, browser-components-watch_chromium.org, rouslan+autofillwatch_chromium.org, sdefresne, bondd
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add upstream bits necessary for iOS card unmask prompt. See https://chromereviews.googleplex.com/193957013/ for the associated downstream changes. BUG=484806 Committed: https://crrev.com/09d373f7f6839d3b3f471c76ae5a91d234ce3b9b Cr-Commit-Position: refs/heads/master@{#330529}

Patch Set 1 #

Patch Set 2 : Fix autofill tests on iOS #

Total comments: 4

Patch Set 3 : Better fix for DontOfferToSaveWalletCard #

Patch Set 4 : Respond to comment about test setup #

Patch Set 5 : Update comment on fillActiveFormField #

Patch Set 6 : Add clearActiveElement to autofill_controller.js #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -8 lines) Patch
M components/autofill/core/browser/autofill_manager.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M components/autofill/core/browser/autofill_manager_unittest.cc View 1 2 3 chunks +31 lines, -2 lines 0 comments Download
M components/autofill/core/browser/autofill_metrics_unittest.cc View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M components/autofill/ios/browser/js_autofill_manager.h View 1 2 3 4 5 1 chunk +10 lines, -1 line 0 comments Download
M components/autofill/ios/browser/js_autofill_manager.mm View 1 2 3 4 5 1 chunk +10 lines, -0 lines 0 comments Download
M components/autofill/ios/browser/resources/autofill_controller.js View 1 2 3 4 5 3 chunks +30 lines, -2 lines 4 comments Download

Messages

Total messages: 19 (5 generated)
Justin Donnelly
5 years, 7 months ago (2015-05-14 21:47:15 UTC) #2
Evan Stade
autofill/core/browser lgtm https://codereview.chromium.org/1137403002/diff/20001/components/autofill/core/browser/autofill_metrics_unittest.cc File components/autofill/core/browser/autofill_metrics_unittest.cc (right): https://codereview.chromium.org/1137403002/diff/20001/components/autofill/core/browser/autofill_metrics_unittest.cc#newcode1305 components/autofill/core/browser/autofill_metrics_unittest.cc:1305: FormFieldData selected_field; why not just makes this ...
5 years, 7 months ago (2015-05-14 22:41:38 UTC) #3
Justin Donnelly
https://codereview.chromium.org/1137403002/diff/20001/components/autofill/core/browser/autofill_metrics_unittest.cc File components/autofill/core/browser/autofill_metrics_unittest.cc (right): https://codereview.chromium.org/1137403002/diff/20001/components/autofill/core/browser/autofill_metrics_unittest.cc#newcode1305 components/autofill/core/browser/autofill_metrics_unittest.cc:1305: FormFieldData selected_field; On 2015/05/14 22:41:38, Evan Stade wrote: > ...
5 years, 7 months ago (2015-05-14 22:43:45 UTC) #4
Evan Stade
https://codereview.chromium.org/1137403002/diff/20001/components/autofill/core/browser/autofill_metrics_unittest.cc File components/autofill/core/browser/autofill_metrics_unittest.cc (right): https://codereview.chromium.org/1137403002/diff/20001/components/autofill/core/browser/autofill_metrics_unittest.cc#newcode1305 components/autofill/core/browser/autofill_metrics_unittest.cc:1305: FormFieldData selected_field; On 2015/05/14 22:43:45, Justin Donnelly wrote: > ...
5 years, 7 months ago (2015-05-14 22:45:34 UTC) #5
Justin Donnelly
dconnelly - please take a look at components/autofill/ios/.
5 years, 7 months ago (2015-05-14 22:45:43 UTC) #6
Justin Donnelly
https://codereview.chromium.org/1137403002/diff/20001/components/autofill/core/browser/autofill_metrics_unittest.cc File components/autofill/core/browser/autofill_metrics_unittest.cc (right): https://codereview.chromium.org/1137403002/diff/20001/components/autofill/core/browser/autofill_metrics_unittest.cc#newcode1305 components/autofill/core/browser/autofill_metrics_unittest.cc:1305: FormFieldData selected_field; On 2015/05/14 22:45:34, Evan Stade wrote: > ...
5 years, 7 months ago (2015-05-15 19:26:58 UTC) #7
dconnelly
lgtm
5 years, 7 months ago (2015-05-19 14:49:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1137403002/110001
5 years, 7 months ago (2015-05-19 14:51:05 UTC) #12
commit-bot: I haz the power
Committed patchset #6 (id:110001)
5 years, 7 months ago (2015-05-19 17:04:18 UTC) #13
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/09d373f7f6839d3b3f471c76ae5a91d234ce3b9b Cr-Commit-Position: refs/heads/master@{#330529}
5 years, 7 months ago (2015-05-19 17:05:43 UTC) #14
Dan Beam
https://codereview.chromium.org/1137403002/diff/110001/components/autofill/ios/browser/resources/autofill_controller.js File components/autofill/ios/browser/resources/autofill_controller.js (right): https://codereview.chromium.org/1137403002/diff/110001/components/autofill/ios/browser/resources/autofill_controller.js#newcode138 components/autofill/ios/browser/resources/autofill_controller.js:138: __gCrWeb.autofill['storeActiveElement'] = function() { why are you missing ['braces'] ...
5 years, 7 months ago (2015-05-20 23:31:52 UTC) #16
Dan Beam
https://codereview.chromium.org/1137403002/diff/110001/components/autofill/ios/browser/resources/autofill_controller.js File components/autofill/ios/browser/resources/autofill_controller.js (right): https://codereview.chromium.org/1137403002/diff/110001/components/autofill/ios/browser/resources/autofill_controller.js#newcode138 components/autofill/ios/browser/resources/autofill_controller.js:138: __gCrWeb.autofill['storeActiveElement'] = function() { On 2015/05/20 23:31:52, Dan Beam ...
5 years, 7 months ago (2015-05-20 23:32:06 UTC) #17
Justin Donnelly
https://codereview.chromium.org/1137403002/diff/110001/components/autofill/ios/browser/resources/autofill_controller.js File components/autofill/ios/browser/resources/autofill_controller.js (right): https://codereview.chromium.org/1137403002/diff/110001/components/autofill/ios/browser/resources/autofill_controller.js#newcode138 components/autofill/ios/browser/resources/autofill_controller.js:138: __gCrWeb.autofill['storeActiveElement'] = function() { On 2015/05/20 23:31:52, Dan Beam ...
5 years, 7 months ago (2015-05-21 00:36:01 UTC) #18
dconnelly
5 years, 7 months ago (2015-05-21 07:27:54 UTC) #19
Message was sent while issue was closed.
https://codereview.chromium.org/1137403002/diff/110001/components/autofill/io...
File components/autofill/ios/browser/resources/autofill_controller.js (right):

https://codereview.chromium.org/1137403002/diff/110001/components/autofill/io...
components/autofill/ios/browser/resources/autofill_controller.js:138:
__gCrWeb.autofill['storeActiveElement'] = function() {
On 2015/05/21 00:36:01, Justin Donnelly wrote:
> On 2015/05/20 23:31:52, Dan Beam wrote:
> > why are you missing ['braces'] and .dot notation?  they do the same thing...
> but
> > .dotNotation is mildly better when .propName is a legal identifier.
> > 
> > are you worried about property renaming or something?
> 
> I don't know, I'm pretty new to working with this code.
> 
> dconnelly, do you know the motivation for brace notation in the injected
> javascript?

Yeah, it's some Closure compiler thing. The functions called from outside need
to be in the brace notation or they'll get squashed. You can look at some of the
other ios_internal JS code to see more.

Powered by Google App Engine
This is Rietveld 408576698