Bug 1315842 - Replace reference to JS::AutoIdArray and JSIdArray. r=jonco
authorGeorg Kilzer <leper@wildfiregames.com>
Tue, 08 Nov 2016 15:49:21 +0100
changeset 351798 dc62051be9c5671300d1c5d45307ea40e79a2719
parent 351797 9ae69a2f818dcc3f37a5966b33da433976b03906
child 351799 b1c5df3c47a43ee29860f845238bcf0ebb355193
push id6795
push userjlund@mozilla.com
push dateMon, 23 Jan 2017 14:19:46 +0000
treeherdermozilla-esr52@76101b503191 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjonco
bugs1315842, 1191529
milestone52.0a1
Bug 1315842 - Replace reference to JS::AutoIdArray and JSIdArray. r=jonco Both were removed in Bug 1191529.
js/src/jsapi.h
--- a/js/src/jsapi.h
+++ b/js/src/jsapi.h
@@ -3218,18 +3218,18 @@ JS_DeleteElement(JSContext* cx, JS::Hand
  *     var result = [];
  *     for (key in obj)
  *         result.push(key);
  *     return result;
  *
  * This is the closest thing we currently have to the ES6 [[Enumerate]]
  * internal method.
  *
- * The JSIdArray returned by JS_Enumerate must be rooted to protect its
- * contents from garbage collection. Use JS::AutoIdArray.
+ * The array of ids returned by JS_Enumerate must be rooted to protect its
+ * contents from garbage collection. Use JS::Rooted<JS::IdVector>.
  */
 extern JS_PUBLIC_API(bool)
 JS_Enumerate(JSContext* cx, JS::HandleObject obj, JS::MutableHandle<JS::IdVector> props);
 
 /*
  * API for determining callability and constructability. [[Call]] and
  * [[Construct]] are internal methods that aren't present on all objects, so it
  * is useful to ask if they are there or not. The standard itself asks these