/* * Copyright (c) 2025, Jelle Raaijmakers * * SPDX-License-Identifier: BSD-2-Clause */ #include #include #include namespace Web::Geolocation { GC_DEFINE_ALLOCATOR(GeolocationPositionError); GeolocationPositionError::GeolocationPositionError(JS::Realm& realm, ErrorCode code, String message) : PlatformObject(realm) , m_code(code) , m_message(move(message)) { } void GeolocationPositionError::initialize(JS::Realm& realm) { WEB_SET_PROTOTYPE_FOR_INTERFACE(GeolocationPositionError); Base::initialize(realm); } }