Skip to content

Commit

Permalink
[UOOM GPC][4/n] Add globalPrivacyControl Property to Navigator
Browse files Browse the repository at this point in the history
Summary: Changelog: [libdef] add typing for [Navigator.globalPrivacyControl()](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/globalPrivacyControl)

Reviewed By: SamChou19815

Differential Revision:
D57119732

------------------------------------------------------------------------
(from 5f30f1554e212c5c02f125d698725436421e66b2)

fbshipit-source-id: daa8b34311ff68e96c29372e2f7ab09b0ad2112b
  • Loading branch information
Junyuan Tan authored and facebook-github-bot committed May 9, 2024
1 parent 2825a23 commit 3a64aa5
Show file tree
Hide file tree
Showing 3 changed files with 301 additions and 300 deletions.
1 change: 1 addition & 0 deletions lib/bom.js
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ declare class Navigator mixins
share?: (shareData: ShareData) => Promise<void>;
clipboard: Clipboard;
credentials?: CredMgmtCredentialsContainer;
globalPrivacyControl?: boolean;
// deprecated
getBattery?: () => Promise<BatteryManager>;
Expand Down

0 comments on commit 3a64aa5

Please sign in to comment.