Mojo Windows: test_structs.mojom C++ bindings don't compile
See https://codereview.chromium.org/832583002/#msg8
The V10 constant from mojo/public/interfaces/bindings/tests/test_structs.mojom below is the minimum value for an int32.
struct IntegerNumberValues {
...
const int32 V10 = -2147483648;
...
}
MSVC can't parse -2147483648, see http://msdn.microsoft.com/en-us/library/4kh09110.aspx
The V10 constant below is the mininum value for an int32.
BUG=445618
R=jimbe@chromium.org
Review URL: https://codereview.chromium.org/830673002
diff --git a/mojo/public/js/codec_unittests.js b/mojo/public/js/codec_unittests.js
index 3dbcf27..3d3ac9c 100644
--- a/mojo/public/js/codec_unittests.js
+++ b/mojo/public/js/codec_unittests.js
@@ -263,7 +263,7 @@
var testCases = [
// method, args, invalid examples, valid examples
[encoder.encodeArrayPointer, [DummyClass], [75],
- [[], null, undefined, new Uint8Array([])]]],
+ [[], null, undefined, new Uint8Array([])]],
[encoder.encodeStringPointer, [], [75, new String("foo")],
["", "bar", null, undefined]],
[encoder.encodeMapPointer, [DummyClass, DummyClass], [75],