handle: string to nativeHandle: UInt8Array based on feedback (#234378)

Feedback in https://github.com/microsoft/vscode/issues/229431
This commit is contained in:
Tyler James Leonhardt
2024-11-21 10:58:49 -08:00
committed by GitHub
parent 7662e03145
commit d7ab35a98e
8 changed files with 29 additions and 13 deletions

View File

@@ -437,9 +437,9 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
checkProposedApiEnabled(extension, 'resolvers');
return initData.commit;
},
get handle(): string | undefined {
get nativeHandle(): Uint8Array | undefined {
checkProposedApiEnabled(extension, 'nativeWindowHandle');
return initData.handle;
return extHostWindow.nativeHandle;
}
};
if (!initData.environment.extensionTestsLocationURI) {