Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1325)

Unified Diff: test/mjsunit/debug-stepout-scope-part2.js

Issue 247003004: Add tests for generator/debugger interaction (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/mjsunit/debug-scopes.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()");
}
}
}
« no previous file with comments | « test/mjsunit/debug-scopes.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698