nashorn/test/script/README
author sundar
Fri, 20 Sep 2013 22:37:08 +0530 (2013-09-20)
changeset 20219 809c0f893cb0
parent 16221 38ac51eba133
permissions -rw-r--r--
8025149: JSON.stringify does not handle 'space' argument as per the spec. Reviewed-by: jlaskey, hannesw
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16221
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
     1
basic:
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
     2
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
     3
"basic" language and library tests. These need run only with File read 
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
     4
permission to read files under "test/script" or subdirs and property read
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
     5
permission to read properties named "nashorn.test.*"
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
     6
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
     7
error:
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
     8
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
     9
scripts that should result in compile-time error. The expected files check
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
    10
for the error message format etc.
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
    11
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
    12
currently-failing: 
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
    13
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
    14
Tests that fail currently - but should pass eventually.
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
    15
These are excluded for now.
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
    16
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
    17
sandbox:
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
    18
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
    19
Tests to check that sandbox scripts cannot access security sensitive resources.
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
    20
Scripts under this directory run with no special permissions other than
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
    21
what is given to all "sandbox" scripts.
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
    22
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
    23
trusted:
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
    24
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
    25
These tests run under AllPermission. Put only those scripts that really need
38ac51eba133 8007715: Make sure that not all tests run with AllPermission
sundar
parents:
diff changeset
    26
AllPermission - say for eg. creating class loader, full reflective access.