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

Wed, 04 Jun 2014 16:39:04 +0530

author
sundar
date
Wed, 04 Jun 2014 16:39:04 +0530
changeset 867
85ad3ce0796f
parent 0
b1a7da25b547
child 963
e2497b11a021
permissions
-rw-r--r--

8044750: megamorphic getter for scope objects does not call __noSuchProperty__ hook
Reviewed-by: attila, lagergren, hannesw

     1 x = 33
     2 func.x = 23
     3 func.x = hello
     4 global instanceof fObject? true
     5 x is wriable ? true
     6 x value = 33
     7 global's __proto__ [object Object]
     8 Object.keys on obj
     9 foo
    10 Object.getOwnProperties on obj
    11 foo
    12 bar
    13 forEach 334
    14 forEach 55
    15 forEach 65
    16 reduceRight cur value 65
    17 reduceRight cur value 55
    18 reduceRight cur value 334
    19 reduceRight 454
    20 reduce cur value 334
    21 reduce cur value 55
    22 reduce cur value 65
    23 reduce 454
    24 forEach
    25 334
    26 55
    27 65
    28 Array.isArray(array)? true
    29 TypeError: "bar" is not a writable property of [object Object]
    30 forEach on mirror
    31 334
    32 55
    33 65

mercurial