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

Unified Diff: test/mjsunit/wasm/asm-wasm-exception-in-tonumber.js

Issue 2557923005: [wasm] Provide correct eval origin for asm.js code (Closed)
Patch Set: Rebase Created 4 years 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 | « src/messages.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/wasm/asm-wasm-exception-in-tonumber.js
diff --git a/test/mjsunit/wasm/asm-wasm-exception-in-tonumber.js b/test/mjsunit/wasm/asm-wasm-exception-in-tonumber.js
index e775ee617070fa3c2cbeab21f70993a18ebc1ad3..548ec97b7fd5c492dbd211fa19ec56000a0d7c4c 100644
--- a/test/mjsunit/wasm/asm-wasm-exception-in-tonumber.js
+++ b/test/mjsunit/wasm/asm-wasm-exception-in-tonumber.js
@@ -80,7 +80,8 @@ function testAll(expected_stack, expected_frames, input) {
var expected_stack = [
'^Error: user-thrown$',
'^ *at sym \\(' + filename + ':\\d+:9\\)$',
- '^ *at callSym \\(.*<anonymous>:\\d+:12\\)$',
+ '^ *at callSym \\(eval at testHelper \\(' + filename +
+ ':\\d+:19\\), <anonymous>:\\d+:12\\)$',
];
var expected_frames = [
// function pos
@@ -94,7 +95,8 @@ function testAll(expected_stack, expected_frames, input) {
(function testStackForThrowAtConversion() {
var expected_stack = [
'^TypeError: Cannot convert a Symbol value to a number$',
- '^ *at callSym \\(.*<anonymous>:\\d+:21\\)$',
+ '^ *at callSym \\(eval at testHelper \\(' + filename +
+ ':\\d+:19\\), <anonymous>:\\d+:21\\)$',
];
var expected_frames = [
// function pos
« no previous file with comments | « src/messages.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698