Skip to content

Commit 3eceafc

Browse files
committed
Frames are no longer dropped
1 parent 2aa255d commit 3eceafc

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

packages/browser/test/tracekit/chromium.test.ts

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -617,32 +617,6 @@ describe('Tracekit - Chrome Tests', () => {
617617
});
618618
});
619619

620-
it('should drop frames that are over 1kb', () => {
621-
const LONG_STR = 'A'.repeat(1040);
622-
623-
const LONG_FRAME = {
624-
message: 'bad',
625-
name: 'Error',
626-
stack: `Error: bad
627-
at aha (http://localhost:5000/:39:5)
628-
at Foo.testMethod (http://localhost:5000/${LONG_STR}:44:7)
629-
at http://localhost:5000/:50:19`,
630-
};
631-
632-
const ex = exceptionFromError(parser, LONG_FRAME);
633-
634-
expect(ex).toEqual({
635-
value: 'bad',
636-
type: 'Error',
637-
stacktrace: {
638-
frames: [
639-
{ filename: 'http://localhost:5000/', function: '?', lineno: 50, colno: 19, in_app: true },
640-
{ filename: 'http://localhost:5000/', function: 'aha', lineno: 39, colno: 5, in_app: true },
641-
],
642-
},
643-
});
644-
});
645-
646620
it('should correctly parse a wasm stack trace', () => {
647621
const WASM_ERROR = {
648622
message: 'memory access out of bounds',

0 commit comments

Comments
 (0)