mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-23 17:58:59 +00:00
LibJS: Move locale_relevant_extension_keys to Intl.Locale
This commit is contained in:
parent
7769cd2cab
commit
673fc02ac5
Notes:
sideshowbarker
2024-07-18 04:09:53 +09:00
Author: https://github.com/trflynn89
Commit: 673fc02ac5
Pull-request: https://github.com/SerenityOS/serenity/pull/9960
Reviewed-by: https://github.com/linusg ✅
3 changed files with 16 additions and 13 deletions
|
@ -8,6 +8,7 @@
|
|||
|
||||
#include <AK/Optional.h>
|
||||
#include <AK/String.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <LibJS/Runtime/Object.h>
|
||||
#include <LibJS/Runtime/Value.h>
|
||||
#include <LibUnicode/Forward.h>
|
||||
|
@ -20,6 +21,8 @@ class Locale final : public Object {
|
|||
public:
|
||||
static Locale* create(GlobalObject&, Unicode::LocaleID const&);
|
||||
|
||||
static Vector<StringView> const& relevant_extension_keys(); // [[RelevantExtensionKeys]]
|
||||
|
||||
Locale(Object& prototype);
|
||||
Locale(Unicode::LocaleID const&, Object& prototype);
|
||||
virtual ~Locale() override = default;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue