strnlen() is available on all the platforms we care about, so we should use that
instead.
MozReview-Commit-ID: H3ac5AHiRJk
--HG--
extra : rebase_source : 911f292e97facf5807a1bc1654bdbc1fab87c8bc
extra : histedit_source : 17ff8322acc90bb88efd428aab1e0e0fc785ed61
Deleting certs via the cert manager results in a confirmation dialog popping up.
This dialog contains a list of certs that were selected for deletion.
Currently, only the Common Name of each cert is used to represent it in the list.
This is a problem for certs that don't have a CN. More jarringly, the cert
manager itself falls back to various other attributes, so for example selecting
a cert that is represented by its OU ends up popping up a dialog where an empty
list is shown.
MozReview-Commit-ID: 3z4BebW8Ucd
--HG--
extra : rebase_source : 468eb3de470e3ec42471c80183a9c48ebfb130c9
extra : histedit_source : 90e1d2fc73aaba4ded68d933b6ea3a6092d60636
The existing code in head.js is moved out because it doesn't need to be there
now, and probably not in the near future.
MozReview-Commit-ID: GWUW9wT3fzF
--HG--
extra : rebase_source : b7ba2a621df205bda8bdb0cbd493a22ce49a705f
extra : histedit_source : e9094261bc717ffd0a320b180fba4aab21122fa4
This adds size checks when growing the nsISupportsArray. It also removes
|InsertElementsAt| and |AppendElements| which are unused notxpcom interfaces
that would need similar modifications.
MozReview-Commit-ID: ET32q0OCrLU
It's not possible to construct a useful Origin header when we have
an expanded principal and are about to perform a CORS fetch. Therefore,
instead of sending a CORS fetch with an |Origin: null| header, we
must fail the request.
This patch fixes several issues:
1. the styling of the bookmarks toolbar items was missing
background-origin/clip: padding-box
when not hovered
2. the devedition colours for toolbar buttons were not applying on Windows
in the nav-bar because we set different ones on #nav-bar:-moz-lwtheme
and on #nav-bar[brighttext]. Variables function like inherited CSS
properties and so the ones set on the #nav-bar take precedence for items
inside the #nav-bar over other ones set on :root, even if those are set
later.
3. The lwtheme and [brighttext] styling should apply to all toolbars now,
because the bookmarks toolbar items can be moved to other toolbars and
they use these CSS variables as well.
For (2) I moved the devedition definitions of toolbar color variables into
their own block that is set on both :root and on toolbar:-moz-lwtheme.
I'm not sure if having it set on :root affects e.g. devtools styling, so I
kept that rather than only setting the custom properties on the toolbars.
MozReview-Commit-ID: Jzdb8OWmC3c
--HG--
extra : rebase_source : 43322b320fe244d991562c92e01fc0ce26e94540