mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 1297648 - Create DOMException for NS_ERROR_MODULE_DOM_MEDIA error codes; r=bz
MozReview-Commit-ID: A8TgQHToCmQ --HG-- extra : rebase_source : 36cbe0ffe5f3aa0167bf5f9512bc631c33593cb7
This commit is contained in:
parent
f42c20c601
commit
03100d8735
@ -196,6 +196,7 @@ CreateException(JSContext* aCx, nsresult aRv, const nsACString& aMessage)
|
||||
case NS_ERROR_MODULE_DOM_BLUETOOTH:
|
||||
case NS_ERROR_MODULE_DOM_ANIM:
|
||||
case NS_ERROR_MODULE_DOM_PUSH:
|
||||
case NS_ERROR_MODULE_DOM_MEDIA:
|
||||
if (aMessage.IsEmpty()) {
|
||||
return DOMException::Create(aRv);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user