Commit Graph

94 Commits

Author SHA1 Message Date
Peter Van der Beken
f0982436f2 Bug 1659158 - Switch WebIDL from void to undefined. r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D107108
2022-09-21 07:44:58 +00:00
Sylvestre Ledru
73d4a6ca57 no bug - Fix a few typo found by the next version of codespell r=marco
Differential Revision: https://phabricator.services.mozilla.com/D150321
2022-07-20 15:26:22 +00:00
Kris Maglione
b8bfb24cd0 Bug 1776207: Part 3 - Remove generateNSGetFactory now that it isn't used anymore. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D150193
2022-06-27 22:36:12 +00:00
Tooru Fujisawa
f41fbce75e Bug 1765167 - Part 4: Stop using Cu.import in dom/. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D144097
2022-05-03 06:32:30 +00:00
Chris Peterson
809cd2a13e Bug 1598759 - Remove support for Large-Allocation HTTP header. r=nika,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D140459
2022-03-09 03:18:04 +00:00
Randell Jesup
b0e34149a0 Bug 1754215: Update process model documentation for webServiceWorkers r=nika
Differential Revision: https://phabricator.services.mozilla.com/D138147
2022-02-08 23:23:01 +00:00
Sylvestre Ledru
caaedeee98 Bug 1753413 - fx doc: Remove whitespaces, trailing lines & windows CR r=andi,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D137741
2022-02-03 18:34:58 +00:00
Alexandre Lissy
bc59ee68ea Bug 1751229 - Add Utility into Process Model doc r=nika
Differential Revision: https://phabricator.services.mozilla.com/D136578
2022-01-25 23:47:13 +00:00
James Graham
c31f96de20 Bug 1748845 - Update source-relative links in dom docs, r=firefox-source-docs-reviewers,sylvestre,peterv
Differential Revision: https://phabricator.services.mozilla.com/D135385
2022-01-11 10:48:21 +00:00
Mirko Brodesser
b92018c183 Bug 1746870: part 1) Minorly extend documentation in <jsactors.rst>. r=hsivonen
Differential Revision: https://phabricator.services.mozilla.com/D134287
2021-12-21 09:46:16 +00:00
Alexandre Lissy
b71840a20f Bug 1745405 - Link to GeckoProcessType generator for complete definition of defines process r=firefox-source-docs-reviewers,sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D133482
2021-12-10 13:12:38 +00:00
Kagami Sascha Rosylight
19993c55dd Bug 1739989 - Part 2: Apply more edits r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D130630
2021-11-30 15:38:37 +00:00
Kagami Sascha Rosylight
c0dd606b27 Bug 1739989 - Part 1: Update Web IDL references r=peterv
Reflects the recent move to WHATWG and the name (corresponding to f01080ffc4)

Differential Revision: https://phabricator.services.mozilla.com/D130629
2021-11-30 15:38:37 +00:00
Barret Rennie
39e465e39d Bug 1739702 - Rename IOUtils.touch to IOUtils.setModificationTime r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D131957
2021-11-25 02:19:20 +00:00
Butkovits Atila
193530a2df Backed out changeset 2ebd54655436 (bug 1739702) for causing failres at test_ioutils_stat_set_modification_time.html. CLOSED TREE 2021-11-24 06:41:13 +02:00
Barret Rennie
f310df5b88 Bug 1739702 - Rename IOUtils.touch to IOUtils.setModificationTime r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D131957
2021-11-24 03:52:14 +00:00
Barret Rennie
8081914485 Bug 1741920 - Correct documentation about IOUtils.remove vs OS.File.removeEmptyDir r=Gijs DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D131536
2021-11-23 18:48:01 +00:00
Markus Stange
1aaa379d91 Bug 1741492 - Update IOUtils migration guide for new openFileForSyncReading API. r=barret
Differential Revision: https://phabricator.services.mozilla.com/D131273
2021-11-17 19:49:53 +00:00
Barret Rennie
0a42a75031 Bug 1723082 - Support reading files > INT32_MAX in IOUtils r=Gijs
Previously, if you attempted to read a file greater than INT32_MAX in size, we
would either fail to read the file (on release) or crash (on debug). This is
due to the implementation of _PR_MD_READ accepting an int32_t of bytes to read
instead of a uint32_t, which nsFileStream::Read accepts and passes on.

Differential Revision: https://phabricator.services.mozilla.com/D131161
2021-11-17 03:55:36 +00:00
Alexandru Michis
2d0c990efe Backed out 3 changesets (bug 1741247, bug 1723082, bug 1736175) for causing PathUtils.normalize failures.
CLOSED TREE

Backed out changeset 55165cf4b7bb (bug 1736175)
Backed out changeset 492f5ca3b592 (bug 1723082)
Backed out changeset ce199e98a0c5 (bug 1741247)
2021-11-17 03:12:07 +02:00
Barret Rennie
72b138b1d8 Bug 1723082 - Support reading files > INT32_MAX in IOUtils r=Gijs
Previously, if you attempted to read a file greater than INT32_MAX in size, we
would either fail to read the file (on release) or crash (on debug). This is
due to the implementation of _PR_MD_READ accepting an int32_t of bytes to read
instead of a uint32_t, which nsFileStream::Read accepts and passes on.

Differential Revision: https://phabricator.services.mozilla.com/D131161
2021-11-17 00:28:58 +00:00
Mirko Brodesser
628629cf0c Bug 1741162: refine <jsactors.rst> a little. r=nika
To someone new to Fission and Gecko, it's unclear the Message Manager
mechanism is pre-Fission.

Differential Revision: https://phabricator.services.mozilla.com/D131126
2021-11-16 09:30:40 +00:00
Sylvestre Ledru
39a2e463ea Bug 1714788 - doc: Fix a Pygments warning r=firefox-source-docs-reviewers,championshuttler DONTBUILD
Warning:
lexer name 'bz_comment_text' is not known

Depends on D131047

Differential Revision: https://phabricator.services.mozilla.com/D131095
2021-11-16 07:59:49 +00:00
Sylvestre Ledru
e747d0c0f5 Bug 1714788 - doc: Fix a warning 'Inline interpreted text' r=firefox-source-docs-reviewers,championshuttler DONTBUILD
WARNING: Inline interpreted text or phrase reference start-string without end-string.

Depends on D131090

Differential Revision: https://phabricator.services.mozilla.com/D131091
2021-11-16 07:59:47 +00:00
Chris H-C
6b06ddd335 Bug 1736855 - Add IOUtils Migration Guide to source docs r=Gijs DONTBUILD
A public gdoc's not bad, but source docs is better.
This place was chosen because the implementation is nearby,
even though it's really support for toolkit and browser stuff.

Also update the docs a tad. `exists` and `setPermissions` are now available!
And we have JSON read/write, too!

Differential Revision: https://phabricator.services.mozilla.com/D129069
2021-10-21 15:44:59 +00:00
Kagami Sascha Rosylight
056e489227 Bug 1726440 - Part 4-2: Migrate to Markdown r=peterv DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D127691
2021-10-21 14:06:20 +00:00
Kagami Sascha Rosylight
d92fc7037f Bug 1726440 - Part 4-1: Rename from .rst to .md r=peterv DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D129091
2021-10-21 14:06:20 +00:00
Kagami Sascha Rosylight
742fb2639f Bug 1726440 - Part 3: Fix some typo r=peterv DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D127690
2021-10-21 14:06:19 +00:00
Kagami Sascha Rosylight
48fdb445d5 Bug 1726440 - Part 2: Assign proper languages to code directives r=peterv DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D127689
2021-10-21 14:06:18 +00:00
Kagami Sascha Rosylight
df79c4d364 Bug 1726440 - Part 1: Remove unused rst references r=peterv DONTBUILD
Those ids were generated by MDN but nothing really uses them.

Differential Revision: https://phabricator.services.mozilla.com/D127688
2021-10-21 14:06:18 +00:00
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