-
Notifications
You must be signed in to change notification settings - Fork 31
Open
Labels
Description
Firefox is not detecting new input elements if it has disabled attribute.
I have added the following test case in test.js and it failed in firefox.
it('should react to a disabled input', function() {
var callback = jasmine.createSpy('callback');
runs(function() {
insertionQ('input[type="checkbox"]').every(callback);
});
waits(200);
runs(function() {
var el = document.createElement('input');
el.type = 'checkbox';
el.disabled = true;
document.body.appendChild(el);
});
waits(200); //just to be sure
runs(function() {
expect(callback.calls.length).toEqual(1);
});
});
Reactions are currently unavailable