зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1653123, don't crash for now if nsISHEntry.hasUserInteraction is used in the parent process, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D83716
This commit is contained in:
Родитель
e702898d75
Коммит
22e60f1257
|
@ -160,14 +160,15 @@ SessionHistoryEntry::SetIsSubFrame(bool aIsSubFrame) {
|
|||
|
||||
NS_IMETHODIMP
|
||||
SessionHistoryEntry::GetHasUserInteraction(bool* aFlag) {
|
||||
MOZ_CRASH("Not needed in the parent process?");
|
||||
return NS_ERROR_FAILURE;
|
||||
NS_WARNING("Not implemented in the parent process!");
|
||||
*aFlag = true;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
SessionHistoryEntry::SetHasUserInteraction(bool aFlag) {
|
||||
MOZ_CRASH("Not needed in the parent process?");
|
||||
return NS_ERROR_FAILURE;
|
||||
NS_WARNING("Not implemented in the parent process!");
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
|
Загрузка…
Ссылка в новой задаче