[es6] stage sticky regexps and RegExp.prototype.flags.

R=littledan@chromium.org
BUG=v8:4342
LOG=Y

Committed: https://crrev.com/722719fe31fe7fd5bb50be6256b3581bb28a8169
Cr-Commit-Position: refs/heads/master@{#31390}

Review URL: https://codereview.chromium.org/1412133002

Cr-Commit-Position: refs/heads/master@{#31479}
This commit is contained in:
yangguo 2015-10-22 07:15:33 -07:00 committed by Commit bot
parent 1c4192ab8c
commit 0a7996882e
2 changed files with 12 additions and 18 deletions

View File

@ -190,7 +190,6 @@ DEFINE_BOOL(legacy_const, true, "legacy semantics for const in sloppy mode")
// Features that are still work in progress (behind individual flags).
#define HARMONY_INPROGRESS(V) \
V(harmony_modules, "harmony modules") \
V(harmony_regexps, "harmony regular expression extensions") \
V(harmony_proxies, "harmony proxies") \
V(harmony_unicode_regexps, "harmony unicode regexps") \
V(harmony_tolength, "harmony ToLength") \
@ -203,10 +202,11 @@ DEFINE_BOOL(legacy_const, true, "legacy semantics for const in sloppy mode")
V(harmony_do_expressions, "harmony do-expressions")
// Features that are complete (but still behind --harmony/es-staging flag).
#define HARMONY_STAGED(V) \
V(harmony_tostring, "harmony toString") \
V(harmony_sloppy, "harmony features in sloppy mode") \
V(harmony_sloppy_let, "harmony let in sloppy mode") \
#define HARMONY_STAGED(V) \
V(harmony_regexps, "harmony regular expression extensions") \
V(harmony_tostring, "harmony toString") \
V(harmony_sloppy, "harmony features in sloppy mode") \
V(harmony_sloppy_let, "harmony let in sloppy mode") \
V(harmony_completion, "harmony completion value semantics")
// Features that are shipping (turned on by default, but internal flag remains).

View File

@ -494,25 +494,17 @@
# https://code.google.com/p/v8/issues/detail?id=4342
'built-ins/RegExp/prototype/exec/get-sticky-coerce': [FAIL],
'built-ins/RegExp/prototype/exec/get-sticky-err': [FAIL],
'built-ins/RegExp/prototype/exec/y-fail-lastindex': [FAIL],
'built-ins/RegExp/prototype/exec/y-fail-lastindex-no-write': [FAIL],
'built-ins/RegExp/prototype/exec/y-fail-return': [FAIL],
'built-ins/RegExp/prototype/exec/y-fail-lastindex': [FAIL],
'built-ins/RegExp/prototype/exec/y-init-lastindex': [FAIL],
'built-ins/RegExp/prototype/exec/y-set-lastindex': [FAIL],
'built-ins/RegExp/prototype/sticky/prop-desc': [FAIL],
'built-ins/RegExp/prototype/sticky/this-invalid-obj': [FAIL],
'built-ins/RegExp/prototype/sticky/this-non-obj': [FAIL],
'built-ins/RegExp/prototype/sticky/this-regexp': [FAIL],
'built-ins/RegExp/prototype/test/get-sticky-coerce': [FAIL],
'built-ins/RegExp/prototype/test/get-sticky-err': [FAIL],
'built-ins/RegExp/prototype/test/y-fail-lastindex-no-write': [FAIL],
'built-ins/RegExp/prototype/test/y-fail-return': [FAIL],
'built-ins/RegExp/prototype/test/y-fail-lastindex': [FAIL],
'built-ins/RegExp/prototype/test/y-init-lastindex': [FAIL],
'built-ins/RegExp/prototype/test/y-set-lastindex': [FAIL],
'built-ins/RegExp/valid-flags-y': [FAIL],
# https://code.google.com/p/v8/issues/detail?id=4504
'built-ins/RegExp/prototype/exec/y-fail-lastindex-no-write': [PASS, FAIL],
'built-ins/RegExp/prototype/test/y-fail-lastindex-no-write': [PASS, FAIL],
# https://code.google.com/p/v8/issues/detail?id=4305
# SKIP rather than FAIL some tests, as they may check for an exception which
# happens to be thrown for some other reason (e.g,
@ -547,7 +539,9 @@
'built-ins/String/prototype/split/cstm-split-get-err': [FAIL],
# https://code.google.com/p/v8/issues/detail?id=4346
'built-ins/RegExp/prototype/flags/*': [FAIL],
'built-ins/RegExp/prototype/flags/name': [FAIL],
'built-ins/RegExp/prototype/flags/y-attr-err': [FAIL],
'built-ins/RegExp/prototype/flags/u': [FAIL],
# https://code.google.com/p/v8/issues/detail?id=4347
'built-ins/RegExp/prototype/global/name': [FAIL],