Implement a handle property that is a string (#233267)

* Implement a `handle` property that is a string

For Microsoft auth

* fix integration tests
This commit is contained in:
Tyler James Leonhardt
2024-11-07 09:44:37 -08:00
committed by GitHub
parent 8abfad3e3e
commit 15333a70d8
9 changed files with 36 additions and 1 deletions

View File

@@ -437,6 +437,10 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
checkProposedApiEnabled(extension, 'resolvers');
return initData.commit;
},
get handle(): string | undefined {
checkProposedApiEnabled(extension, 'nativeWindowHandle');
return initData.handle;
}
};
if (!initData.environment.extensionTestsLocationURI) {
// allow to patch env-function when running tests