f8b5e2000eb769f74359bb8db7afea47ddbff2cc
[platform/framework/web/crosswalk-tizen.git] /
1 'use strict';
2
3 module.exports = function (t, a) {
4         a(t(), false, "Undefined");
5         a(t(1), false, "Primitive");
6         a(t({}), false, "Objectt");
7         a(t({ toString: function () { return '[object Error]'; } }), false,
8                 "Fake error");
9         a(t(new Error()), true, "Error");
10         a(t(new EvalError()), true, "EvalError");
11         a(t(new RangeError()), true, "RangeError");
12         a(t(new ReferenceError()), true, "ReferenceError");
13         a(t(new SyntaxError()), true, "SyntaxError");
14         a(t(new TypeError()), true, "TypeError");
15         a(t(new URIError()), true, "URIError");
16 };