[gjs/mozjs78: 16/21] JSPropertySpec flags are now private. - Comment out for now until fix is determined.



commit 6f592e3e76997cd1ef1125878340692d033734c7
Author: Evan Welsh <noreply evanwelsh com>
Date:   Sat Jul 4 22:26:40 2020 -0500

    JSPropertySpec flags are now private.
    - Comment out for now until fix is determined.

 gjs/jsapi-dynamic-class.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gjs/jsapi-dynamic-class.cpp b/gjs/jsapi-dynamic-class.cpp
index 3cacb0e3..200c3c59 100644
--- a/gjs/jsapi-dynamic-class.cpp
+++ b/gjs/jsapi-dynamic-class.cpp
@@ -90,8 +90,9 @@ bool gjs_init_class_dynamic(JSContext* context, JS::HandleObject in_object,
     if (clasp->cOps->resolve) {
         JSPropertySpec *ps_iter;
         JSFunctionSpec *fs_iter;
-        for (ps_iter = proto_ps; ps_iter && ps_iter->name; ps_iter++)
-            ps_iter->flags |= JSPROP_RESOLVING;
+        // COMPAT(mozjs78): https://phabricator.services.mozilla.com/D72528
+        // for (ps_iter = proto_ps; ps_iter && ps_iter->name; ps_iter++)
+        //    ps_iter->flags |= JSPROP_RESOLVING;
         for (fs_iter = proto_fs; fs_iter && fs_iter->name; fs_iter++)
             fs_iter->flags |= JSPROP_RESOLVING;
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]