зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
496d6c9188
Коммит
99513523d7
|
@ -7005,7 +7005,7 @@ NS_IMETHODIMP
|
|||
nsGlobalWindow::ClearInterval(int32_t aHandle)
|
||||
{
|
||||
ErrorResult rv;
|
||||
ClearTimeoutOrInterval(aHandle, rv);
|
||||
ClearInterval(aHandle, rv);
|
||||
|
||||
return rv.ErrorCode();
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче