Coverage Report

Created: 2025-12-18 07:52

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/serenity/Userland/Libraries/LibJS/Runtime/Agent.cpp
Line
Count
Source
1
/*
2
 * Copyright (c) 2023, Tim Flynn <trflynn89@serenityos.org>
3
 *
4
 * SPDX-License-Identifier: BSD-2-Clause
5
 */
6
7
#include <LibJS/Runtime/Agent.h>
8
9
namespace JS {
10
11
// 9.7.2 AgentCanSuspend ( ), https://tc39.es/ecma262/#sec-agentcansuspend
12
bool agent_can_suspend()
13
0
{
14
    // FIXME: 1. Let AR be the Agent Record of the surrounding agent.
15
    // FIXME: 2. Return AR.[[CanBlock]].
16
0
    return true;
17
0
}
18
19
}