nashorn/test/script/basic/JDK-8016618.js.EXPECTED
author psandoz
Tue, 13 Aug 2013 11:16:37 +0200
changeset 19424 c4524285927f
parent 18334 47413e8d71b5
child 24738 be2026c9717c
permissions -rw-r--r--
8022797: Clarify spliterator characteristics for collections containing no elements Reviewed-by: alanb, mduigou
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
18334
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
     1
x = 33
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
     2
func.x = 23
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
     3
func.x = hello
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
     4
global instanceof fObject? true
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
     5
x is wriable ? true
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
     6
x value = 33
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
     7
global's __proto__ [object Object]
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
     8
Object.keys on obj
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
     9
foo
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    10
Object.getOwnProperties on obj
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    11
foo
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    12
bar
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    13
forEach 334
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    14
forEach 55
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    15
forEach 65
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    16
reduceRight cur value 65
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    17
reduceRight cur value 55
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    18
reduceRight cur value 334
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    19
reduceRight 454
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    20
reduce cur value 334
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    21
reduce cur value 55
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    22
reduce cur value 65
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    23
reduce 454
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    24
forEach
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    25
334
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    26
55
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    27
65
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    28
Array.isArray(array)? true
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    29
TypeError: "bar" is not a writable property of [object Object]
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    30
forEach on mirror
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    31
334
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    32
55
47413e8d71b5 8016618: script mirror object access should be improved
sundar
parents:
diff changeset
    33
65