Home
last modified time | relevance | path

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

/third_party/node/test/fixtures/wpt/html/webappapis/structured-clone/
Dstructured-clone-battery-of-tests.js228 function compare_RegExp(expected_source) { function
257 check('RegExp flags and lastIndex', func_RegExp_flags_lastIndex, compare_RegExp('foo'));
258 check('RegExp sticky flag', func_RegExp_sticky, compare_RegExp('foo'));
259 check('RegExp unicode flag', func_RegExp_unicode, compare_RegExp('foo'));
260 check('RegExp empty', new RegExp(''), compare_RegExp('(?:)'));
261 check('RegExp slash', new RegExp('/'), compare_RegExp('\\/'));
262 check('RegExp new line', new RegExp('\n'), compare_RegExp('\\n'));
263 …astIndex', [func_RegExp_flags_lastIndex()], compare_Array(enumerate_props(compare_RegExp('foo'))));
264 …ction() { return [func_RegExp_sticky()]; }, compare_Array(enumerate_props(compare_RegExp('foo'))));
265 …tion() { return [func_RegExp_unicode()]; }, compare_Array(enumerate_props(compare_RegExp('foo'))));
[all …]