| Index: test/debugger/debug/regress/regress-419663.js
|
| diff --git a/test/mjsunit/regress/regress-419663.js b/test/debugger/debug/regress/regress-419663.js
|
| similarity index 71%
|
| rename from test/mjsunit/regress/regress-419663.js
|
| rename to test/debugger/debug/regress/regress-419663.js
|
| index 6f51741cf86cd1f614eb169767258574b6cea796..51bd85aa2e6b1b0bc3fca8759bcd2fbdabf4e816 100644
|
| --- a/test/mjsunit/regress/regress-419663.js
|
| +++ b/test/debugger/debug/regress/regress-419663.js
|
| @@ -2,7 +2,6 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -// Flags: --expose-debug-as debug
|
|
|
| var o = {
|
| f: function(x) {
|
| @@ -20,11 +19,8 @@ Debug.setListener(function() {});
|
| var script = Debug.findScript(sentinel);
|
|
|
| // Used in Debug.setScriptBreakPointById.
|
| -var p = Debug.findScriptSourcePosition(script, 9, 0);
|
| +var p = Debug.findScriptSourcePosition(script, 8, 0);
|
| var q = Debug.setBreakPointByScriptIdAndPosition(script.id, p).actual_position;
|
| -var r = Debug.setBreakPointByScriptIdAndPosition(script.id, q).actual_position;
|
| -
|
| -assertEquals(q, r);
|
|
|
| function assertLocation(p, l, c) {
|
| var location = script.locationFromPosition(p, false);
|
| @@ -32,6 +28,5 @@ function assertLocation(p, l, c) {
|
| assertEquals(c, location.column);
|
| }
|
|
|
| -assertLocation(p, 9, 0);
|
| -assertLocation(q, 9, 4);
|
| -assertLocation(r, 9, 4);
|
| +assertLocation(p, 8, 0);
|
| +assertLocation(q, 8, 4);
|
|
|