rework certviewer utility files so they can be reused elsewhere
Categories
(Firefox :: Security, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox90 | --- | fixed |
People
(Reporter: keeler, Assigned: keeler)
References
(Regressed 1 open bug)
Details
Attachments
(2 files, 1 obsolete file)
certDecoder.js and utils.js are es6 modules, which makes them hard to use in some locations elsewhere in the codebase (e.g. in the devtools). Also, for these files to work correctly, three additional resources need to be manually loaded (the asn1js/pkijs/pvutils bundles). This situation can be simplified into one bundle that can be easily reused elsewhere.
| Assignee | ||
Comment 1•5 years ago
|
||
Before this patch, some certviewer utility files were es6 modules, which means
they could only be used by other es6 modules or a top-level web context. There
are some places (such as the devtools) where it would be nice to use these
utilities without this restriction, so this patch reworks and simplifies the
structure of these utility files so they can be reused elsewhere.
| Assignee | ||
Comment 2•5 years ago
|
||
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
Comment 4•5 years ago
|
||
Backed out changeset 7c3c130fc7df (Bug 1688703) for bc leaks.
https://hg.mozilla.org/integration/autoland/rev/f305437a586028e637dbe2bd7e2c29bbe45c73fd
Push with failures:
https://treeherder.mozilla.org/jobs?repo=autoland&revision=7c3c130fc7df241a490d665e4785040486ac9a31&selectedTaskRun=XgNYQTyqQVOkq60YDY47gQ.0
Failure log:
https://treeherder.mozilla.org/logviewer?job_id=333842419&repo=autoland&lineNumber=3013
Comment 5•5 years ago
|
||
There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:keeler, could you have a look please?
For more information, please visit auto_nag documentation.
| Assignee | ||
Comment 6•5 years ago
|
||
The patch seems to be causing or making more frequent intermittent leaks. I'm investigating.
| Assignee | ||
Comment 7•5 years ago
|
||
openFromPopUp in browser_openTabAndSendCertInfo.js would open a new browser
window and then close it quickly without checking its contents. It seems that
doing this caused frequent intermittent leaks on ASAN builds. This patch works
around the issue by waiting for the window to finish loading and checking that
it has the expected contents. This patch also adds the same contents check to
other tests in this file that were missing it.
Depends on D106340
Comment 9•5 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/1937e854dd80
https://hg.mozilla.org/mozilla-central/rev/70926038dbf0
Updated•4 years ago
|
Description
•