summaryrefslogtreecommitdiff
path: root/js/src/jsapi.h
diff options
context:
space:
mode:
authorJob Bautista <jobbautista9@aol.com>2023-05-10 19:10:41 +0800
committerJob Bautista <jobbautista9@aol.com>2023-05-12 16:26:04 +0800
commit30b5a4d830294cd7496853e449cb5b634ed53fce (patch)
treeaa3c0cd078917105af2d6ad1d813641cf7442234 /js/src/jsapi.h
parentaed983c97b6a5f8faf40576d742ab14729df099d (diff)
downloaduxp-30b5a4d830294cd7496853e449cb5b634ed53fce.tar.gz
Issue #2241 - Part 1: Move {js::,JS_}{{Strictly,Loosely}Equal,SameValue} into their own header and implementation files
Backported from Mozilla bug 1516742. The .from* methods are going to depend on SameValueZero, which needs to be visible to /dom. This patch provides the foundation for that.
Diffstat (limited to 'js/src/jsapi.h')
-rw-r--r--js/src/jsapi.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/js/src/jsapi.h b/js/src/jsapi.h
index a6a5429cf5..923aa2bb05 100644
--- a/js/src/jsapi.h
+++ b/js/src/jsapi.h
@@ -959,15 +959,6 @@ InformalValueTypeName(const JS::Value& v);
} /* namespace JS */
-extern JS_PUBLIC_API(bool)
-JS_StrictlyEqual(JSContext* cx, JS::Handle<JS::Value> v1, JS::Handle<JS::Value> v2, bool* equal);
-
-extern JS_PUBLIC_API(bool)
-JS_LooselyEqual(JSContext* cx, JS::Handle<JS::Value> v1, JS::Handle<JS::Value> v2, bool* equal);
-
-extern JS_PUBLIC_API(bool)
-JS_SameValue(JSContext* cx, JS::Handle<JS::Value> v1, JS::Handle<JS::Value> v2, bool* same);
-
/** True iff fun is the global eval function. */
extern JS_PUBLIC_API(bool)
JS_IsBuiltinEvalFunction(JSFunction* fun);