Index: test/mjsunit/debug-stepout-scope-part2.js |
diff --git a/test/mjsunit/debug-stepout-scope-part2.js b/test/mjsunit/debug-stepout-scope-part2.js |
index 69cee994aa3e95eb8d3ad550a998a32395ccfc1f..4e2e88288b2bd6d39f8d2babe814fd8626c07fa6 100644 |
--- a/test/mjsunit/debug-stepout-scope-part2.js |
+++ b/test/mjsunit/debug-stepout-scope-part2.js |
@@ -25,7 +25,7 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-// Flags: --expose-debug-as debug --expose-natives-as=builtins |
+// Flags: --expose-debug-as debug --expose-natives-as=builtins --harmony-generators |
Yang
2014/04/22 15:02:34
80 character limit...
just add a second line start
|
// Check that the ScopeIterator can properly recreate the scope at |
// every point when stepping through functions. |
@@ -77,6 +77,8 @@ function test9() { |
var body = bodies[j]; |
eval(pre + body); |
eval("'use strict'; " + pre + body); |
+ eval("(function*(){" + pre + body + "})().next()"); |
+ eval("(function*(){'use strict'; " + pre + body + "})().next()"); |
} |
} |
} |