feat: add userAgent property to Navigator's prototype (#14415)

This commit is contained in:
randomicon00 2022-05-14 11:00:02 +01:00 committed by GitHub
parent 20ee3110d8
commit f82a79ffdb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 29 additions and 12 deletions

View file

@ -51,6 +51,7 @@ declare class WorkerNavigator {
constructor();
readonly gpu: GPU;
readonly hardwareConcurrency: number;
readonly userAgent: string;
}
declare var navigator: WorkerNavigator;