Граф коммитов

64 Коммитов

Автор SHA1 Сообщение Дата
Nika Layzell 3e99c4d619 Bug 1725256 - Add process & remote type documentation, r=handyman,mccr8
This patch adds basic documentation for the core process architecture,
with a focus on the capabilities of specific content process remote
types. Details are also included about the capabilities of individual
helper processes.

These docs have some overlap with the documentation for adding new child
process types being added in D121871, but with a different focus,
intended more as an overview, and an intended audience of people
interested in the browser's general process architecture.

I considered adding more detail about the specific capabilities
restricted by each sandboxing policy, however I don't know the specifics
well enough to document them accurately. I think a separate document,
linked to from this one, about our OS-level sandboxing for each process
type could be useful.

Differential Revision: https://phabricator.services.mozilla.com/D122395
2021-08-17 18:01:51 +00:00
Bobby Holley de34e147c2 Bug 1722754 - Fix up links and formating. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D121115
2021-07-29 15:22:45 +00:00
Bobby Holley 0f3e29f15d Bug 1722754 - Mechanically import old MDN docs. r=mccr8
Generated with:

pandoc -t rst https://raw.githubusercontent.com/mdn/archived-content/main/files/en-us/mozilla/gecko/script_security/index.html > index.rst
pandoc -t rst https://raw.githubusercontent.com/mdn/archived-content/b7b6516b2b522533e8ba51cb944700ace7dace4d/files/en-us/mozilla/tech/xray_vision/index.html > xray_vision.rst

Per the instructions at:

https://firefox-source-docs.mozilla.org/tools/moztreedocs/mdn-import.html

Images refetched from archive.org.

Differential Revision: https://phabricator.services.mozilla.com/D121116
2021-07-29 15:22:44 +00:00
Kagami Sascha Rosylight 65bdae82a6 Bug 1721723 - Convert constructors as members in IDL bindings docs r=edgar DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D120552
2021-07-23 10:42:13 +00:00
Nika Layzell 3f38cce3c7 No Bug - doc: Clarify nav-replace for WindowContext and WindowGlobal{Parent,Child}, r=smaug DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D119894
2021-07-14 19:51:57 +00:00
Silke Hofmann 687f8d6b45 Bug 1481470 - Stop using xlink:href in SVG in dom/. r=nhnt11,nika
Differential Revision: https://phabricator.services.mozilla.com/D117206
2021-06-13 19:01:20 +00:00
surajeet310 6ea83c8ef9 Bug 1714788 - Fixed more Sphinx warnings in 'mach doc' r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D117419
2021-06-10 19:33:53 +00:00
Nika Layzell ea2689e76d Bug 1710672 - Mention createActor: false in jsactors documentation, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D114868
2021-05-11 17:29:26 +00:00
Nika Layzell d5cada907f Bug 1709700 - Clarify that subframes cannot cross-group navigate in docs, r=kmag DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D114398
2021-05-06 14:44:25 +00:00
Peter Van der Beken 2ec947a685 Bug 1708660 - Remove support for map/setLike in JS-implemented WebIDL. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D113949
2021-05-06 05:12:03 +00:00
Peter Van der Beken 2a66c7990e Bug 1708657 - Cleanup in-tree WebIDL documentation a bit. r=freddyb DONTBUILD
- Add a main header to the page
- Clean up the conversion from MDN a bit
- Modify type table to list-table to make it a bit easier to maintain
- Remove documentation for obsolete NavigatorProperty extended attribute
- Add a warning that JS-implemented WebIDL is deprecated

Depends on D113949

Differential Revision: https://phabricator.services.mozilla.com/D113950
2021-05-05 13:42:33 +00:00
Iulian Moraru e4231baf41 Backed out 2 changesets (bug 1708660, bug 1708657) for causing build bustages. CLOSED TREE
Backed out changeset b0fa991c8314 (bug 1708657)
Backed out changeset ef755a58e62b (bug 1708660)
2021-05-05 11:47:50 +03:00
Peter Van der Beken f75d011be1 Bug 1708657 - Cleanup in-tree WebIDL documentation a bit. r=freddyb
- Add a main header to the page
- Clean up the conversion from MDN a bit
- Modify type table to list-table to make it a bit easier to maintain
- Remove documentation for obsolete NavigatorProperty extended attribute
- Add a warning that JS-implemented WebIDL is deprecated

Depends on D113949

Differential Revision: https://phabricator.services.mozilla.com/D113950
2021-05-05 08:08:53 +00:00
Peter Van der Beken 1be1c3b5b0 Bug 1708660 - Remove support for map/setLike in JS-implemented WebIDL. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D113949
2021-05-05 08:08:52 +00:00
Frederik Braun d6a5213918 Bug 1640721 - import webidl bindings article from MDN r=padenot DONTBUILD
This is a verbatim import from the MDN article on WebIDL Bindings.
Links to DXR have been rewritten to point to searchfox.

Differential Revision: https://phabricator.services.mozilla.com/D113283
2021-04-26 09:10:58 +00:00
David Parks b399e44146 Bug 1682030 - Remove NPAPI overlay from JS Plugin actors r=Gijs
Removes NPAPI support from JS plugin actors, most of which was CTP-and-fallback overlay related, leaving them to only do GMP crash handling.

Differential Revision: https://phabricator.services.mozilla.com/D107157
2021-04-06 19:28:18 +00:00
Csoregi Natalia d68661e2cc Backed out 24 changesets (bug 1682030) for bustage on ProcessHangMonitor.cpp and nsCOMPtr.h. CLOSED TREE
Backed out changeset 5b1644096477 (bug 1682030)
Backed out changeset 35ae60eea3c7 (bug 1682030)
Backed out changeset 3eca76a6d639 (bug 1682030)
Backed out changeset 259c45447ad9 (bug 1682030)
Backed out changeset de9222dc8c31 (bug 1682030)
Backed out changeset 2986c7e14349 (bug 1682030)
Backed out changeset 6af3410bdb93 (bug 1682030)
Backed out changeset 42b0621c2927 (bug 1682030)
Backed out changeset 366e3e371858 (bug 1682030)
Backed out changeset 9adb2865adea (bug 1682030)
Backed out changeset 6af6af3bc03a (bug 1682030)
Backed out changeset da94a91b35ae (bug 1682030)
Backed out changeset 9143da258d0e (bug 1682030)
Backed out changeset 5e20d06952ba (bug 1682030)
Backed out changeset 6253d7e1ce7d (bug 1682030)
Backed out changeset 0e06ddeea3e2 (bug 1682030)
Backed out changeset 9c58d57c9e44 (bug 1682030)
Backed out changeset e90edd89430e (bug 1682030)
Backed out changeset 5861b8166b10 (bug 1682030)
Backed out changeset b4b88cdc7993 (bug 1682030)
Backed out changeset b80054e9805c (bug 1682030)
Backed out changeset 580d857674c0 (bug 1682030)
Backed out changeset a9cdf93c2662 (bug 1682030)
Backed out changeset 9c9c8b4998e2 (bug 1682030)
2021-04-06 03:54:12 +03:00
David Parks f7c49caeef Bug 1682030 - Remove NPAPI overlay from JS Plugin actors r=Gijs
Removes NPAPI support from JS plugin actors, most of which was CTP-and-fallback overlay related, leaving them to only do GMP crash handling.

Differential Revision: https://phabricator.services.mozilla.com/D107157
2021-04-05 23:48:42 +00:00
Neil Deakin 3239c28e6e Bug 1662771, remove willDestroy callback from JSActors, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D94906
2020-10-29 14:24:43 +00:00
Sylvestre Ledru 6be67c14c4 Bug 1667831 - doc: refresh links as many pages moved in-tree r=firefox-source-docs-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D91619
2020-09-29 17:53:54 +00:00
Kris Maglione d3498e1041 Bug 1655866: Part 5 - Use native PermitUnload implementation from front-end code. r=nika,mconley
Differential Revision: https://phabricator.services.mozilla.com/D88318
2020-09-21 22:41:04 +00:00
Nika Layzell 88e2d58a31 Bug 1661786 - Part 2: Correct statement about JSWindowActorChild lifetime, r=neha
Differential Revision: https://phabricator.services.mozilla.com/D88656
2020-08-28 20:50:18 +00:00
Nika Layzell 3a53a0e881 Bug 1661786 - Part 1: Move JS actor documentation into it's own folder, r=neha
Differential Revision: https://phabricator.services.mozilla.com/D88655
2020-08-28 21:06:12 +00:00
Noemi Erli a7ded3ce73 Backed out 2 changesets (bug 1661786) for causing lint failure in jsactors.rst CLOSED TREE
Backed out changeset efa00a72e576 (bug 1661786)
Backed out changeset acd7c88d4fb9 (bug 1661786)
2020-08-28 23:40:35 +03:00
Nika Layzell 7fc8ed0179 Bug 1661786 - Part 2: Correct statement about JSWindowActorChild lifetime, r=neha
Differential Revision: https://phabricator.services.mozilla.com/D88656
2020-08-28 19:12:59 +00:00
Nika Layzell 2a72dfc514 Bug 1661786 - Part 1: Move JS actor documentation into it's own folder, r=neha
Differential Revision: https://phabricator.services.mozilla.com/D88655
2020-08-28 19:12:57 +00:00
Nika Layzell bab359e233 Bug 1618024 - Add more in-tree navigation docs, r=neha
Differential Revision: https://phabricator.services.mozilla.com/D84874
2020-07-29 20:29:48 +00:00
Micah Tigley 992948408e Bug 1634497 - Remove "Do not break Responsive Design Mode" section in fission documentation. r=mconley
Depends on D83132

Differential Revision: https://phabricator.services.mozilla.com/D83133
2020-07-10 19:45:21 +00:00
Nika Layzell c7f85b7fac Bug 1633379 - Part 2: Add support for in-process JSWindowActors, r=kmag,Yoric
This switches the `nsIContent{Parent,Child}` interface to be
`nsIDOMProcess{Parent,Child}`, and also implements it on
`InProcess{Parent,Child}`, along with the `ProcessActor` interface.

Differential Revision: https://phabricator.services.mozilla.com/D80582
2020-06-25 20:35:18 +00:00
Cosmin Sabou 4d79f57fed Backed out 2 changesets (bug 1633379) for windows build bustages on ContentChild.obj. CLOSED TREE
Backed out changeset a26037f3225b (bug 1633379)
Backed out changeset efef0b59bcd8 (bug 1633379)
2020-06-25 20:47:03 +03:00
Nika Layzell 0fefabd35b Bug 1633379 - Part 2: Add support for in-process JSWindowActors, r=kmag,Yoric
This switches the `nsIContent{Parent,Child}` interface to be
`nsIDOMProcess{Parent,Child}`, and also implements it on
`InProcess{Parent,Child}`, along with the `ProcessActor` interface.

Differential Revision: https://phabricator.services.mozilla.com/D80582
2020-06-25 16:28:11 +00:00
Gijs Kruitbosch c73088ced1 Bug 1643175 - update documentation about JSWindowActor's observers list, r=Yoric
DONTBUILD

Differential Revision: https://phabricator.services.mozilla.com/D78566
2020-06-11 09:42:32 +00:00
David Teller faf86b50a4 Bug 1635061 - Document JSProcessActor;r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D76722
2020-05-30 10:19:21 +00:00
David Teller 49d5a4d3b4 Bug 1636089 - ActorManagerParent.addJSProcessActors;r=kmag,geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D75047
2020-05-19 16:29:36 +00:00
Gijs Kruitbosch c58b8f6ff2 Bug 1631358 - remove CPOW support in the message manager, r=mccr8
This commit:

- removes sendRpcMessage, which was unused;
- removes the CPOW argument to sendAsyncMessage, broadcastAsyncMessage, and
  sendSyncMessage;
- removes the aIsSync argument used internally to distinguish sendRpcMessage
  and sendSyncMessage;
- removes CPOW tests;
- updates the few remaining callsites that use more than 2 arguments in
  sendAsyncMessage for the removal of the cpows argument.

Differential Revision: https://phabricator.services.mozilla.com/D71514
2020-04-21 14:07:57 +00:00
Sylvestre Ledru bac41c8796 Bug 1622328 - Fission-IPC-Diagram.svg: Add the license r=nika
Depends on D66808

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

--HG--
extra : moz-landing-system : lando
2020-03-16 19:58:35 +00:00
Anurag Aggarwal 45b0a79f3d Bug 1536103 - Fixed mach doc warnings.r=firefox-source-docs-reviewers,championshuttler,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D66462

--HG--
extra : moz-landing-system : lando
2020-03-12 17:20:15 +00:00
Kris Maglione f3354d4788 Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699

--HG--
extra : moz-landing-system : lando
2020-02-25 22:33:53 +00:00
Arthur Iakab 73b6d9dca6 Backed out changeset 5616425b54da (bug 1617254)for casuing multiple browser-chrome failures.
CLOSED TREE
2020-02-26 00:09:34 +02:00
Kris Maglione c65ef42473 Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699

--HG--
extra : moz-landing-system : lando
2020-02-25 21:03:58 +00:00
Noemi Erli 6b488deed0 Backed out changeset 034e2e79ecfa (bug 1617254) for causing build bustages CLOSED TREE 2020-02-25 21:59:14 +02:00
Kris Maglione e4c4115afb Bug 1617254: Rename BrowsingContext.getChildren() to .children. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D63699

--HG--
extra : moz-landing-system : lando
2020-02-25 19:39:25 +00:00
Kris Maglione ab5a99dd15 Bug 1602898: Rename Window.getWindowGlobalChild() to .windowGlobalChild. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D56609

--HG--
extra : moz-landing-system : lando
2020-01-21 21:32:28 +00:00
Mihai Alexandru Michis 745c94b1df Backed out changeset 006f4e50e8e5 (bug 1602898) for causing multiple failures.
CLOSED TREE
2020-01-21 22:55:37 +02:00
Kris Maglione aa0306477e Bug 1602898: Rename Window.getWindowGlobalChild() to .windowGlobalChild. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D56609

--HG--
extra : moz-landing-system : lando
2020-01-21 18:48:26 +00:00
Cosmin Sabou 9b6e5f8e66 Backed out changeset 4c303f6ec2e6 (bug 1602898) for browser chrome failures on browser_ssb_windowlocation. 2020-01-18 01:06:34 +02:00
Kris Maglione 036e960542 Bug 1602898: Rename Window.getWindowGlobalChild() to .windowGlobalChild. r=farre
Differential Revision: https://phabricator.services.mozilla.com/D56609

--HG--
extra : moz-landing-system : lando
2020-01-17 21:36:10 +00:00
Simon Giesecke 022df7d02f Bug 1600618 - Provide more guidance on which smart pointer types to use. r=dom-workers-and-storage-reviewers,janv,asuth
Differential Revision: https://phabricator.services.mozilla.com/D55454

--HG--
extra : moz-landing-system : lando
2019-12-09 16:50:46 +00:00
Simon Giesecke 94fbcaa76d Bug 1587126 - Declare that scoped enums should be used. r=dom-workers-and-storage-reviewers,janv,asuth
Depends on D55117

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

--HG--
extra : moz-landing-system : lando
2019-12-02 23:13:26 +00:00
Simon Giesecke 0e60a75792 Bug 1600066 - Added clarification on use of already_AddRefed. r=dom-workers-and-storage-reviewers,janv,asuth
Differential Revision: https://phabricator.services.mozilla.com/D55117

--HG--
extra : moz-landing-system : lando
2019-12-03 08:14:57 +00:00