forked from chakra-core/ChakraCore
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathObject.baseline
More file actions
11 lines (11 loc) · 887 Bytes
/
Object.baseline
File metadata and controls
11 lines (11 loc) · 887 Bytes
1
2
3
4
5
6
7
8
9
10
11
(test 1): Object getOwnPropertyDescriptor throws TypeError when the first parameter is either null or undefined
Success: Expected Object getOwnPropertyDescriptor throws TypeError when 1st parameter is null = true, got true
Success: Expected Object getOwnPropertyDescriptor throws TypeError when 1st parameter is undefined = true, got true
PASS
(test 2): Freezing an object with deleted properties
PASS
(test 3): Object getOwnPropertyDescriptor works fine when the first parameter is a built-in type except null or undefined
Success: Expected Object getOwnPropertyDescriptor does not throw when 1st parameter is boolean = undefined, got undefined
Success: Expected Object getOwnPropertyDescriptor does not throw when 1st parameter is number = undefined, got undefined
Success: Expected Object getOwnPropertyDescriptor works fine when 1st parameter is string = 3, got 3
PASS