mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
* Add pretty printers for `Headers`, `URLSearchParams`, and `FormData` * [untested] Add way to code generate getInternalProperties * bump * Bump Webkit * Ref the event loop while loaded * wip * checkpoint * another checkpoint * The code has been written * Fixup exports * Fix all the errors * Fix bug * [console.log] Fix bug when printing non-reified types missing values * Fix loading hash table * fix plugin * Fix ref & unref * auto-unref * various fixes * Update bun.zig * Set toStringTag * Delete code for macro JSX * Delete code for `bun dev` HTTP JS * Move Bun.serve to C++ API * Delete JSC C API code * ✂️ 💀 code * Use JSC C++ for `confirm`, `Crypto`, `prompt`, `alert` * more dead code * Update exports.zig * Use JSC C++ API for FFI * Remove remaining usages * Remove remaining usages * Update ffi.ts * Update InternalModuleRegistryConstants.h * draw the rest of the owl * Update webcore.zig * bind it * Fix performance regression in crypto.randomUIUD() * Update js_parser.zig --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
15 lines
509 B
C++
15 lines
509 B
C++
#pragma once
|
|
#include <JavaScriptCore/InjectedScriptHost.h>
|
|
|
|
namespace Bun {
|
|
|
|
class BunInjectedScriptHost final : public Inspector::InjectedScriptHost {
|
|
public:
|
|
static Ref<BunInjectedScriptHost> create() { return adoptRef(*new BunInjectedScriptHost); }
|
|
|
|
JSC::JSValue subtype(JSC::JSGlobalObject*, JSC::JSValue) override;
|
|
JSC::JSValue getInternalProperties(JSC::VM&, JSC::JSGlobalObject*, JSC::JSValue) override;
|
|
bool isHTMLAllCollection(JSC::VM&, JSC::JSValue) override { return false; }
|
|
};
|
|
|
|
} |