Skip to content

Commit

Permalink
Merge pull request #263 from coreh/add/navigator-languages
Browse files Browse the repository at this point in the history
Add navigator.languages
  • Loading branch information
mhegazy committed Jun 5, 2017
2 parents a6932fa + c51bda9 commit bc9f452
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8224,6 +8224,7 @@ interface Navigator extends Object, NavigatorID, NavigatorOnLine, NavigatorConte
readonly serviceWorker: ServiceWorkerContainer;
readonly webdriver: boolean;
readonly hardwareConcurrency: number;
readonly languages: string[];
getGamepads(): Gamepad[];
javaEnabled(): boolean;
msLaunchUri(uri: string, successCallback?: MSLaunchUriCallback, noHandlerCallback?: MSLaunchUriCallback): void;
Expand Down
7 changes: 7 additions & 0 deletions inputfiles/addedTypes.json
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,13 @@
"readonly": true,
"type": "number"
},
{
"kind": "property",
"interface": "Navigator",
"name": "languages",
"readonly": true,
"type": "string[]"
},
{
"kind": "property",
"interface": "WorkerNavigator",
Expand Down

0 comments on commit bc9f452

Please sign in to comment.