Bug 1579835, part 3 - Fix ChromeUtils::RequestProcInfo() with Fission. r=Ehsan

Differential Revision: https://phabricator.services.mozilla.com/D45376

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Andrew McCreight 2019-09-25 22:40:44 +00:00
Родитель 470ee2aab6
Коммит ee312ab55b
2 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -763,7 +763,7 @@ already_AddRefed<Promise> ChromeUtils::RequestProcInfo(GlobalObject& aGlobal,
// Converting the Content Type into a ProcType
nsAutoString processType;
processType.Assign(contentParent->GetRemoteType());
if (processType.EqualsLiteral(DEFAULT_REMOTE_TYPE)) {
if (IsWebRemoteType(processType)) {
type = mozilla::ProcType::Web;
} else if (processType.EqualsLiteral(FILE_REMOTE_TYPE)) {
type = mozilla::ProcType::File;

Просмотреть файл

@ -9,5 +9,4 @@ support-files =
tags = clipboard
skip-if = os == 'android'
[browser_test_procinfo.js]
fail-if = fission
skip-if = os == "android"