blob: 90798db515a55e67113be9b244f86f24abae794b [file] [log] [blame]
Tests the optional properties of DeviceProximityEvent. Each property should be null if not set, or set to null or undefined.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
event = document.createEvent('DeviceProximityEvent')
PASS event.value == Number.POSITIVE_INFINITY is true
PASS event.min == Number.NEGATIVE_INFINITY is true
PASS event.max == Number.POSITIVE_INFINITY is true
PASS successfullyParsed is true