--- 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);