blob: d36183d53d565ffb065ff1edad10f9ca8fcb7b32 [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// https://html.spec.whatwg.org/#language-preferences
[
NoInterfaceObject,
Exposed=(Window,Worker),
] interface NavigatorLanguage {
readonly attribute DOMString? language;
[CachedAttribute=hasLanguagesChanged] readonly attribute DOMString[] languages;
};