Coverage Report

Created: 2025-11-02 07:25

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/serenity/Userland/Libraries/LibWeb/WebAudio/PeriodicWave.cpp
Line
Count
Source
1
/*
2
 * Copyright (c) 2024, Shannon Booth <shannon@serenityos.org>
3
 *
4
 * SPDX-License-Identifier: BSD-2-Clause
5
 */
6
7
#include <LibWeb/Bindings/Intrinsics.h>
8
#include <LibWeb/Bindings/PeriodicWavePrototype.h>
9
#include <LibWeb/WebAudio/PeriodicWave.h>
10
#include <LibWeb/WebIDL/ExceptionOr.h>
11
12
namespace Web::WebAudio {
13
14
JS_DEFINE_ALLOCATOR(PeriodicWave);
15
16
// https://webaudio.github.io/web-audio-api/#dom-periodicwave-periodicwave
17
WebIDL::ExceptionOr<JS::NonnullGCPtr<PeriodicWave>> PeriodicWave::construct_impl(JS::Realm& realm, JS::NonnullGCPtr<BaseAudioContext>, PeriodicWaveOptions const&)
18
0
{
19
0
    return WebIDL::NotSupportedError::create(realm, "FIXME: Implement PeriodicWave::construct_impl"_string);
20
0
}
21
22
0
PeriodicWave::~PeriodicWave() = default;
23
24
void PeriodicWave::initialize(JS::Realm& realm)
25
0
{
26
0
    Base::initialize(realm);
27
0
    WEB_SET_PROTOTYPE_FOR_INTERFACE(PeriodicWave);
28
0
}
29
30
void PeriodicWave::visit_edges(Cell::Visitor& visitor)
31
0
{
32
0
    Base::visit_edges(visitor);
33
0
}
34
35
}