Opened 12 years ago

Closed 12 years ago

#3110 closed defect (fixed)

0.9: Declare inheritExplicitCall falling on all browsers

Reported by: Jared Jurkiewicz Owned by: sjmiles
Priority: high Milestone: 0.9beta
Component: General Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

0.9: Declare inheritExplicitCall falling on all browsers

UT is failing in all browsers for one of the declare tests

[object Object]: name argument ("bar") to inherited must match callee (declare.js)

ERROR IN:

(function inheritedExplicitCall(t) {var foo = "xyzzy";dojo.declare("tests._base.declare.tmp14", null, {foo:"thonk", bar:function (arg1, arg2) {if (arg1) {this.foo = arg1;}if (arg2) {foo = arg2;}}});dojo.declare("tests._base.declare.tmp15", tests._base.declare.tmp14, function () {this.foo = "blah";}, {bar:function (arg1, arg2) {this.inherited("bar", [arg2, arg1], arguments.callee);}, baz:function (arg1, arg2) {this.inherited("bar", arguments, tests._base.declare.tmp15.prototype.bar);}});var tmp = new tests._base.declare.tmp15;t.is("blah", tmp.foo);t.is("xyzzy", foo);tmp.baz("zot");t.is("zot", tmp.foo);t.is("xyzzy", foo);tmp.bar("trousers", "squiggle");t.is("squiggle", tmp.foo);t.is("trousers", foo);})

FAILED test: inheritedExplicitCall ------------------------------------------------------------

Change History (3)

comment:1 Changed 12 years ago by sjmiles

(In [8705]) Messed up and forgot to commit updated test. Refs #3110, #3030.

comment:2 Changed 12 years ago by Adam Peller

Owner: changed from anonymous to sjmiles

Scott, is this one yours?

comment:3 Changed 12 years ago by sjmiles

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.