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

Unified Diff: test/debugger/debug/regress/regress-1170187.js

Issue 2491543002: [debug-wrapper] Conditional breaks, locals, evaluate, scopes (Closed)
Patch Set: Rebase 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/debugger/debug/regress-3225.js ('k') | test/debugger/debug/regress/regress-131994.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/debugger/debug/regress/regress-1170187.js
diff --git a/test/mjsunit/regress/regress-1170187.js b/test/debugger/debug/regress/regress-1170187.js
similarity index 94%
rename from test/mjsunit/regress/regress-1170187.js
rename to test/debugger/debug/regress/regress-1170187.js
index 6aa28967516d752bb89ee8b341c3831695d306b5..165a308dc5da6bc9c21063b3baffffffbc32df39 100644
--- a/test/mjsunit/regress/regress-1170187.js
+++ b/test/debugger/debug/regress/regress-1170187.js
@@ -25,12 +25,10 @@
// (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
// Make sure that the retreival of local variables are performed correctly even
// when an adapter frame is present.
-// Get the Debug object exposed from the debug context global object.
Debug = debug.Debug
listenerCalled = false;
@@ -38,7 +36,8 @@ exception = false;
function checkName(name) {
- assertTrue(name == 'a' || name == 'b' || name == 'c');
+ const validNames = new Set([ 'a', 'b', 'c', 'x', 'y' ]);
+ assertTrue(validNames.has(name));
}
« no previous file with comments | « test/debugger/debug/regress-3225.js ('k') | test/debugger/debug/regress/regress-131994.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698