DescriptionCustom elements should have class side inheritance.
We were not setting the __proto__ property of the generated constructor
so the generated class didn't inherit from the passed class which meant
that statics were not available.
This patch adds the missing call to setPrototype (which sets __proto__).
R=eseidel@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/88487174d62376e7a9365d3e1192673618b0ba6e
Patch Set 1 #Patch Set 2 : better test name. #
Total comments: 2
Messages
Total messages: 6 (2 generated)
|