mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-08 20:22:55 +00:00
Resulting in a massive rename across almost everywhere! Alongside the namespace change, we now have the following names: * JS::NonnullGCPtr -> GC::Ref * JS::GCPtr -> GC::Ptr * JS::HeapFunction -> GC::Function * JS::CellImpl -> GC::Cell * JS::Handle -> GC::Root
28 lines
634 B
C++
28 lines
634 B
C++
/*
|
|
* Copyright (c) 2023, Luke Wilde <lukew@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#include <LibWeb/Bindings/Intrinsics.h>
|
|
#include <LibWeb/Bindings/XMLHttpRequestUploadPrototype.h>
|
|
#include <LibWeb/XHR/XMLHttpRequestUpload.h>
|
|
|
|
namespace Web::XHR {
|
|
|
|
GC_DEFINE_ALLOCATOR(XMLHttpRequestUpload);
|
|
|
|
XMLHttpRequestUpload::XMLHttpRequestUpload(JS::Realm& realm)
|
|
: XMLHttpRequestEventTarget(realm)
|
|
{
|
|
}
|
|
|
|
XMLHttpRequestUpload::~XMLHttpRequestUpload() = default;
|
|
|
|
void XMLHttpRequestUpload::initialize(JS::Realm& realm)
|
|
{
|
|
Base::initialize(realm);
|
|
WEB_SET_PROTOTYPE_FOR_INTERFACE(XMLHttpRequestUpload);
|
|
}
|
|
|
|
}
|