Skip to content

Commit 2299cb0

Browse files
Fix failing Opera tests
1 parent 334c49d commit 2299cb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

error-stack-parser.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
for (var i = 2, len = lines.length; i < len; i += 2) {
9696
var match = lineRE.exec(lines[i]);
9797
if (match) {
98-
result.push(new StackFrame(undefined, undefined, match[2], match[1], lines[i]));
98+
result.push(new StackFrame(undefined, undefined, match[2], match[1], undefined, lines[i]));
9999
}
100100
}
101101

@@ -110,7 +110,7 @@
110110
for (var i = 0, len = lines.length; i < len; i += 2) {
111111
var match = lineRE.exec(lines[i]);
112112
if (match) {
113-
result.push(new StackFrame(match[3] || undefined, undefined, match[2], match[1], lines[i]));
113+
result.push(new StackFrame(match[3] || undefined, undefined, match[2], match[1], undefined, lines[i]));
114114
}
115115
}
116116

0 commit comments

Comments
 (0)