This tests the constructor for the DeviceProximityEvent DOM class. On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". FAIL new DeviceProximityEvent('eventType').bubbles should be true. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType').cancelable should be false. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType').value should be Infinity. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType').min should be -Infinity. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType').max should be Infinity. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { bubbles: false }).bubbles should be false. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { bubbles: true }).bubbles should be true. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { cancelable: false }).cancelable should be false. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { cancelable: true }).cancelable should be true. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { value: 0 }).value should be 0. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { value: 1 }).value should be 1. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { value: 1.79769313486231570E+308 }).value should be 1.7976931348623157e+308. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { value: -1.79769313486231570E+308 }).value should be -1.7976931348623157e+308. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { value: 1.8E+308 }).value should be Infinity. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { value: -1.8E+308 }).value should be -Infinity. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { value: 123.45 }).value should be 123.45. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { value: NaN }).value should be NaN. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { value: undefined }).value should be NaN. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { value: null }).value should be 0. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { value: '' }).value should be 0. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { value: '12345' }).value should be 12345. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { value: '12345a' }).value should be NaN. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { value: 'abc' }).value should be NaN. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { value: [] }).value should be 0. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { value: [12345] }).value should be 12345. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { value: [12345, 67890] }).value should be NaN. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { value: {} }).value should be NaN. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { value: {moemoe: 12345} }).value should be NaN. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { value: {valueOf: function () { return 12345; }} }).value should be 12345. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { min: 0 }).min should be 0. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { min: 1 }).min should be 1. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { min: 1.79769313486231570E+308 }).min should be 1.7976931348623157e+308. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { min: -1.79769313486231570E+308 }).min should be -1.7976931348623157e+308. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { min: 1.8E+308 }).min should be Infinity. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { min: -1.8E+308 }).min should be -Infinity. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { min: 123.45 }).min should be 123.45. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { min: NaN }).min should be NaN. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { min: undefined }).min should be NaN. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { min: null }).min should be 0. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { min: '' }).min should be 0. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { min: '12345' }).min should be 12345. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { min: '12345a' }).min should be NaN. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { min: 'abc' }).min should be NaN. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { min: [] }).min should be 0. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { min: [12345] }).min should be 12345. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { min: [12345, 67890] }).min should be NaN. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { min: {} }).min should be NaN. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { min: {moemoe: 12345} }).min should be NaN. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { min: {valueOf: function () { return 12345; }} }).min should be 12345. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { max: 0 }).max should be 0. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { max: 1 }).max should be 1. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { max: 1.79769313486231570E+308 }).max should be 1.7976931348623157e+308. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { max: -1.79769313486231570E+308 }).max should be -1.7976931348623157e+308. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { max: 1.8E+308 }).max should be Infinity. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { max: -1.8E+308 }).max should be -Infinity. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { max: 123.45 }).max should be 123.45. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { max: NaN }).max should be NaN. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { max: undefined }).max should be NaN. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { max: null }).max should be 0. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { max: '' }).max should be 0. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { max: '12345' }).max should be 12345. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { max: '12345a' }).max should be NaN. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { max: 'abc' }).max should be NaN. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { max: [] }).max should be 0. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { max: [12345] }).max should be 12345. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { max: [12345, 67890] }).max should be NaN. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { max: {} }).max should be NaN. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { max: {moemoe: 12345} }).max should be NaN. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { max: {valueOf: function () { return 12345; }} }).max should be 12345. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { bubbles: true, cancelable: true, value: 1000, min: 0, max: 10000 }).bubbles should be true. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { bubbles: true, cancelable: true, value: 1000, min: 0, max: 10000 }).cancelable should be true. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { bubbles: true, cancelable: true, value: 1000, min: 0, max: 10000 }).value should be 1000. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { bubbles: true, cancelable: true, value: 1000, min: 0, max: 10000 }).min should be 0. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent FAIL new DeviceProximityEvent('eventType', { bubbles: true, cancelable: true, value: 1000, min: 0, max: 10000 }).max should be 10000. Threw exception ReferenceError: Can't find variable: DeviceProximityEvent PASS successfullyParsed is true TEST COMPLETE