1 This page tests what happens when a getter / setter on the window object conflicts with another property or declared variable
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
7 PASS typeof window.__lookupGetter__('x') is 'undefined'
8 PASS typeof Object.getOwnPropertyDescriptor(window, 'x').get is 'undefined'
11 PASS typeof window.__lookupGetter__('x') is 'undefined'
12 PASS typeof Object.getOwnPropertyDescriptor(window, 'x').get is 'undefined'
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'
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'
22 PASS window.z is undefined.
23 PASS typeof window.__lookupSetter__('z') is 'function'
24 PASS typeof Object.getOwnPropertyDescriptor(window, 'z').set is 'function'