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

Unified Diff: test/mjsunit/regress/regress-2296.js

Issue 2469043003: [debugger] fix blacklisted tests. (Closed)
Patch Set: fix 2318 Created 4 years, 1 month 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/mjsunit.status ('k') | test/mjsunit/regress/regress-2318.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-2296.js
diff --git a/test/mjsunit/regress/regress-2296.js b/test/mjsunit/regress/regress-2296.js
index c00f14f172a0cb099d2ef411fe25bfffbab7e559..b81e8ee78443cba6f4f4277cefb3fa7c2f66a9b9 100644
--- a/test/mjsunit/regress/regress-2296.js
+++ b/test/mjsunit/regress/regress-2296.js
@@ -30,7 +30,11 @@
Debug = debug.Debug
function listener(event, exec_state, event_data, data) {
- event_data.script().setSource(1);
+ try {
+ event_data.script().setSource(1);
+ } catch (e) {
+ assertTrue(String(e).indexOf("Source is not a string") > 0);
+ }
};
Debug.setListener(listener);
« no previous file with comments | « test/mjsunit/mjsunit.status ('k') | test/mjsunit/regress/regress-2318.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698