mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-31 07:22:50 +00:00
LibWeb: Add missing initialize call to WritableStreamDefaultController
This commit is contained in:
parent
98dadb0ce6
commit
0339ece565
Notes:
github-actions[bot]
2024-11-17 13:52:41 +00:00
Author: https://github.com/shannonbooth
Commit: 0339ece565
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2391
3 changed files with 27 additions and 19 deletions
|
@ -4,6 +4,7 @@
|
|||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <LibWeb/Bindings/Intrinsics.h>
|
||||
#include <LibWeb/Bindings/WritableStreamDefaultControllerPrototype.h>
|
||||
#include <LibWeb/DOM/AbortSignal.h>
|
||||
#include <LibWeb/Streams/WritableStream.h>
|
||||
|
@ -26,6 +27,12 @@ void WritableStreamDefaultController::visit_edges(Visitor& visitor)
|
|||
visitor.visit(m_write_algorithm);
|
||||
}
|
||||
|
||||
void WritableStreamDefaultController::initialize(JS::Realm& realm)
|
||||
{
|
||||
Base::initialize(realm);
|
||||
WEB_SET_PROTOTYPE_FOR_INTERFACE(WritableStreamDefaultController);
|
||||
}
|
||||
|
||||
// https://streams.spec.whatwg.org/#ws-default-controller-error
|
||||
void WritableStreamDefaultController::error(JS::Value error)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue