},
set: function(value) {
if (value < 0)
- throw new DOMExceptionInPrivateScript("IndexSizeError", "The provided value (" + value + ") is negative.");
+ throwException(PrivateScriptDOMException.IndexSizeError, "The provided value (" + value + ") is negative.");
this.setAttribute('scrollamount', value);
},
});
},
set: function(value) {
if (value < 0)
- throw new DOMExceptionInPrivateScript("IndexSizeError", "The provided value (" + value + ") is negative.");
+ throwException(PrivateScriptDOMException.IndexSizeError, "The provided value (" + value + ") is negative.");
this.setAttribute('scrolldelay', value);
},
});
},
set: function(value) {
if (value <= 0 && value != -1)
- throw new DOMExceptionInPrivateScript("IndexSizeError", "The provided value (" + value + ") is neither positive nor -1.");
+ throwException(PrivateScriptDOMException.IndexSizeError, "The provided value (" + value + ") is neither positive nor -1.");
this.setAttribute('loop', value);
},
});