DescriptionMojo JS bindings: make sure that console.log() could be used in the bindings.
It is convenient for debugging.
Although console.log() is supported by chrome directly, mojo bindings currently are loaded using gin. Therefore, console.log() is not always available and needs to be defined as a module. After we move away from gin/AMD, we should be able to get rid of this.
BUG=579646
TBR=jochen@chromium.org
(deferring to eugenebut)
Review-Url: https://codereview.chromium.org/2618693004
Cr-Commit-Position: refs/heads/master@{#442972}
Committed: https://chromium.googlesource.com/chromium/src/+/1ff21f95261daa80eeff96b7df798da9b85b5eee
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : . #Patch Set 4 : . #Patch Set 5 : . #Patch Set 6 : . #Patch Set 7 : . #Patch Set 8 : . #Patch Set 9 : . #Patch Set 10 : . #Patch Set 11 : . #Patch Set 12 : . #
Total comments: 2
Patch Set 13 : . #Patch Set 14 : merge & resolve #
Messages
Total messages: 48 (29 generated)
|