Import the NSPR doc from MDN
Categories
(NSPR :: NSPR, task)
Tracking
(firefox98 fixed)
| Tracking | Status | |
|---|---|---|
| firefox98 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: Sylvestre)
References
(Blocks 2 open bugs)
Details
Attachments
(13 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
| Assignee | ||
Comment 1•4 years ago
|
||
| Assignee | ||
Comment 2•4 years ago
|
||
Depends on D137588
| Assignee | ||
Comment 3•4 years ago
|
||
Depends on D137589
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Comment 4•4 years ago
|
||
Unfortunately the MDN docs are incomplete, they are missing details. I guess the problem was introduced a long time in the past, when an import from www to MDN was made.
For example, look at file nspr_types in your patch. At the bottom, in section "Status Type for Return Values", it simply says "PRStatus".
But the docs here include more information: https://www-archive.mozilla.org/projects/nspr/reference/html/prtyp
You will see information missing for each section on that page.
Comment 5•4 years ago
|
||
Thanks to bkochendorfer
who told me where to find the raw www files:
https://github.com/mozilla-it/www-archive.mozilla.org/tree/master/projects/nspr
| Assignee | ||
Comment 6•4 years ago
|
||
Well, to be honest, I have no intention to improve the doc itself.
I just want them to be available online which has not been the case for sometime.
But looking a bit deeper, I don't see what is missing on the imports.
For example, look at file nspr_types in your patch. At the bottom, in section "Status Type for Return Values", it simply says "PRStatus".
I think during the MDN import, the content has been split into smaller page.
For PRStatus, it is pointing to the page:
http://gecko-docs.mozilla.org-l1.s3-website.us-west-2.amazonaws.com/main/1f997d84-83bf-11ec-bf1c-0242ac110004/security/nss/nspr/reference/prstatus.html
Note that the original URL doesn't have more content:
https://github.com/mozilla-it/www-archive.mozilla.org/blob/ad04f29f02b91122b33b85ddfcd544db187cf531/projects/nspr/reference/html/Prtyp.html#L406-L417
| Assignee | ||
Comment 7•4 years ago
|
||
Depends on D137590
Comment 8•4 years ago
|
||
(In reply to Sylvestre Ledru [:Sylvestre] from comment #6)
Well, to be honest, I have no intention to improve the doc itself.
I just want them to be available online which has not been the case for sometime.
That's fine. My point is, the MDN docs are incomplete, and I'd prefer that we rather import the documentation from www-archive.
But looking a bit deeper, I don't see what is missing on the imports.
This is your full import:
https://d2mfgivbiy2fiw.cloudfront.net/file/data/f3tiyglgas67tkloxo2b/PHID-FILE-caorl5jyazygw4uyuv3g/D137588.diff
That doesn't contain the text "Use PRPackedBool within structures where bit fields" which I found on this page:
https://www-archive.mozilla.org/projects/nspr/reference/html/prtyp
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
| Assignee | ||
Comment 9•4 years ago
|
||
Depends on D137607
| Assignee | ||
Comment 10•4 years ago
|
||
Depends on D137611
Updated•4 years ago
|
| Assignee | ||
Comment 11•4 years ago
|
||
Comment 12•4 years ago
•
|
||
For the record:
Normally, the keywords UPGRADE_NSS_RELEASE and UPGRADE_NSPR_RELEASE are allowed only when comitting official upstream releases.
We allow these changes, because they are temporary, to simplify Sylvestre's work.
All files that are added to the security/nss and nsprpub directories (temporarily) are suposed to be moved to a different place as part of the patches in this bug.
After all patches were landed, we must verify that no (new or changed) files remain, and that using the NSS/NSPR update scripts will create the exact same state of the directories. If a difference is shown, and the differences are supposed to be kept, follow-up work will be required.
Updated•4 years ago
|
Comment 13•4 years ago
|
||
Comment 14•4 years ago
|
||
Comment 15•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/ca5af776e499
https://hg.mozilla.org/mozilla-central/rev/0be9674635b7
https://hg.mozilla.org/mozilla-central/rev/3f1b085c285c
https://hg.mozilla.org/mozilla-central/rev/8cd0d45e0306
https://hg.mozilla.org/mozilla-central/rev/291e7044fbb6
https://hg.mozilla.org/mozilla-central/rev/2ef5b56d94f8
https://hg.mozilla.org/mozilla-central/rev/a27f2f698323
| Assignee | ||
Comment 16•4 years ago
|
||
Note: these links won't work for local doc build of NSS.
They are designed for firefox source tree:
https://firefox-source-docs.mozilla.org/security/nss/
| Assignee | ||
Comment 17•4 years ago
|
||
| Assignee | ||
Comment 18•4 years ago
|
||
Comment 19•4 years ago
|
||
I'm attaching with additional docs that I found on https://github.com/mozilla-it/www-archive.mozilla.org and https://github.com/mdn/archived-content
Included are two training documents, that were originally .ppt files.
Comment 20•4 years ago
|
||
Comment 21•4 years ago
|
||
What happens to files that aren't linked? They cannot be opened through https://firefox-source-docs.mozilla.org/nspr/ right?
This old page here has a table "technical notes". It would be good to copy that and link the various documents that we have in tree.
www-archive.mozilla.org/projects/nspr/index.html
| Assignee | ||
Comment 22•4 years ago
|
||
Comment 23•4 years ago
|
||
Comment 24•4 years ago
|
||
Comment 25•4 years ago
|
||
| bugherder | ||
| Assignee | ||
Comment 26•4 years ago
|
||
Depends on D137751
Comment 27•4 years ago
|
||
Comment 28•4 years ago
|
||
| bugherder | ||
Updated•4 years ago
|
Description
•