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 321686 dc62051be9c5671300d1c5d45307ea40e79a2719
parent 321685 9ae69a2f818dcc3f37a5966b33da433976b03906
child 321687 b1c5df3c47a43ee29860f845238bcf0ebb355193
push id83651
push userryanvm@gmail.com
push dateTue, 08 Nov 2016 22:56:44 +0000
treeherdermozilla-inbound@b1c5df3c47a4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjonco
bugs1315842, 1191529
milestone52.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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