Index: test/unittests/value-serializer-unittest.cc |
diff --git a/test/unittests/value-serializer-unittest.cc b/test/unittests/value-serializer-unittest.cc |
index d88d60a3e6a6c1a217d1c1476c51e91d6ec7073c..3b0f6679c7a22b9a42afb1b965e1a125522eb32b 100644 |
--- a/test/unittests/value-serializer-unittest.cc |
+++ b/test/unittests/value-serializer-unittest.cc |
@@ -1984,6 +1984,9 @@ TEST_F(ValueSerializerTest, DecodeInvalidTypedArray) { |
// Byte length not divisible by element size. |
InvalidDecodeTest( |
{0xff, 0x09, 0x42, 0x04, 0x00, 0x00, 0x00, 0x00, 0x56, 0x77, 0x02, 0x01}); |
+ // Invalid view type (0xff). |
+ InvalidDecodeTest( |
+ {0xff, 0x09, 0x42, 0x02, 0x00, 0x00, 0x56, 0xff, 0x01, 0x01}); |
} |
TEST_F(ValueSerializerTest, RoundTripDataView) { |