mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-30 03:08:38 +09:00
Merge remote-tracking branch 'origin/master' into custom
This commit is contained in:
commit
75da290189
25 changed files with 2660 additions and 1361 deletions
|
|
@ -4600,8 +4600,12 @@ void HTMLMediaElement::DecodeError(const MediaResult& aError)
|
|||
}
|
||||
} else if (mReadyState == nsIDOMHTMLMediaElement::HAVE_NOTHING) {
|
||||
NoSupportedMediaSourceError(aError.Description());
|
||||
} else {
|
||||
} else if (IsCORSSameOrigin()) {
|
||||
Error(MEDIA_ERR_DECODE, aError.Description());
|
||||
} else {
|
||||
nsAutoCString eMessage;
|
||||
eMessage.AssignLiteral("Failed to decode media");
|
||||
Error(MEDIA_ERR_DECODE, eMessage);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue