File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
dev-packages/browser-integration-tests/suites/integrations/globalHandlers/dataUrls Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,11 @@ import { expect } from '@playwright/test';
2
2
import { sentryTest } from '../../../../utils/fixtures' ;
3
3
import { envelopeRequestParser , waitForErrorRequest } from '../../../../utils/helpers' ;
4
4
5
+ /**
6
+ * Tests a special case where the `globalHandlersIntegration` itself creates a stack frame instead of using
7
+ * stack parsers. This is necessary because we don't always get an `error` object passed to `window.onerror`.
8
+ * @see `globalhandlers.ts#_enhanceEventWithInitialFrame`
9
+ */
5
10
sentryTest ( 'detects and handles data urls on first stack frame' , async ( { getLocalTestUrl, page } ) => {
6
11
const url = await getLocalTestUrl ( { testDir : __dirname } ) ;
7
12
You can’t perform that action at this time.
0 commit comments