Coverage Report

Created: 2026-07-25 07:46

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/serenity/Userland/Libraries/LibWeb/NavigationTiming/PerformanceTiming.h
Line
Count
Source
1
/*
2
 * Copyright (c) 2021, Andreas Kling <kling@serenityos.org>
3
 *
4
 * SPDX-License-Identifier: BSD-2-Clause
5
 */
6
7
#pragma once
8
9
#include <LibWeb/HTML/Window.h>
10
11
namespace Web::NavigationTiming {
12
13
class PerformanceTiming final : public Bindings::PlatformObject {
14
    WEB_PLATFORM_OBJECT(PerformanceTiming, Bindings::PlatformObject);
15
    JS_DECLARE_ALLOCATOR(PerformanceTiming);
16
17
public:
18
    using AllowOwnPtr = TrueType;
19
20
    ~PerformanceTiming();
21
22
0
    u64 navigation_start() { return 0; }
23
0
    u64 unload_event_start() { return 0; }
24
0
    u64 unload_event_end() { return 0; }
25
0
    u64 redirect_start() { return 0; }
26
0
    u64 redirect_end() { return 0; }
27
0
    u64 fetch_start() { return 0; }
28
0
    u64 domain_lookup_start() { return 0; }
29
0
    u64 domain_lookup_end() { return 0; }
30
0
    u64 connect_start() { return 0; }
31
0
    u64 connect_end() { return 0; }
32
0
    u64 secure_connection_start() { return 0; }
33
0
    u64 request_start() { return 0; }
34
0
    u64 response_start() { return 0; }
35
0
    u64 response_end() { return 0; }
36
0
    u64 dom_loading() { return 0; }
37
0
    u64 dom_interactive() { return 0; }
38
0
    u64 dom_content_loaded_event_start() { return 0; }
39
0
    u64 dom_content_loaded_event_end() { return 0; }
40
0
    u64 dom_complete() { return 0; }
41
0
    u64 load_event_start() { return 0; }
42
0
    u64 load_event_end() { return 0; }
43
44
private:
45
    explicit PerformanceTiming(JS::Realm&);
46
47
    virtual void initialize(JS::Realm&) override;
48
};
49
50
}