Auto merge of #27264 - jdm:hubs-stubs, r=Manishearth

Implement Navigator.languages

Fixes #27210.
This commit is contained in:
bors-servo 2020-07-14 15:10:56 -04:00 committed by GitHub
commit 12d4c0d5eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 670 additions and 15 deletions

View file

@ -44,8 +44,7 @@ partial interface Navigator {
[Exposed=(Window,Worker)]
interface mixin NavigatorLanguage {
readonly attribute DOMString language;
// https://github.com/servo/servo/issues/10073
//readonly attribute DOMString[] languages;
readonly attribute any languages;
};
// https://html.spec.whatwg.org/multipage/#navigatorplugins