Bug 1224007 part 4. Fix some cases in which ErrorResult instances are destroyed without doing anything useful with exceptions on them. r=peterv

This commit is contained in:
Boris Zbarsky
2015-11-20 16:29:41 -05:00
parent c7c13d9790
commit 11cee47d40
10 changed files with 19 additions and 4 deletions

View File

@@ -2409,6 +2409,7 @@ HTMLMediaElement::WakeLockRelease()
if (mWakeLock) {
ErrorResult rv;
mWakeLock->Unlock(rv);
rv.SuppressException();
mWakeLock = nullptr;
}
}