diff options
Diffstat (limited to 'js/src/jit-test/tests/TypedObject/function-names.js')
-rw-r--r-- | js/src/jit-test/tests/TypedObject/function-names.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/TypedObject/function-names.js b/js/src/jit-test/tests/TypedObject/function-names.js new file mode 100644 index 000000000..e7c5f482a --- /dev/null +++ b/js/src/jit-test/tests/TypedObject/function-names.js @@ -0,0 +1,8 @@ + +if (typeof TypedObject === "undefined") + quit(); + +// Make sure some builtin TypedObject functions are given sensible names. +assertEq(TypedObject.ArrayType.name, "ArrayType"); +assertEq(TypedObject.StructType.name, "StructType"); +assertEq(TypedObject.storage.name, "storage"); |