Commit graph

159 commits

Author SHA1 Message Date
Itiel
f75d0998d4 Bug 1788898 - Stop increasing the font size for about:certificate tabs too much r=dao
Differential Revision: https://phabricator.services.mozilla.com/D156295
2022-09-02 11:58:43 +00:00
Tooru Fujisawa
9fa82cdffe Bug 1780543 - Part 4: Add mozilla/remote-page environment. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D152429
2022-07-26 02:46:30 +00:00
Tooru Fujisawa
2337bc5418 Bug 1772299 - Reject modification to globalThis inside system module. r=Standard8,webdriver-reviewers,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D148116
2022-06-15 22:20:53 +00:00
Tooru Fujisawa
ca262b23ce Bug 1773174 - Part 1: Use .jsm extension for JSMs in toolkit/components/certviewer/. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D148596
2022-06-10 19:21:05 +00:00
Shane Hughes
8af8f3feeb Bug 1756927 - Fix cert viewer long hex item subpixel scaling. r=sgalich
The expandable overflow fields in the cert viewer have 0px border and 1px
padding by default, and 1px border and 0px padding on hover. Since subpixel
borders are calculated differently from subpixel padding, this causes different
results when window scaling factor is not an integer multiple of 1.

For 1.5x scaling, an input 1px padding can yield either 2px or 1px output
depending on results of scaling algorithm, but an input 1px border will only
yield a 1px output, in order to keep the border crisp and symmetric on every
edge of the bounding box. So when we hover the long hex field, it may lose 1-2
pixels of height as ~1.5px worth of padding (between 1px and 2px) is replaced
with exactly 1px of border.

Patch will fix this by just replacing the 1px padding with a 1px transparent
border. That way the field's height is a function of the same scaling scheme in
all states, so won't change on hover.

Differential Revision: https://phabricator.services.mozilla.com/D139563
2022-04-22 17:57:09 +00:00
Michel Le Bihan
87ff33d6d8 Bug 1706354 - Fix padding issue in cert viewer in Embedded SCTs r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D143578
2022-04-13 12:57:48 +00:00
Emilio Cobos Alvarez
efe2305b8d Bug 1742696 - Opt-in a bunch of about:pages to dark system colors / form controls. r=Gijs,preferences-reviewers,webcompat-reviewers,twisniewski
Privileged pages do this automatically via:

  https://searchfox.org/mozilla-central/rev/aa8c75b83f636948f708986173965c84cae8c25f/widget/nsXPLookAndFeel.cpp#1179-1183

So this makes everything more consistent. Known exceptions:

 * Pocket panels (as those don't seem to support dark mode)
 * about:reader (because it has its own dark mode handling)

Differential Revision: https://phabricator.services.mozilla.com/D132019
2021-11-25 21:24:43 +00:00
Geoff Lankow
58b170669d Bug 1698112 - Stop referencing browser files from toolkit, and prevent it happening again with a test. r=preferences-reviewers,mossop
Differential Revision: https://phabricator.services.mozilla.com/D128974
2021-10-21 21:54:52 +00:00
Mark Striemer
3110ac3ec8 Bug 1706155 - Set hover states for HCM common.css r=desktop-theme-reviewers,dao,morgan,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D113872
2021-05-10 16:31:27 +00:00
Andreea Pavel
ea6620b07c Backed out changeset 8757d112fc04 (bug 1706155) for bc failures at browser_parsable_css.js on a CLOSED TREE 2021-05-08 03:19:31 +03:00
Mark Striemer
0480fc9ec0 Bug 1706155 - Set hover states for HCM common.css r=desktop-theme-reviewers,dao,morgan,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D113872
2021-05-07 23:24:59 +00:00
Andreea Pavel
d27a810ad2 Backed out changeset 8a02c8fa7821 (bug 1706155) for failing browser_parsable_css.js on a CLOSED TREE 2021-05-08 00:50:40 +03:00
Mark Striemer
8ee31eee8c Bug 1706155 - Set hover states for HCM common.css r=desktop-theme-reviewers,dao,morgan,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D113872
2021-05-07 20:46:03 +00:00
Dana Keeler
241c47c8cc Bug 1688703 - reuse certviewer utility files in devtools r=johannh,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D106340
2021-04-21 17:48:21 +00:00
Itiel
ed2ba64f44 Bug 1704101 - Remove top border from first item in about:certificate r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D111419
2021-04-12 13:05:10 +00:00
ry99
0acdda5d09 Bug 1633416 - Removed all mentions of TYPE_UNKNOWN listed in toolkit/components/certviewer r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D111053
2021-04-11 12:28:33 +00:00
Tim Nguyen
8a016c64aa Bug 1701448 - Tweak in-content page styling further for Proton. r=desktop-theme-reviewers,dao
* Update green color used for success
* Fix actions menulist alignment
* Make various elements use new accent colors
* Fix lack of border on HTML checkboxes
* Update various colors to proton colors
* Update input border-radius to 4px
* Update border colors

Differential Revision: https://phabricator.services.mozilla.com/D110033
2021-04-05 19:42:47 +00:00
Csoregi Natalia
a359b4f2f6 Backed out 2 changesets (bug 1701448, bug 1699917) for failures on browser_parsable_css.js. CLOSED TREE
Backed out changeset 3693f90f395d (bug 1701448)
Backed out changeset 99ce41916bb2 (bug 1699917)
2021-04-05 22:08:42 +03:00
Tim Nguyen
7772ba544e Bug 1701448 - Tweak in-content page styling further for Proton. r=desktop-theme-reviewers,dao
* Update green color used for success
* Fix actions menulist alignment
* Make various elements use new accent colors
* Fix lack of border on HTML checkboxes
* Update various colors to proton colors
* Update input border-radius to 2px
* Update border colors

Differential Revision: https://phabricator.services.mozilla.com/D110033
2021-04-05 16:29:18 +00:00
Mark Striemer
81479b1262 Bug 1699250 - Use proton dark theme in-content r=jaws
This also fixes up various about pages.

Differential Revision: https://phabricator.services.mozilla.com/D108800
2021-03-28 18:33:05 +00:00
Butkovits Atila
71d46d5a75 Backed out 2 changesets (bug 1690333, bug 1699250) for causing failures on test_bug509732.xhtml. CLOSED TREE
Backed out changeset dcba2814dbc4 (bug 1690333)
Backed out changeset ae3a0e6dde00 (bug 1699250)
2021-03-28 21:16:58 +03:00
Mark Striemer
5c54a9a003 Bug 1699250 - Use proton dark theme in-content r=jaws
This also fixes up various about pages.

Differential Revision: https://phabricator.services.mozilla.com/D108800
2021-03-28 17:02:20 +00:00
Bogdan Tara
3b463ca0d1 Backed out changeset 421e6e333309 (bug 1699250) for browser_html_discover_view_clientid.js mochitest failures
DONTBUILD
2021-03-28 02:37:33 +02:00
Mark Striemer
3d91b0c5fb Bug 1699250 - Use proton dark theme in-content r=jaws
This also fixes up various about pages.

Differential Revision: https://phabricator.services.mozilla.com/D108800
2021-03-27 23:31:07 +00:00
Cosmin Sabou
4618d0a607 Backed out 2 changesets (bug 1690333, bug 1699250) for mochitest failures on test_notificationbox.xhtml.
Backed out changeset d6780d34ca05 (bug 1690333)
Backed out changeset 50cc5db86f1e (bug 1699250)
2021-03-27 23:58:04 +02:00
Mark Striemer
d4b82a8583 Bug 1699250 - Use proton dark theme in-content r=jaws
This also fixes up various about pages.

Differential Revision: https://phabricator.services.mozilla.com/D108800
2021-03-27 21:02:50 +00:00
Tim Nguyen
07661ae792 Bug 1699969 - Remove toolkit/themes/shared/icons/critical.svg. r=Itiel,johannh
Goals:

* Proton is renaming error.svg to critical-fill.svg, leaving critical.svg confusing in the whole icon set.
* Reducing the amount of toolkit icons to make it easier to design/name/swap in the new proton icons & reduce installer size
* New icon looks better too (improved contrast for light theme)

Differential Revision: https://phabricator.services.mozilla.com/D109232
2021-03-24 14:33:10 +00:00
Brindusan Cristian
442d9401c1 Backed out changeset 7c3c130fc7df (bug 1688703) for bc leaks. CLOSED TREE 2021-03-20 03:59:04 +02:00
Dana Keeler
047c44bdd9 Bug 1688703 - reuse certviewer utility files in devtools r=johannh,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D106340
2021-03-19 21:44:16 +00:00
Tim Nguyen
02d57f66a3 Bug 1698355 - Consolidate in-content focus outline styles. r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D108584
2021-03-18 23:22:07 +00:00
Butkovits Atila
59c50bbeb3 Backed out changeset 529ca682d2ff (bug 1698355) for causing failures at browser_parsable_css.js. 2021-03-19 01:01:48 +02:00
Tim Nguyen
1953bc5d33 Bug 1698355 - Consolidate in-content focus outline styles. r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D108584
2021-03-18 22:13:51 +00:00
Julien Cristau
19d48e9cc8 Bug 1615612 - wrap lines at 64 characters when downloading certificate chain from the cert viewer. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D107191
2021-03-16 19:17:54 +00:00
Tim Nguyen
4b8a2b71cf Bug 1698406 - Remove --in-content-box-background-{hover/active} variables. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D108393
2021-03-16 16:33:00 +00:00
Geoff Lankow
54ab3624a4 Bug 1675730 - Move critical.svg from browser to toolkit. r=johannh
certviewer.html, being a toolkit file, shouldn't link to an icon in browser. This results in a broken image icon in Thunderbird.

Differential Revision: https://phabricator.services.mozilla.com/D107166
2021-03-04 21:56:05 +00:00
Itiel
e1c856d383 Bug 1692772 - Vertically align the Export button on about:certificate r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D105136
2021-03-04 20:53:32 +00:00
Itiel
0bb647b6f6 Bug 1692773 - Fix about:certificate tabs' outline when focused r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D105223
2021-02-24 08:38:15 +00:00
Tim Nguyen
1a337bb3b7 Bug 1691313 - Use hidden DOM property instead of attribute methods in toolkit/. r=mtigley,preferences-reviewers,jaws
Differential Revision: https://phabricator.services.mozilla.com/D104777
2021-02-12 02:05:49 +00:00
Gijs Kruitbosch
35840ff57e Bug 1601841 - show UTC timestamps with month names in the immediately visible label on about:certificate to avoid confusion around date formats, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D101627
2021-01-18 16:58:49 +00:00
Kartik Gautam
7ae6aea145 Bug 1684173 - Add newline character at end of files when missing r=sylvestre,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D100484
2021-01-07 08:53:08 +00:00
Cosmin Sabou
2978aa00a3 Backed out changeset dbed1cdf588f (bug 1684173) for mochitest plain and devtools failures. a=backout DONTBUILD 2020-12-28 00:43:51 +02:00
Kartik Gautam
775cdec032 Bug 1684173 - Add newline character at end of files when missing r=sylvestre
Depends on D100443

Differential Revision: https://phabricator.services.mozilla.com/D100484
2020-12-27 11:43:41 +00:00
Tim Nguyen
e2f3a1c55d Bug 1677931 - Make about:certificate more consistent with other about: pages. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D97393
2020-11-18 19:13:42 +00:00
Razvan Maries
d6d217e501 Backed out changeset 3ce039856816 (bug 1677931) for perma failures on browser_parsable_css.js. CLOSED TREE 2020-11-18 21:00:18 +02:00
Tim Nguyen
20bfebe0c4 Bug 1677931 - Make about:certificate more consistent with other about: pages. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D97393
2020-11-18 13:32:21 +00:00
Emilio Cobos Álvarez
08ff297490 Bug 1672471 - Don't change tab border widths on hover in the certificate section. r=johannh
See https://crisal.io/words/2020/06/13/rounding-borders.html for why
border and padding snap differently, and the trade-offs we make.

This should also be faster (should avoid needing a re-layout).

Differential Revision: https://phabricator.services.mozilla.com/D95503
2020-11-02 12:42:17 +00:00
Gijs Kruitbosch
a15880c475 Bug 1673325 - fix cert viewer's fallback to last subject entry for tab names, r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D94717
2020-10-29 10:33:43 +00:00
Itiel
42c41f450a Bug 1673233 - Fix long text overflowing without ellipsis on the about:certificate tabs in RTL r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D94754
2020-10-27 21:15:16 +00:00
Gijs Kruitbosch
cdd84eee88 Bug 1659293 - fix cert viewer for certificates without a common name, r=prathiksha,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D94215
2020-10-21 22:09:07 +00:00
Itiel
ff1e6cc7f8 Bug 1671373 - Visual improvements to about:certificate r=johannh
1. Fix border-radius at the top of the tabs for RTL
2. Make every <list-item> flush with the panel
3. Force LTR / set dir=auto where needed

Differential Revision: https://phabricator.services.mozilla.com/D93690
2020-10-16 11:50:59 +00:00