diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-05-14 13:17:13 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-05-14 13:17:13 -0700 |
commit | d470387f096d6427720a9c8a61776fa3d276683e (patch) | |
tree | 83e0d3a798308ca139983a621ad96a19c0ecf60b /tests/webidl/post.js | |
parent | b915f42db8e2b454b8b07e0eb7f8a176fefdc534 (diff) |
allow overriding functions with the same name in the parent in webidl binder
Diffstat (limited to 'tests/webidl/post.js')
-rw-r--r-- | tests/webidl/post.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/webidl/post.js b/tests/webidl/post.js index 444efcd1..8056a5ff 100644 --- a/tests/webidl/post.js +++ b/tests/webidl/post.js @@ -5,6 +5,7 @@ var sme = new Module.Parent(42); sme.mulVal(2); Module.print('*') Module.print(sme.getVal()); +sme.parentFunc(90); Module.print('c1'); @@ -16,6 +17,7 @@ Module.print(c1.getValSqr()); Module.print(c1.getValSqr(3)); Module.print(c1.getValTimes()); // default argument should be 1 Module.print(c1.getValTimes(2)); +c1.parentFunc(90); Module.print('c1 v2'); |