|
|
Created:
4 years ago by Hwanseung Lee Modified:
4 years ago CC:
chromium-reviews, qsr+mojo_chromium.org, gogerald+paymentswatch_chromium.org, viettrungluu+watch_chromium.org, jam, yzshen+watch_chromium.org, abarth-chromium, haraken, Aaron Boodman, rouslan+payments_chromium.org, darin-cc_chromium.org, blink-reviews, darin (slow to review), sebsg+paymentswatch_chromium.org, Hwanseung Lee(hs1217.lee) Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
Description[PaymentApp] label field was changed to name field in PaymentAppOption.
label field was changed to name field in PaymentAppOption.idl and PaymentAppManifest.idl
and also required keyword was added.
spec list:
https://w3c.github.io/webpayments-payment-apps-api/#payment-app-options
https://w3c.github.io/webpayments-payment-apps-api/#payment-app-manifest
https://github.com/w3c/webpayments-payment-apps-api/pull/70
BUG=661608
Committed: https://crrev.com/e86e8cd3274d2a531f8b77fe89e25aae4e7bf10b
Cr-Commit-Position: refs/heads/master@{#439192}
Patch Set 1 #Patch Set 2 : [WIP] [PaymentApp] label -> name in PaymentAppOption. #Patch Set 3 : [WIP] [PaymentApp] label -> name in PaymentAppOption. #Patch Set 4 : [WIP] [PaymentApp] label -> name in PaymentAppOption. #
Total comments: 2
Patch Set 5 : update PaymentAppManifest.idl #Patch Set 6 : rebase #Patch Set 7 : update test #
Total comments: 2
Patch Set 8 : rebase and update payment_app.proto #Patch Set 9 : rebase #Patch Set 10 : rebase #Patch Set 11 : rebase #Messages
Total messages: 100 (81 generated)
The CQ bit was checked by hs1217.lee@samsung.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: 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_a...)
The CQ bit was checked by hs1217.lee@samsung.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linu...)
The CQ bit was checked by hs1217.lee@samsung.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: 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_...)
The CQ bit was checked by hs1217.lee@samsung.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was checked by hs1217.lee@samsung.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Description was changed from ========== [WIP] [PaymentApp] label -> name in PaymentAppOption. BUG= Signed-off-by: Hwanseung Lee <hs1217.lee@samsung.com> ========== to ========== [WIP] [PaymentApp] label -> name in PaymentAppOption. spec list: https://w3c.github.io/webpayments-payment-apps-api/#payment-app-options https://github.com/w3c/webpayments-payment-apps-api/pull/70 BUG=661608 ==========
The CQ bit was checked by hs1217.lee@samsung.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== [WIP] [PaymentApp] label -> name in PaymentAppOption. spec list: https://w3c.github.io/webpayments-payment-apps-api/#payment-app-options https://github.com/w3c/webpayments-payment-apps-api/pull/70 BUG=661608 ========== to ========== [PaymentApp] label field was changed to name field in PaymentAppOption. label field was changed to name field in PaymentAppOption. and also required keyword was added. spec list: https://w3c.github.io/webpayments-payment-apps-api/#payment-app-options https://github.com/w3c/webpayments-payment-apps-api/pull/70 BUG=661608 ==========
hs1217.lee@samsung.com changed reviewers: + jinho.bang@samsung.com, rouslan@chromium.org
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_androi...)
The CQ bit was checked by hs1217.lee@samsung.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_androi...)
The CQ bit was checked by hs1217.lee@samsung.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
@rouslan, zino PTAL, thank you.
You should change PaymentAppManifest.idl as well :) Maybe you can not use ImageObject for now. So the icons field should be kept intact for the time being. But you can change other things. (e.g. id and PaymentAppManifest.idl) https://codereview.chromium.org/2562873002/diff/60001/third_party/WebKit/Sour... File third_party/WebKit/Source/modules/payments/PaymentAppOption.idl (left): https://codereview.chromium.org/2562873002/diff/60001/third_party/WebKit/Sour... third_party/WebKit/Source/modules/payments/PaymentAppOption.idl:10: DOMString id; This is also required.
The CQ bit was checked by hs1217.lee@samsung.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== [PaymentApp] label field was changed to name field in PaymentAppOption. label field was changed to name field in PaymentAppOption. and also required keyword was added. spec list: https://w3c.github.io/webpayments-payment-apps-api/#payment-app-options https://github.com/w3c/webpayments-payment-apps-api/pull/70 BUG=661608 ========== to ========== [PaymentApp] label field was changed to name field in PaymentAppOption. label field was changed to name field in PaymentAppOption.idl and PaymentAppManifest.idl and also required keyword was added. spec list: https://w3c.github.io/webpayments-payment-apps-api/#payment-app-options https://w3c.github.io/webpayments-payment-apps-api/#payment-app-manifest https://github.com/w3c/webpayments-payment-apps-api/pull/70 BUG=661608 ==========
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds...) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-xcode-...) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/bui...) ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator-xco...)
@zino i also changed label to name in paymentAppManifast.idl i want to add "required" keyword at "sequence<PaymentAppOption> options" in this CL. but i faced to crash when layout tests. if you were fine, i will fix it next CL. https://codereview.chromium.org/2562873002/diff/60001/third_party/WebKit/Sour... File third_party/WebKit/Source/modules/payments/PaymentAppOption.idl (left): https://codereview.chromium.org/2562873002/diff/60001/third_party/WebKit/Sour... third_party/WebKit/Source/modules/payments/PaymentAppOption.idl:10: DOMString id; On 2016/12/11 18:55:00, zino wrote: > This is also required. Done.
The CQ bit was checked by hs1217.lee@samsung.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_androi...)
On 2016/12/12 13:10:01, Hwanseung Lee wrote: > @zino > i also changed label to name in paymentAppManifast.idl > i want to add "required" keyword at "sequence<PaymentAppOption> options" in this > CL. > but i faced to crash when layout tests. > if you were fine, i will fix it next CL. If you want to fix it, you should update parameter of setManifest() in the layout test as follows. ... setManifest({ name: 'Payment App', icon: 'payment-app-icon', options: [{ name: 'Visa ****', icon: 'payment-app-icon', id: 'payment-app-id', enabledMethods: ['visa'] }] });
The CQ bit was checked by hs1217.lee@samsung.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds...) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-xcode-...) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/bui...) ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator-xco...)
https://codereview.chromium.org/2562873002/diff/120001/content/browser/paymen... File content/browser/payments/payment_app.proto (right): https://codereview.chromium.org/2562873002/diff/120001/content/browser/paymen... content/browser/payments/payment_app.proto:12: required string name = 1; Let's make all these fields optional. These message describe how data is stored on disk. These formats should be backward compatible. One rule of thumb to ensure backward compatibility is to make all fields optional. It's OK to rename the field today, when no one has used these messages out in the real world. However, if we want to rename a field after this code has been shipped, we will need to do this instead: message PaymentAppManifestProto { optional string label = 1; // deprecated in favor of |name|. optional string icon = 2; repeated PaymentAppOptionProto options = 3; optional name = 4; // replaces |label|. };
The CQ bit was checked by hs1217.lee@samsung.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
@zino thank you for guide about parameter of setManifest(). when enabledMethods is not exist, i faced crash. but enabledMethods is not required field in spec. is it fine? anyway, when set all field, it passed tests. @rouslan i just rename the field instead of to add new field. next time, i will be careful. and i added optional keyword at all fields. https://codereview.chromium.org/2562873002/diff/120001/content/browser/paymen... File content/browser/payments/payment_app.proto (right): https://codereview.chromium.org/2562873002/diff/120001/content/browser/paymen... content/browser/payments/payment_app.proto:12: required string name = 1; On 2016/12/12 20:57:27, rouslan wrote: > Let's make all these fields optional. > > These message describe how data is stored on disk. These formats should be > backward compatible. One rule of thumb to ensure backward compatibility is to > make all fields optional. It's OK to rename the field today, when no one has > used these messages out in the real world. However, if we want to rename a field > after this code has been shipped, we will need to do this instead: > > message PaymentAppManifestProto { > optional string label = 1; // deprecated in favor of |name|. > optional string icon = 2; > repeated PaymentAppOptionProto options = 3; > optional name = 4; // replaces |label|. > }; Done.
On 2016/12/14 06:11:16, Hwanseung Lee wrote: > @zino > thank you for guide about parameter of setManifest(). > when enabledMethods is not exist, i faced crash. > but enabledMethods is not required field in spec. > is it fine? > anyway, when set all field, it passed tests. > lgtm I don't mind if you fix it in follow-up CL. You will be able to fix it adding hasEnabledMethods() check in PaymentAppManager.cpp:31 https://cs.chromium.org/chromium/src/third_party/WebKit/Source/modules/paymen...
lgtm
The CQ bit was checked by hs1217.lee@samsung.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
The CQ bit was checked by hs1217.lee@samsung.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
hs1217.lee@samsung.com changed reviewers: + rsesek@chromium.org
@rsesek PTAL, could you review components/payments/payment_app.mojom file?
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm6...)
mojom lgtm
The CQ bit was checked by hs1217.lee@samsung.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_...)
The CQ bit was checked by hs1217.lee@samsung.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_daisy_...) linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...) linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...) linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...) linux_chromium_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...) linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by hs1217.lee@samsung.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...) linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by hs1217.lee@samsung.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...) mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_comp...)
The CQ bit was checked by hs1217.lee@samsung.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
hs1217.lee@samsung.com changed reviewers: + dfalcantara@chromium.org
@dfalcantara PTAL, could you review chrome/browser/android/payments/service_worker_payment_app_bridge.cc files?
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
That file LGTM
The CQ bit was checked by hs1217.lee@samsung.com
The patchset sent to the CQ was uploaded after l-g-t-m from rsesek@chromium.org, rouslan@chromium.org, jinho.bang@samsung.com Link to the patchset: https://codereview.chromium.org/2562873002/#ps200001 (title: "rebase")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 200001, "attempt_start_ts": 1481923168051890, "parent_rev": "324b8f1efc84cd954f8e18a206aa612a6eb206d1", "commit_rev": "0f0da2909ed681949f575f6dfd4b8f710509e606"}
Message was sent while issue was closed.
Description was changed from ========== [PaymentApp] label field was changed to name field in PaymentAppOption. label field was changed to name field in PaymentAppOption.idl and PaymentAppManifest.idl and also required keyword was added. spec list: https://w3c.github.io/webpayments-payment-apps-api/#payment-app-options https://w3c.github.io/webpayments-payment-apps-api/#payment-app-manifest https://github.com/w3c/webpayments-payment-apps-api/pull/70 BUG=661608 ========== to ========== [PaymentApp] label field was changed to name field in PaymentAppOption. label field was changed to name field in PaymentAppOption.idl and PaymentAppManifest.idl and also required keyword was added. spec list: https://w3c.github.io/webpayments-payment-apps-api/#payment-app-options https://w3c.github.io/webpayments-payment-apps-api/#payment-app-manifest https://github.com/w3c/webpayments-payment-apps-api/pull/70 BUG=661608 Review-Url: https://codereview.chromium.org/2562873002 ==========
Message was sent while issue was closed.
Committed patchset #11 (id:200001)
Message was sent while issue was closed.
Description was changed from ========== [PaymentApp] label field was changed to name field in PaymentAppOption. label field was changed to name field in PaymentAppOption.idl and PaymentAppManifest.idl and also required keyword was added. spec list: https://w3c.github.io/webpayments-payment-apps-api/#payment-app-options https://w3c.github.io/webpayments-payment-apps-api/#payment-app-manifest https://github.com/w3c/webpayments-payment-apps-api/pull/70 BUG=661608 Review-Url: https://codereview.chromium.org/2562873002 ========== to ========== [PaymentApp] label field was changed to name field in PaymentAppOption. label field was changed to name field in PaymentAppOption.idl and PaymentAppManifest.idl and also required keyword was added. spec list: https://w3c.github.io/webpayments-payment-apps-api/#payment-app-options https://w3c.github.io/webpayments-payment-apps-api/#payment-app-manifest https://github.com/w3c/webpayments-payment-apps-api/pull/70 BUG=661608 Committed: https://crrev.com/e86e8cd3274d2a531f8b77fe89e25aae4e7bf10b Cr-Commit-Position: refs/heads/master@{#439192} ==========
Message was sent while issue was closed.
Patchset 11 (id:??) landed as https://crrev.com/e86e8cd3274d2a531f8b77fe89e25aae4e7bf10b Cr-Commit-Position: refs/heads/master@{#439192} |