From 3f70638b7cc7bfafbf4fb8523280156d73d80d71 Mon Sep 17 00:00:00 2001 From: Ryan Hunt Date: Fri, 3 May 2019 21:51:51 +0000 Subject: [PATCH] Bug 1547812 - Add dom/docs for design documents about the DOM. r=nika Differential Revision: https://phabricator.services.mozilla.com/D29251 --HG-- extra : moz-landing-system : lando --- dom/docs/Fission-IPC-Diagram.svg | 2 ++ dom/docs/Fission.rst | 13 +++++++++++++ dom/docs/index.rst | 9 +++++++++ dom/moz.build | 1 + 4 files changed, 25 insertions(+) create mode 100644 dom/docs/Fission-IPC-Diagram.svg create mode 100644 dom/docs/Fission.rst create mode 100644 dom/docs/index.rst diff --git a/dom/docs/Fission-IPC-Diagram.svg b/dom/docs/Fission-IPC-Diagram.svg new file mode 100644 index 000000000000..4ca5147ad8ce --- /dev/null +++ b/dom/docs/Fission-IPC-Diagram.svg @@ -0,0 +1,2 @@ + +
Browser Process
Browser Process
Content Process
<div>Content Process</div>
Content Process
<div>Content Process</div>
<xul:browser src="a.com"/>
nsFrameLoader
[Not supported by viewer]
PBrowser
[Not supported by viewer]
BrowserParent
BrowserParent
BrowserChild
BrowserChild
nsWebBrowser
nsWebBrowser
<iframe src="b.com"/>
nsFrameLoader
[Not supported by viewer]
PBrowserBridge
PBrowserBridge
BrowserBridgeChild
BrowserBridgeChild
PBrowser
[Not supported by viewer]
BrowserParent
BrowserParent
BrowserChild
BrowserChild
PBrowser
[Not supported by viewer]
BrowserParent
BrowserParent
BrowserChild
BrowserChild
BrowserBridgeParent
BrowserBridgeParent
BrowserBridgeParent
BrowserBridgeParent
nsWebBrowser
nsWebBrowser
nsWebBrowser
nsWebBrowser
<iframe src="a.com"/>
nsFrameLoader
[Not supported by viewer]
PBrowserBridge
PBrowserBridge
BrowserBridgeChild
BrowserBridgeChild

Gecko IPC for Fission

Example:
<xul:browser src="a.com"/>
  <iframe src="b.com"/>
    <iframe src="a.com"/>

[Not supported by viewer]
\ No newline at end of file diff --git a/dom/docs/Fission.rst b/dom/docs/Fission.rst new file mode 100644 index 000000000000..ede73aa47073 --- /dev/null +++ b/dom/docs/Fission.rst @@ -0,0 +1,13 @@ +Fission +======= + +Fission is a cross-functional project for revamping and strengthening the architecture of the Firefox browser. + +The work is tracked under this bug (https://bugzilla.mozilla.org/show_bug.cgi?id=fission). See this Wiki page for more details (https://wiki.mozilla.org/Project_Fission). + +We don't have an all-encompassing design document at this time. This may change in the future. + +IPC Diagram +----------- + +.. image:: Fission-IPC-Diagram.svg diff --git a/dom/docs/index.rst b/dom/docs/index.rst new file mode 100644 index 000000000000..f482fd567a52 --- /dev/null +++ b/dom/docs/index.rst @@ -0,0 +1,9 @@ +DOM +=== + +These linked pages contain design documents for the DOM implementation in Gecko. They live in-tree under the 'dom/docs' directory. + +.. toctree:: + :maxdepth: 1 + + Fission diff --git a/dom/moz.build b/dom/moz.build index a4257f5ca06f..ffd9742f73a7 100644 --- a/dom/moz.build +++ b/dom/moz.build @@ -121,3 +121,4 @@ TEST_DIRS += [ if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('gtk3', 'cocoa', 'windows'): TEST_DIRS += ['plugins/test'] +SPHINX_TREES['dom'] = 'docs'