зеркало из https://github.com/mozilla/gecko-dev.git
Bug 798187 followup. Actually return our newly-created object from dictionary ToObject. r=peterv
This commit is contained in:
Родитель
acf2831104
Коммит
45679a6c81
|
@ -5554,6 +5554,8 @@ class CGDictionary(CGThing):
|
||||||
"${ensureObject}"
|
"${ensureObject}"
|
||||||
"\n"
|
"\n"
|
||||||
"${defineMembers}\n"
|
"${defineMembers}\n"
|
||||||
|
"\n"
|
||||||
|
" *vp = JS::ObjectValue(*obj);\n"
|
||||||
" return true;\n"
|
" return true;\n"
|
||||||
"}").substitute({
|
"}").substitute({
|
||||||
"selfName": self.makeClassName(d),
|
"selfName": self.makeClassName(d),
|
||||||
|
|
Загрузка…
Ссылка в новой задаче