v8/test/mjsunit/es6
dslomov 15ef61d468 Make sure debugger is ready for breakpoins when we process 'debugger' statement.
On 'debugger' statement, if anything in debugger calls 'EnsureDebugInfo'
on a function, EnsureDebugInfo would compile and substitute code without
debug break slots. This causes weird behavior later when stepping fails
to work (see added test as an example).
This fix is to make sure the debugger is prepared for breakpoints in
that case as well.

Also adds extra testing for bug 468661.

R=yangguo@chromium.org,yurys@chromium.orh
BUG=v8:3990,chromium:468661
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#27502}
2015-03-27 18:33:17 +00:00
..
debug-promises Simplify promise event on throw handling. 2015-03-09 13:41:55 +00:00
regress Make sure debugger is ready for breakpoins when we process 'debugger' statement. 2015-03-27 18:33:17 +00:00
arguments-iterator.js Don't expose Array.prototype.values as it breaks webcompat 2014-10-17 20:11:47 +00:00
array-iterator.js Add remaining @@toStringTag symbols to builtins 2014-10-24 19:29:10 +00:00
array-tostring.js Update harmony Object.prototype.toString to 2/2/2015 spec 2015-02-03 17:45:20 +00:00
block-conflicts.js Remove --harmony-scoping flag. 2015-03-13 15:15:57 +00:00
block-const-assign.js Remove --harmony-scoping flag. 2015-03-13 15:15:57 +00:00
block-early-errors.js Remove --harmony-scoping flag. 2015-03-13 15:15:57 +00:00
block-for.js Remove --harmony-scoping flag. 2015-03-13 15:15:57 +00:00
block-leave.js Remove --harmony-scoping flag. 2015-03-13 15:15:57 +00:00
block-let-crankshaft.js Remove --harmony-scoping flag. 2015-03-13 15:15:57 +00:00
block-let-declaration.js Fix test for function declarations syntax error. 2015-03-13 16:57:35 +00:00
block-let-semantics.js Remove --harmony-scoping flag. 2015-03-13 15:15:57 +00:00
block-non-strict-errors.js Remove --harmony-scoping flag. 2015-03-13 15:15:57 +00:00
block-scoping.js Remove --harmony-scoping flag. 2015-03-13 15:15:57 +00:00
collection-iterator.js Add remaining @@toStringTag symbols to builtins 2014-10-24 19:29:10 +00:00
collections.js Adjust key behaviour for weak collections 2015-03-18 12:51:58 +00:00
debug-blockscopes.js Remove --harmony-scoping flag. 2015-03-13 15:15:57 +00:00
debug-evaluate-blockscopes.js Remove --harmony-scoping flag. 2015-03-13 15:15:57 +00:00
debug-function-scopes.js Remove --harmony-scoping flag. 2015-03-13 15:15:57 +00:00
debug-stepin-collections-foreach.js Enable ES6 Map and Set by default 2014-08-05 19:37:32 +00:00
debug-stepin-generators.js Support stepping into generator function. 2014-09-17 12:27:16 +00:00
debug-stepin-microtasks.js Allow stepping into Object.observe handlers. 2014-11-19 15:16:40 +00:00
debug-stepin-promises.js Make debugger step into bound callbacks passed to Array.forEach. 2015-03-24 16:02:12 +00:00
debug-stepnext-for.js Reland "Fix stepping in for-loops." 2014-11-12 08:26:42 +00:00
empty-for.js Remove --harmony-scoping flag. 2015-03-13 15:15:57 +00:00
function-length-configurable.js [es6] Function length property should be configurable 2015-03-13 17:19:53 +00:00
function-name-configurable.js ES6: Make function name configurable 2015-03-04 16:57:10 +00:00
generators-debug-liveedit.js Debugger: remove unused JS Debugger API. 2015-03-26 08:15:45 +00:00
generators-debug-scopes.js harmony-scoping: Implement debugger support for script scope. 2014-11-17 17:58:12 +00:00
generators-iteration.js Leaving a generator via an exception causes it to close 2014-11-12 14:29:22 +00:00
generators-mirror.js Expose generator object internal properties via mirrors. 2014-11-28 14:49:08 +00:00
generators-objects.js Remove --harmony-scoping flag. 2015-03-13 15:15:57 +00:00
generators-parsing.js Enable ES6 generators 2014-09-16 12:30:39 +00:00
generators-poisoned-properties.js Enable ES6 generators 2014-09-16 12:30:39 +00:00
generators-relocation.js Enable ES6 generators 2014-09-16 12:30:39 +00:00
generators-runtime.js Enable ES6 generators 2014-09-16 12:30:39 +00:00
generators-states.js Leaving a generator via an exception causes it to close 2014-11-12 14:29:22 +00:00
indexed-integer-exotics.js fix reconfigure of indexed integer exotic objects 2015-03-27 10:12:55 +00:00
iteration-semantics.js Remove --harmony-scoping flag. 2015-03-13 15:15:57 +00:00
iteration-syntax.js Remove --harmony-scoping flag. 2015-03-13 15:15:57 +00:00
json.js Add remaining @@toStringTag symbols to builtins 2014-10-24 19:29:10 +00:00
map-minus-zero.js Fix issue with -0 in Maps 2015-02-20 21:02:55 +00:00
math-cbrt.js Ship ES6 Math functions. 2014-07-16 14:00:15 +00:00
math-clz32.js Ship ES6 Math functions. 2014-07-16 14:00:15 +00:00
math-expm1.js Implement Math.expm1 using port from fdlibm. 2014-08-20 14:24:07 +00:00
math-fround.js Inline Math.fround in optimized code. 2014-07-29 11:34:08 +00:00
math-hyperbolic.js Fix typo in math-hyperbolic test. 2014-09-01 10:23:07 +00:00
math-hypot.js Ship ES6 Math functions. 2014-07-16 14:00:15 +00:00
math-log1p.js Implement Math.log1p using port from fdlibm. 2014-08-12 13:36:33 +00:00
math-log2-log10.js Implement Math.log2 via ported extract from fdlibm. 2014-12-11 11:23:37 +00:00
math-sign.js Ship ES6 Math functions. 2014-07-16 14:00:15 +00:00
math-trunc.js Ship ES6 Math functions. 2014-07-16 14:00:15 +00:00
math.js Add remaining @@toStringTag symbols to builtins 2014-10-24 19:29:10 +00:00
microtask-delivery.js Re^3-land "Ship promises and weak collections" 2014-05-06 14:48:34 +00:00
mirror-collections.js Add optional max elements limit for Map/Set mirror iterator preview. 2014-11-11 09:47:19 +00:00
mirror-iterators.js Expose internal properties of map/set iterators via mirrors. 2014-11-17 12:48:29 +00:00
mirror-promises.js Remove obsolete --harmony-promises flag from tests. 2014-06-20 10:47:50 +00:00
mirror-symbols.js Enable ES6 Symbols by default 2014-08-04 18:17:54 +00:00
numeric-literals.js Stage ES6 numeric literals 2014-10-06 15:40:55 +00:00
object-tostring.js Update harmony ObjectProtoToString() to 2/2/2015 spec 2015-02-03 21:05:25 +00:00
promises.js Promise.all and race should work with iterables 2015-02-23 18:10:14 +00:00
set-minus-zero.js Fix issue with -0 in Maps 2015-02-20 21:02:55 +00:00
string-codepointat.js Remove harmony-strings flag. 2015-03-20 10:43:38 +00:00
string-endswith.js Remove harmony-strings flag. 2015-03-20 10:43:38 +00:00
string-fromcodepoint.js Remove harmony-strings flag. 2015-03-20 10:43:38 +00:00
string-html.js Only escape U+0022 in argument values of String.prototype HTML methods 2014-08-07 07:45:33 +00:00
string-includes.js Remove harmony-strings flag. 2015-03-20 10:43:38 +00:00
string-iterator.js Add remaining @@toStringTag symbols to builtins 2014-10-24 19:29:10 +00:00
string-raw.js [es6] call ToString() on template substitutions 2015-03-24 12:44:01 +00:00
string-repeat.js Remove harmony-strings flag. 2015-03-20 10:43:38 +00:00
string-startswith.js Remove harmony-strings flag. 2015-03-20 10:43:38 +00:00
symbols.js Adjust key behaviour for weak collections 2015-03-18 12:51:58 +00:00
templates.js [es6] call ToString() on template substitutions 2015-03-24 12:44:01 +00:00
typed-array-iterator.js Don't expose Array.prototype.values as it breaks webcompat 2014-10-17 20:11:47 +00:00
unscopables.js ES6: Update unscopables to match spec 2014-12-16 20:07:41 +00:00