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

Issue 2779493002: Mojo JS bindings: support auto-loading mojom.js deps. (Closed)

Created:
3 years, 9 months ago by yzshen1
Modified:
3 years, 8 months ago
CC:
Aaron Boodman, abarth-chromium, blink-reviews, chromium-reviews, darin (slow to review), qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Mojo JS bindings: support auto-loading mojom.js deps. It also adds a config to turn off this behavior. BUG=699569 Review-Url: https://codereview.chromium.org/2779493002 Cr-Commit-Position: refs/heads/master@{#461354} Committed: https://chromium.googlesource.com/chromium/src/+/b8e4332ca05f3220a36557b0e25dd3fa75365672

Patch Set 1 #

Patch Set 2 : . #

Total comments: 4

Patch Set 3 : . #

Patch Set 4 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -5 lines) Patch
M mojo/public/js/new_bindings/base.js View 1 2 3 2 chunks +78 lines, -0 lines 0 comments Download
M mojo/public/tools/bindings/generators/js_templates/module.amd.tmpl View 1 2 3 1 chunk +18 lines, -2 lines 0 comments Download
M mojo/public/tools/bindings/generators/mojom_js_generator.py View 3 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/mojo/module-loading.html View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
A + third_party/WebKit/LayoutTests/mojo/module-loading-manual-deps-loading.html View 1 2 3 1 chunk +5 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 42 (28 generated)
yzshen1
Hi, Ken. Would you please take a look? Thanks!
3 years, 9 months ago (2017-03-26 17:28:47 UTC) #9
Ken Rockot(use gerrit already)
lgtm https://codereview.chromium.org/2779493002/diff/20001/mojo/public/js/new_bindings/base.js File mojo/public/js/new_bindings/base.js (right): https://codereview.chromium.org/2779493002/diff/20001/mojo/public/js/new_bindings/base.js#newcode16 mojo/public/js/new_bindings/base.js:16: // For example, if foo.mojom imports bar.mojom, |auto_load_mojom_deps| ...
3 years, 9 months ago (2017-03-26 18:27:11 UTC) #10
yzshen1
Thanks! :) https://codereview.chromium.org/2779493002/diff/20001/mojo/public/js/new_bindings/base.js File mojo/public/js/new_bindings/base.js (right): https://codereview.chromium.org/2779493002/diff/20001/mojo/public/js/new_bindings/base.js#newcode16 mojo/public/js/new_bindings/base.js:16: // For example, if foo.mojom imports bar.mojom, ...
3 years, 9 months ago (2017-03-26 19:51:11 UTC) #13
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/2779493002/40001
3 years, 9 months ago (2017-03-26 19:51:20 UTC) #16
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/408362)
3 years, 9 months ago (2017-03-26 21:31:11 UTC) #18
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/2779493002/40001
3 years, 9 months ago (2017-03-26 22:18:01 UTC) #20
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/408379)
3 years, 9 months ago (2017-03-27 01:41:16 UTC) #22
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/2779493002/40001
3 years, 9 months ago (2017-03-27 01:53:12 UTC) #24
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/e326a5d409dadb3df6811b3dca7f1cfecb4ef520
3 years, 9 months ago (2017-03-27 03:20:47 UTC) #27
hayato
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2777083002/ by hayato@chromium.org. ...
3 years, 9 months ago (2017-03-27 08:47:23 UTC) #28
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/2779493002/60001
3 years, 8 months ago (2017-04-02 23:39:21 UTC) #37
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/chromium/src/+/b8e4332ca05f3220a36557b0e25dd3fa75365672
3 years, 8 months ago (2017-04-03 00:53:08 UTC) #40
findit-for-me
Findit identified this CL at revision 461354 as the culprit for failures in the build ...
3 years, 8 months ago (2017-04-03 02:43:38 UTC) #41
yzshen1
3 years, 8 months ago (2017-04-03 03:29:42 UTC) #42
Message was sent while issue was closed.
On 2017/04/03 02:43:38, findit-for-me wrote:
> Findit identified this CL at revision 461354 as the culprit for
> failures in the build cycles as shown on:
>
https://findit-for-me.appspot.com/waterfall/culprit?key=ag9zfmZpbmRpdC1mb3Itb...

Looking at the failure. It seems very unlikely to me.

This CL changes a JavaScript library (mojo_bindings.js) that is just used by the
two layout tests module-loading.html and
module-loading-manual-deps-loading.html. It shouldn't have any effect outside of
those two tests.

Powered by Google App Engine
This is Rietveld 408576698