Home
last modified time | relevance | path

Searched refs:compare_obj (Results 1 – 1 of 1) sorted by relevance

/third_party/node/test/fixtures/wpt/html/webappapis/structured-clone/
Dstructured-clone-battery-of-tests.js144 function compare_obj(what) { function
156 check('String empty string', new String(''), compare_obj('String'));
157 check('String lone high surrogate', new String('\uD800'), compare_obj('String'));
158 check('String lone low surrogate', new String('\uDC00'), compare_obj('String'));
159 check('String NUL', new String('\u0000'), compare_obj('String'));
160 check('String astral character', new String('\uDBFF\uDFFD'), compare_obj('String'));
165 … new String('\uDBFF\uDFFD')], compare_Array(enumerate_props(compare_obj('String'))));
170 … 'astral':new String('\uDBFF\uDFFD')}, compare_Object(enumerate_props(compare_obj('String'))));
172 check('Number 0.2', new Number(0.2), compare_obj('Number'));
173 check('Number 0', new Number(0), compare_obj('Number'));
[all …]