зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1637226
- Part 3: Revert the assertion in ClientSource.cpp back to MOZ_DIAGNOSTIC_ASSERT. r=dimi
Depends on D76732 Differential Revision: https://phabricator.services.mozilla.com/D76733
This commit is contained in:
Родитель
292c69a964
Коммит
8d0fd9b1f8
|
@ -262,9 +262,10 @@ nsresult ClientSource::WindowExecutionReady(nsPIDOMWindowInner* aInnerWindow) {
|
||||||
// continue to inherit the SW as well. We need to avoid triggering the
|
// continue to inherit the SW as well. We need to avoid triggering the
|
||||||
// assertion in this corner case.
|
// assertion in this corner case.
|
||||||
if (mController.isSome()) {
|
if (mController.isSome()) {
|
||||||
MOZ_ASSERT(spec.LowerCaseEqualsLiteral("about:blank") ||
|
MOZ_DIAGNOSTIC_ASSERT(spec.LowerCaseEqualsLiteral("about:blank") ||
|
||||||
StringBeginsWith(spec, NS_LITERAL_CSTRING("blob:")) ||
|
StringBeginsWith(spec, NS_LITERAL_CSTRING("blob:")) ||
|
||||||
StorageAllowedForWindow(aInnerWindow) == StorageAccess::eAllow);
|
StorageAllowedForWindow(aInnerWindow) ==
|
||||||
|
StorageAccess::eAllow);
|
||||||
}
|
}
|
||||||
|
|
||||||
nsPIDOMWindowOuter* outer = aInnerWindow->GetOuterWindow();
|
nsPIDOMWindowOuter* outer = aInnerWindow->GetOuterWindow();
|
||||||
|
|
Загрузка…
Ссылка в новой задаче