mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 23:08:39 +09:00
Issue #1442 - Part 3: Implement ReadableStream and associated classes in the JS engine. https://bugzilla.mozilla.org/show_bug.cgi?id=1272697
This commit is contained in:
parent
62467428a3
commit
54e84f0f1d
13 changed files with 5178 additions and 5 deletions
|
|
@ -36,6 +36,7 @@
|
|||
#include "builtin/Promise.h"
|
||||
#include "builtin/Reflect.h"
|
||||
#include "builtin/SelfHostingDefines.h"
|
||||
#include "builtin/Stream.h"
|
||||
#include "builtin/TypedObject.h"
|
||||
#include "builtin/WeakSetObject.h"
|
||||
#include "gc/Marking.h"
|
||||
|
|
@ -71,7 +72,6 @@ using JS::AutoCheckCannotGC;
|
|||
using mozilla::IsInRange;
|
||||
using mozilla::Maybe;
|
||||
using mozilla::PodMove;
|
||||
using mozilla::Maybe;
|
||||
|
||||
static void
|
||||
selfHosting_WarningReporter(JSContext* cx, JSErrorReport* report)
|
||||
|
|
@ -2490,6 +2490,9 @@ static const JSFunctionSpec intrinsic_functions[] = {
|
|||
JS_FN("CallWeakSetMethodIfWrapped",
|
||||
CallNonGenericSelfhostedMethod<Is<WeakSetObject>>, 2, 0),
|
||||
|
||||
JS_FN("IsReadableStreamBYOBRequest",
|
||||
intrinsic_IsInstanceOfBuiltin<ReadableStreamBYOBRequest>, 1, 0),
|
||||
|
||||
// See builtin/TypedObject.h for descriptors of the typedobj functions.
|
||||
JS_FN("NewOpaqueTypedObject", js::NewOpaqueTypedObject, 1, 0),
|
||||
JS_FN("NewDerivedTypedObject", js::NewDerivedTypedObject, 3, 0),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue