☠☠ backed out by d890454d6684 ☠ ☠ | |
author | Nika Layzell <nika@thelayzells.com> |
Mon, 06 Jul 2020 20:27:04 +0000 | |
changeset 539227 | 8959d02b840f97944c8383bcff1363431ef8e9fb |
parent 539226 | 940a19c60317f878483c287223c61cc5660f18d8 |
child 539228 | 5b217aa88289d7f6a9766cef24649e43470052ee |
push id | 120999 |
push user | nlayzell@mozilla.com |
push date | Tue, 07 Jul 2020 23:52:01 +0000 |
treeherder | autoland@830aa93d2b0c [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | kmag |
bugs | 1649477 |
milestone | 80.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
rename from dom/ipc/JSProcessActorChild.cpp rename to dom/ipc/jsactor/JSProcessActorChild.cpp --- a/dom/ipc/JSProcessActorChild.cpp +++ b/dom/ipc/jsactor/JSProcessActorChild.cpp @@ -2,16 +2,17 @@ /* vim:set ts=2 sw=2 sts=2 et cindent: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "mozilla/dom/JSProcessActorBinding.h" #include "mozilla/dom/JSProcessActorChild.h" #include "mozilla/dom/InProcessChild.h" +#include "mozilla/dom/InProcessParent.h" namespace mozilla { namespace dom { NS_IMPL_CYCLE_COLLECTION_INHERITED(JSProcessActorChild, JSActor, mManager) NS_IMPL_CYCLE_COLLECTION_TRACE_BEGIN_INHERITED(JSProcessActorChild, JSActor) NS_IMPL_CYCLE_COLLECTION_TRACE_END
rename from dom/ipc/JSProcessActorParent.cpp rename to dom/ipc/jsactor/JSProcessActorParent.cpp --- a/dom/ipc/JSProcessActorParent.cpp +++ b/dom/ipc/jsactor/JSProcessActorParent.cpp @@ -1,16 +1,18 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim:set ts=2 sw=2 sts=2 et cindent: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #include "mozilla/dom/JSProcessActorBinding.h" #include "mozilla/dom/JSProcessActorParent.h" +#include "mozilla/dom/InProcessChild.h" +#include "mozilla/dom/InProcessParent.h" namespace mozilla { namespace dom { NS_IMPL_CYCLE_COLLECTION_INHERITED(JSProcessActorParent, JSActor, mManager) NS_IMPL_CYCLE_COLLECTION_TRACE_BEGIN_INHERITED(JSProcessActorParent, JSActor) NS_IMPL_CYCLE_COLLECTION_TRACE_END
new file mode 100644 --- /dev/null +++ b/dom/ipc/jsactor/moz.build @@ -0,0 +1,35 @@ +# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- +# vim: set filetype=python: +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +EXPORTS.mozilla.dom += [ + 'JSActor.h', + 'JSActorService.h', + 'JSProcessActorChild.h', + 'JSProcessActorParent.h', + 'JSProcessActorProtocol.h', + 'JSWindowActorChild.h', + 'JSWindowActorParent.h', + 'JSWindowActorProtocol.h', +] + +UNIFIED_SOURCES += [ + 'JSActor.cpp', + 'JSActorService.cpp', + 'JSProcessActorChild.cpp', + 'JSProcessActorParent.cpp', + 'JSProcessActorProtocol.cpp', + 'JSWindowActorChild.cpp', + 'JSWindowActorParent.cpp', + 'JSWindowActorProtocol.cpp', +] + +LOCAL_INCLUDES += [ + '/js/xpconnect/src', +] + +include('/ipc/chromium/chromium-config.mozbuild') + +FINAL_LIBRARY = 'xul'
--- a/dom/ipc/moz.build +++ b/dom/ipc/moz.build @@ -2,16 +2,18 @@ # vim: set filetype=python: # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. with Files("**"): BUG_COMPONENT = ("Core", "DOM: Content Processes") +DIRS += ['jsactor'] + XPIDL_SOURCES += [ 'nsIDOMProcessChild.idl', 'nsIDOMProcessParent.idl', 'nsIHangReport.idl', ] XPIDL_MODULE = 'dom' @@ -45,24 +47,16 @@ EXPORTS.mozilla.dom += [ 'ContentProcess.h', 'ContentProcessManager.h', 'CSPMessageUtils.h', 'DocShellMessageUtils.h', 'EffectsInfo.h', 'FilePickerParent.h', 'InProcessChild.h', 'InProcessParent.h', - 'JSActor.h', - 'JSActorService.h', - 'JSProcessActorChild.h', - 'JSProcessActorParent.h', - 'JSProcessActorProtocol.h', - 'JSWindowActorChild.h', - 'JSWindowActorParent.h', - 'JSWindowActorProtocol.h', 'MaybeDiscarded.h', 'MemoryReportRequest.h', 'PermissionMessageUtils.h', 'ProcessActor.h', 'PropertyBagUtils.h', 'ReferrerInfoUtils.h', 'RefMessageBodyService.h', 'RemoteBrowser.h', @@ -103,24 +97,16 @@ UNIFIED_SOURCES += [ 'ColorPickerParent.cpp', 'ContentParent.cpp', 'ContentProcess.cpp', 'ContentProcessManager.cpp', 'CSPMessageUtils.cpp', 'DocShellMessageUtils.cpp', 'FilePickerParent.cpp', 'InProcessImpl.cpp', - 'JSActor.cpp', - 'JSActorService.cpp', - 'JSProcessActorChild.cpp', - 'JSProcessActorParent.cpp', - 'JSProcessActorProtocol.cpp', - 'JSWindowActorChild.cpp', - 'JSWindowActorParent.cpp', - 'JSWindowActorProtocol.cpp', 'MemMapSnapshot.cpp', 'MemoryReportRequest.cpp', 'MMPrinter.cpp', 'PermissionMessageUtils.cpp', 'PreallocatedProcessManager.cpp', 'ProcessActor.cpp', 'ProcessPriorityManager.cpp', 'PropertyBagUtils.cpp',