[proximity] Tests and ref imp

An initial JS reference implementation of both proximity specs:
https://github.com/marcoscaceres/proximitysensor

(Does not implement the event dispatching yet; will add that tonight or 
tomorrow).

Also, an initial test suites are available for testing the WebIDL 
conformance:
https://github.com/marcoscaceres/proximitysensor/blob/master/UserProximityEvent_tests.js
https://github.com/marcoscaceres/proximitysensor/blob/master/DeviceProximityEvent_tests.js

Review of the tests would be welcomed.

Received on Monday, 21 May 2012 15:13:17 UTC