feat: WebFrameMain.collectJavaScriptCallStack() (#44204)

* feat: WebFrameMain.unresponsiveDocumentJSCallStack

* Revert "feat: WebFrameMain.unresponsiveDocumentJSCallStack"

This reverts commit e0612bc1a00a5282cba5df97da3c9c90e96ef244.

* feat: frame.collectJavaScriptCallStack()

* feat: frame.collectJavaScriptCallStack()

* Update web-frame-main.md
This commit is contained in:
Sam Maddock 2024-12-02 23:32:24 -05:00 committed by GitHub
parent 6d4c271268
commit 2222920429
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 131 additions and 1 deletions

View file

@ -33,6 +33,12 @@ app.commandLine.appendSwitch('host-resolver-rules', [
'MAP notfound.localhost2 ~NOTFOUND'
].join(', '));
// Enable features required by tests.
app.commandLine.appendSwitch('enable-features', [
// spec/api-web-frame-main-spec.ts
'DocumentPolicyIncludeJSCallStacksInCrashReports'
].join(','));
global.standardScheme = 'app';
global.zoomScheme = 'zoom';
global.serviceWorkerScheme = 'sw';