GCC Code Coverage Report
Directory: ./ Exec Total Coverage
File: node_shadow_realm.cc Lines: 2 2 100.0 %
Date: 2022-05-17 04:15:46 Branches: 0 0 - %

Line Branch Exec Source
1
#include "node_shadow_realm.h"
2
3
namespace node {
4
namespace shadow_realm {
5
using v8::Context;
6
using v8::Local;
7
using v8::MaybeLocal;
8
9
// static
10
1
MaybeLocal<Context> HostCreateShadowRealmContextCallback(
11
    Local<Context> initiator_context) {
12
3
  return Context::New(initiator_context->GetIsolate());
13
}
14
15
}  // namespace shadow_realm
16
}  // namespace node