tizen beta release
[profile/ivi/webkit-efl.git] / LayoutTests / fast / dom / getter-on-window-object2-expected.txt
1 This page tests what happens when a getter / setter on the window object conflicts with another property or declared variable
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6 PASS window.x is 1
7 PASS typeof window.__lookupGetter__('x') is 'undefined'
8 PASS typeof Object.getOwnPropertyDescriptor(window, 'x').get is 'undefined'
9
10 PASS window.x is 2
11 PASS typeof window.__lookupGetter__('x') is 'undefined'
12 PASS typeof Object.getOwnPropertyDescriptor(window, 'x').get is 'undefined'
13
14 PASS window.y is 'window.y __getter__'
15 PASS typeof window.__lookupGetter__('y') is 'function'
16 PASS typeof Object.getOwnPropertyDescriptor(window, 'y').get is 'function'
17
18 PASS window.y is 'window.y __getter__'
19 PASS typeof window.__lookupGetter__('y') is 'function'
20 PASS typeof Object.getOwnPropertyDescriptor(window, 'y').get is 'function'
21
22 PASS window.z is undefined.
23 PASS typeof window.__lookupSetter__('z') is 'function'
24 PASS typeof Object.getOwnPropertyDescriptor(window, 'z').set is 'function'
25