Bug 1187113 - Add more logging around EME promise rejects and method calls that often fail. r=edwin
This commit is contained in:
@@ -4561,7 +4561,8 @@ HTMLMediaElement::SetMediaKeys(mozilla::dom::MediaKeys* aMediaKeys,
|
||||
aRv.Throw(NS_ERROR_UNEXPECTED);
|
||||
return nullptr;
|
||||
}
|
||||
nsRefPtr<DetailedPromise> promise = DetailedPromise::Create(global, aRv);
|
||||
nsRefPtr<DetailedPromise> promise = DetailedPromise::Create(global, aRv,
|
||||
NS_LITERAL_CSTRING("HTMLMediaElement.setMediaKeys"));
|
||||
if (aRv.Failed()) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user