2021-09-26 14:53:28 +01:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2021, Luke Wilde <lukew@serenityos.org>
|
2021-12-13 22:07:04 +00:00
|
|
|
* Copyright (c) 2021, Linus Groh <linusg@serenityos.org>
|
2021-09-26 14:53:28 +01:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2021-12-13 22:07:04 +00:00
|
|
|
#include <AK/Forward.h>
|
2021-09-26 14:53:28 +01:00
|
|
|
#include <LibJS/Forward.h>
|
|
|
|
|
|
|
|
|
|
namespace Web::Bindings::IDL {
|
|
|
|
|
|
2021-10-24 16:01:24 +02:00
|
|
|
bool is_an_array_index(JS::GlobalObject&, JS::PropertyKey const&);
|
2021-12-13 22:07:04 +00:00
|
|
|
Optional<ByteBuffer> get_buffer_source_copy(JS::Object const& buffer_source);
|
2021-09-26 14:53:28 +01:00
|
|
|
|
|
|
|
|
}
|