Bug 934509. Make sure to not accidentally pass 0 to ClearTimeoutOrInterval, even if someone calls clearInterval(0) on an Xray for a Window. r=peterv

This commit is contained in:
Boris Zbarsky 2014-02-07 08:52:01 -05:00
Родитель 496d6c9188
Коммит 99513523d7
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -7005,7 +7005,7 @@ NS_IMETHODIMP
nsGlobalWindow::ClearInterval(int32_t aHandle)
{
ErrorResult rv;
ClearTimeoutOrInterval(aHandle, rv);
ClearInterval(aHandle, rv);
return rv.ErrorCode();
}