DescriptionMD Settings: Add helper method for responding to cr.sendWithPromise.
- Stop passing the 'cr.webUIResponse' string from JS to C++ and again back to JS.
- Restricting C++ response to JS to a single argument, since Promises
can only be resolved with a single argument (this is also more consistent
with Mojo-based communication).
- Adding additional test cases.
BUG=580633
Committed: https://crrev.com/b60b1f03ab1b8681132ecdf384e02967eee63694
Cr-Commit-Position: refs/heads/master@{#371726}
Patch Set 1 #Patch Set 2 : Nit #Patch Set 3 : Add comment. #
Total comments: 13
Patch Set 4 : Addressing comments. #
Messages
Total messages: 17 (9 generated)
|