test/script/basic/JDK-8011578.js.EXPECTED

Wed, 15 May 2013 20:21:59 +0200

author
attila
date
Wed, 15 May 2013 20:21:59 +0200
changeset 270
19e9cd9c7010
parent 0
b1a7da25b547
permissions
-rw-r--r--

8014647: Allow class-based overrides to be initialized with a ScriptFunction
Reviewed-by: hannesw, jlaskey, sundar

     1 o.foo = 33
     2 o.foo = 44
     3 o.foo = 3
     4 o.foo = hello
     5 obj1.func called
     6 obj2.func called
     7 no such method: func
     8 obj4's prototype func called
     9 MyConstructor.prototype.func
    10 MyConstructor.prototype.func
    11 obj1.func called
    12 obj2.func called
    13 new obj3.func called
    14 new obj4.func called
    15 all new MyConstructor.prototype.func
    16 all new MyConstructor.prototype.func
    17 obj.__noSuchProperty__ for foo
    18 new obj.__noSuchProperty__ for foo
    19 proto.__noSuchProperty__ for foo
    20 new proto.__noSuchProperty__ for foo
    21 find
    22 find

mercurial