Index: test/mjsunit/regress/regress-crbug-503698.js |
diff --git a/test/mjsunit/compiler/regress-416359.js b/test/mjsunit/regress/regress-crbug-503698.js |
similarity index 61% |
copy from test/mjsunit/compiler/regress-416359.js |
copy to test/mjsunit/regress/regress-crbug-503698.js |
index 18cdc5e72800ab16c49ea2f2091b88ba1c873248..274eb5a99e9bc392107d933400f1ff2a3aab0e13 100644 |
--- a/test/mjsunit/compiler/regress-416359.js |
+++ b/test/mjsunit/regress/regress-crbug-503698.js |
@@ -2,9 +2,9 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-"use strict" |
-function f() { |
- for (x in {a:0}); |
-} |
+// Flags: --invoke-weak-callbacks |
-assertThrows(f); |
+if (this.Worker) { |
+ function __f_1() {} |
+ var __v_6 = new Worker(__f_1); |
+} |