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

Issue 460063002: Refactor JavaScript support for packed boolean arrays (Closed)

Created:
6 years, 4 months ago by hansmuller
Modified:
6 years, 4 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Project:
chromium
Visibility:
Public.

Description

Refactored the codec.js changes from "from Support packed arrays of booleans in Mojo messages": (http://src.chromium.org/viewvc/chrome?view=revision&revision=282182) Use ArrayOf(PackedBool) instead of ArrayOfBoolArrayPointers. This makes it easier for the TBD JS message validator to retrieve the type of an array's elements. It's also a little more consistent with the rest of codec.js. BUG=402601 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289187

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : Simplified the packed bool array's encoder #

Patch Set 4 : Merged #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -62 lines) Patch
M mojo/public/js/bindings/codec.js View 1 2 7 chunks +37 lines, -59 lines 0 comments Download
M mojo/public/tools/bindings/generators/mojom_js_generator.py View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
hansmuller
A small refactoring of the packed-bool-array CL I made a couple of weeks ago.
6 years, 4 months ago (2014-08-11 21:12:30 UTC) #1
Matt Perry
lgtm, small optional suggestion below https://codereview.chromium.org/460063002/diff/20001/mojo/public/js/bindings/codec.js File mojo/public/js/bindings/codec.js (right): https://codereview.chromium.org/460063002/diff/20001/mojo/public/js/bindings/codec.js#newcode300 mojo/public/js/bindings/codec.js:300: if (i > 0 ...
6 years, 4 months ago (2014-08-11 21:24:32 UTC) #2
hansmuller
Made the simplification that Matt suggested. https://codereview.chromium.org/460063002/diff/20001/mojo/public/js/bindings/codec.js File mojo/public/js/bindings/codec.js (right): https://codereview.chromium.org/460063002/diff/20001/mojo/public/js/bindings/codec.js#newcode300 mojo/public/js/bindings/codec.js:300: if (i > ...
6 years, 4 months ago (2014-08-11 21:43:48 UTC) #3
hansmuller
The CQ bit was checked by hansmuller@chromium.org
6 years, 4 months ago (2014-08-12 14:41:31 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hansmuller@chromium.org/460063002/40001
6 years, 4 months ago (2014-08-12 14:43:52 UTC) #5
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-12 14:52:31 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-12 14:54:32 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/40558) ios_dbg_simulator on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/4807) ios_rel_device ...
6 years, 4 months ago (2014-08-12 14:54:33 UTC) #8
hansmuller
The CQ bit was checked by hansmuller@chromium.org
6 years, 4 months ago (2014-08-12 15:44:48 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hansmuller@chromium.org/460063002/40001
6 years, 4 months ago (2014-08-12 15:49:34 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-12 15:59:20 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-12 16:01:33 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: mac_gpu on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/mac_gpu/builds/40588) ios_dbg_simulator on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator/builds/4831) ios_rel_device ...
6 years, 4 months ago (2014-08-12 16:01:34 UTC) #13
hansmuller
The CQ bit was checked by hansmuller@chromium.org
6 years, 4 months ago (2014-08-12 16:31:52 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hansmuller@chromium.org/460063002/60001
6 years, 4 months ago (2014-08-12 16:33:31 UTC) #15
commit-bot: I haz the power
6 years, 4 months ago (2014-08-13 03:35:47 UTC) #16
Message was sent while issue was closed.
Change committed as 289187

Powered by Google App Engine
This is Rietveld 408576698