Bug 707564 followup. Update to new saner JSAPI, fixing merge bustage and ridding us of this pestilential CLOSED TREE. r=bustage
authorBoris Zbarsky <bzbarsky@mit.edu>
Sun, 04 Aug 2013 00:11:30 -0400
changeset 153606 aab25110bbc33476c64f8ef6fd7aeda635193b6a
parent 153605 a630b8d2a4a73b1c283b2cbfb28fca9c48cfd24c
child 153607 0868beaeab71617b34ec42dcac6dbb8a42ad9de0
push id2859
push userakeybl@mozilla.com
push dateMon, 16 Sep 2013 19:14:59 +0000
treeherdermozilla-beta@87d3c51cd2bf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs707564
milestone25.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 707564 followup. Update to new saner JSAPI, fixing merge bustage and ridding us of this pestilential CLOSED TREE. r=bustage
dom/bindings/Codegen.py
--- a/dom/bindings/Codegen.py
+++ b/dom/bindings/Codegen.py
@@ -5387,17 +5387,17 @@ class CGEnumerateHook(CGAbstractBindingM
                 "ErrorResult rv;\n"
                 "self->GetOwnPropertyNames(cx, names, rv);\n"
                 "rv.WouldReportJSException();\n"
                 "if (rv.Failed()) {\n"
                 '  return ThrowMethodFailedWithDetails<true>(cx, rv, "%s", "enumerate");\n'
                 "}\n"
                 "JS::Rooted<JS::Value> dummy(cx);\n"
                 "for (uint32_t i = 0; i < names.Length(); ++i) {\n"
-                "  if (!JS_LookupUCProperty(cx, obj, names[i].get(), names[i].Length(), dummy.address())) {\n"
+                "  if (!JS_LookupUCProperty(cx, obj, names[i].get(), names[i].Length(), &dummy)) {\n"
                 "    return false;\n"
                 "  }\n"
                 "}\n"
                 "return true;"))
 
 class CppKeywords():
     """
     A class for checking if method names declared in webidl