From 6d93692bc529c866046a7a4636aff4b5afbcc917 Mon Sep 17 00:00:00 2001 From: Shannon Booth Date: Mon, 19 Jun 2023 19:52:44 +1200 Subject: [PATCH] LibWeb: Add IDL definition for 'Function' This is used in ByteLengthQueuingStrategy and CountQueuingStrategy in the Streams spec. --- Userland/Libraries/LibWeb/WebIDL/Function.idl | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 Userland/Libraries/LibWeb/WebIDL/Function.idl diff --git a/Userland/Libraries/LibWeb/WebIDL/Function.idl b/Userland/Libraries/LibWeb/WebIDL/Function.idl new file mode 100644 index 0000000000..ef7d3a350e --- /dev/null +++ b/Userland/Libraries/LibWeb/WebIDL/Function.idl @@ -0,0 +1,4 @@ +// https://webidl.spec.whatwg.org/#Function + +// FIXME: This should be a builtin type. +callback Function = any (any... arguments);