mirror of
https://github.com/RGBCube/serenity
synced 2025-05-18 16:45:09 +00:00

A legacy platform object is a non-global platform object that implements a special operation. A special operation is a getter, setter and/or deleter. This is particularly used for old collection types, such as HTMLCollection, NodeList, etc. This will be used to make these spec-compliant and remove their custom wrappers. Additionally, it will be used to implement collections that we don't have yet, such as DOMStringMap.
15 lines
254 B
C++
15 lines
254 B
C++
/*
|
|
* Copyright (c) 2021, Luke Wilde <lukew@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <LibJS/Forward.h>
|
|
|
|
namespace Web::Bindings::IDL {
|
|
|
|
bool is_an_array_index(JS::GlobalObject&, JS::PropertyName const&);
|
|
|
|
}
|