From 45679a6c81663756ee2ff73b2d293e9831af1d77 Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Mon, 22 Oct 2012 14:35:08 -0400 Subject: [PATCH] Bug 798187 followup. Actually return our newly-created object from dictionary ToObject. r=peterv --- dom/bindings/Codegen.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dom/bindings/Codegen.py b/dom/bindings/Codegen.py index 9e75e5086610..eb570633241b 100644 --- a/dom/bindings/Codegen.py +++ b/dom/bindings/Codegen.py @@ -5554,6 +5554,8 @@ class CGDictionary(CGThing): "${ensureObject}" "\n" "${defineMembers}\n" + "\n" + " *vp = JS::ObjectValue(*obj);\n" " return true;\n" "}").substitute({ "selfName": self.makeClassName(d),