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

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

Issue 2497973002: [debug-wrapper] Further extend the debug wrapper (Closed)
Patch Set: Address comments 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/regress-109195.js ('k') | test/debugger/debug/regress/regress-2296.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/debugger/debug/regress/regress-119609.js
diff --git a/test/mjsunit/regress/regress-119609.js b/test/debugger/debug/regress/regress-119609.js
similarity index 92%
rename from test/mjsunit/regress/regress-119609.js
rename to test/debugger/debug/regress/regress-119609.js
index 99041adaf435cfd0a90f973404452e5fcf2fbfbf..b6da891fb01518a764216b706cd8743d9ccd82da 100644
--- a/test/mjsunit/regress/regress-119609.js
+++ b/test/debugger/debug/regress/regress-119609.js
@@ -25,7 +25,6 @@
// (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
Debug = debug.Debug;
@@ -42,11 +41,7 @@ function listener(event, exec_state, event_data, data) {
assertEquals(4, lookup("f"));
assertEquals(1, lookup("a"));
- try {
- assertEquals(2, lookup("b"));
- } catch (e) {
- assertEquals("ReferenceError: b is not defined", e.toString());
- }
+ assertThrows(() => lookup("b"), ReferenceError);
}
} catch (e) {
exception = e.toString() + e.stack;
« no previous file with comments | « test/debugger/debug/regress/regress-109195.js ('k') | test/debugger/debug/regress/regress-2296.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698