- From: Mercurial notifier <cvsmail@w3.org>
- Date: Tue, 17 Jul 2012 12:46:48 +0000
- To: public-dap-commits@w3.org
changeset: 167:07c94a3f7c72 tag: tip user: Marcos Caceres <w3c@marcosc.com> date: Tue Jul 17 13:46:39 2012 +0100 files: proximity/tests/submissions/marcos/DeviceProximityEvent_tests.js description: removed property check tests diff -r f168630fdee3 -r 07c94a3f7c72 proximity/tests/submissions/marcos/DeviceProximityEvent_tests.js --- a/proximity/tests/submissions/marcos/DeviceProximityEvent_tests.js Tue Jul 17 13:21:20 2012 +0100 +++ b/proximity/tests/submissions/marcos/DeviceProximityEvent_tests.js Tue Jul 17 13:46:39 2012 +0100 @@ -174,67 +174,6 @@ assert_readonly(event, 'max', 'readonly attribute max'); }, 'max attribute is readonly'); - - test(function() { - var dic = { - min: 3, - max: 7, - value: 13 - }, - event = new DeviceProximityEvent('test', dic), - props = { - writable: false, - enumerable: true, - configurable: true - }, - eProps = Object.getOwnPropertyDescriptor(event, 'max'), - writable = eProps.writable === props.writable, - enumerable = eProps.enumerable === props.enumerable, - config = eProps.configurable === props.configurable; - assert_true(writable && enumerable && config); - }, 'min props check'); - - test(function() { - //the max attribute - var dic = { - min: 3, - max: 7, - value: 13 - }, - event = new DeviceProximityEvent('test', dic), - props = { - writable: false, - enumerable: true, - configurable: true - }, - eProps = Object.getOwnPropertyDescriptor(event, 'max'), - writable = eProps.writable === props.writable, - enumerable = eProps.enumerable === props.enumerable, - config = eProps.configurable === props.configurable; - - assert_true(writable && enumerable && config); - - }, 'max props check'); - - test(function() { - var dic = { - min: 3, - max: 7, - value: 13 - }, - event = new DeviceProximityEvent('test', dic), - props = { - writable: false, - enumerable: true, - configurable: true - }, - eProps = Object.getOwnPropertyDescriptor(event, 'value'), - writable = eProps.writable === props.writable, - enumerable = eProps.enumerable === props.enumerable, - config = eProps.configurable === props.configurable; - - assert_true(writable && enumerable && config); - }, 'value props check'); test(function() { var desc = 'Expected to find ondeviceproximity attribute on window object'; assert_idl_attribute(window, 'ondeviceproximity', desc);
Received on Tuesday, 17 July 2012 12:46:57 UTC