fixed bad asyc tests - should be using assert_idl_attribute instead of assert_own_property
--- a/light/tests/submissions/marcosc/DeviceLight_tests.js Tue Jul 17 21:36:19 2012 +0100
+++ b/light/tests/submissions/marcosc/DeviceLight_tests.js Tue Jul 24 14:18:56 2012 +0100
@@ -320,7 +320,7 @@
t.step(function() {
var msg = 'expected instance of DeviceLightEvent: ';
assert_true(e instanceof window.DeviceLightEvent, msg);
- assert_own_property(e, 'value', 'event has value property');
+ assert_idl_attribute(e, 'value', 'event has value property');
});
t.done();
});
@@ -330,7 +330,7 @@
t2.step(function() {
var msg = 'expected instance of DeviceLightEvent: ';
assert_true(e instanceof window.DeviceLightEvent, msg);
- assert_own_property(e, 'value', 'event has value property');
+ assert_idl_attribute(e, 'value', 'event has value property');
});
t2.done();
};