Commit graph

171 commits

Author SHA1 Message Date
Mark Banner
fe937b78bd Bug 1758474 - Implement an ESLint rule to disallow passing {} as the target parameter for ChromeUtils.import. r=Gijs,mossop,perftest-reviewers,preferences-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D140517
2022-03-10 09:25:28 +00:00
Emilio Cobos Álvarez
3ead9a3061 Bug 1754266 - Teach browser_parsable_css.js about platform-specific queries. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D139675
2022-02-26 01:10:04 +00:00
Emilio Cobos Álvarez
13c6172000 Bug 1757109 - Fix browser_parsable_css.js to look at layers, @import, etc. r=Gijs
I just noticed this while looking at the back out of bug 1754266.

Differential Revision: https://phabricator.services.mozilla.com/D139674
2022-02-25 14:13:20 +00:00
Niklas Baumgardner
60637708f9 Bug 1741736 - Add overlay to Screenshots component implementation. r=sfoster,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D132832
2022-01-14 18:06:11 +00:00
Brendan Dahl
95768e21ee Bug 1743838 - Update pdf.js to version 2.12.248 r=pdfjs-reviewers,calixte
Differential Revision: https://phabricator.services.mozilla.com/D132586
2021-12-02 23:04:11 +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
Sebastian Hengst
3ac49e3593 Bug 1733426 - restrict exception for autocomplete-item.css in browser_parsable_css.js to Windows. r=tgiles
The exception got added in this bug, the usage of the CSS rule in bug 1696132
which started the Windows-only failures.

Differential Revision: https://phabricator.services.mozilla.com/D127975
2021-10-08 16:55:39 +00:00
Tim Giles
82264d8c1d Bug 1733426: Add workaround in test due to autocomplete-item.css being treated as a non-privileged stylesheet. r=dimi
This adds a workaround in the `browser_parsable_css.js` test for the autocomplete item stylesheets.
These stylesheets are loaded via chrome:// and so are privileged stylesheets, but in automation they are loaded as non-privileged stylesheets.
Since color-mix requires chrome privileges outside of Nightly, we need this workaround in order to not permanently fail when migrating from central to beta/release.

Differential Revision: https://phabricator.services.mozilla.com/D127314
2021-10-07 17:27:34 +00:00
Brendan Dahl
1ba71d6e84 Bug 1724461 - Update pdf.js to version 2.11.91 r=pdfjs-reviewers,calixte
Differential Revision: https://phabricator.services.mozilla.com/D122023
2021-08-06 22:15:48 +00:00
Emilio Cobos Álvarez
9e80cd9710 Bug 1708384 - Properly hide -moz-context-properties from content. r=dholbert
Depends on D114481

Differential Revision: https://phabricator.services.mozilla.com/D114482
2021-05-12 21:45:18 +00:00
Gijs Kruitbosch
71928caa84 Bug 1694418 - show origins in the title of the auth prompt, r=pbz,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D108857
2021-04-16 21:28:46 +00:00
Brendan Dahl
f6d17a387d Bug 1704661 - Fix browser_parsable_css for latest pdf.js update. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D111952
2021-04-14 01:38:01 +00:00
Mats Palmgren
b80f010fb4 Bug 1687239 part 3 - Remove the PluginProblem UA Widget and related CSS pseudos. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D102901
2021-01-25 11:53:57 +00:00
Emilio Cobos Alvarez
a8cc412d5c Bug 1551040 - Add a windows-only exception for autocomplete-item.css.
Win-only orange on a CLOSED TREE.
2021-01-18 00:25:47 +02:00
Emilio Cobos Álvarez
1ff0ef892e Bug 1551040 - Allow resource:// stylesheets to use chrome-only rules. r=boris
We'll use it to use @-moz-document from plaintext.css.

Differential Revision: https://phabricator.services.mozilla.com/D101516
2021-01-17 15:07:49 +00:00
Emilio Cobos Álvarez
076de04bde Bug 1685917 - Remove layout.css.file-selector-button.enabled pref. r=heycam
On by default since bug 1662478 (Firefox 82)

Depends on D101289

Differential Revision: https://phabricator.services.mozilla.com/D101290
2021-01-11 01:55:50 +00:00
Emilio Cobos Álvarez
816e05c71f Bug 1475316 - Expose :autofill behind a pref to content, and add :-webkit-autofill as a compat alias. r=nordzilla
Nightly only until we get resolutions on the relevant spec issues.

Differential Revision: https://phabricator.services.mozilla.com/D99296
2020-12-16 08:16:16 +00:00
Emilio Cobos Álvarez
9715d1f96c Bug 1475316 - Rename -moz-autofill to just autofill. r=geckoview-reviewers,esawin,boris
No compat impact, as this remains an internal pseudo-class for the time
being.

Differential Revision: https://phabricator.services.mozilla.com/D99295
2020-12-16 08:16:08 +00:00
Henri Sivonen
c23d2f47ca Bug 1667113. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D93482
2020-10-23 12:48:56 +00:00
Frederic Wang
0eebca3c33 Bug 1667118 - Rename -moz-math-script-level to math-depth. r=emilio
This renames the internal -moz-math-script-level property in order to
prepare for full math-depth support. Currently, the property is guarded
under a disabled-by-default flag, so there should be no observable
behavior change.

Differential Revision: https://phabricator.services.mozilla.com/D91285
2020-09-26 03:04:56 +00:00
Narcis Beleuzu
679469fad8 Backed out changeset 239f29a99c4f (bug 1667118) for bc failure on browser_parsable_css.js . CLOSED TREE 2020-09-25 23:39:15 +03:00
Frederic Wang
5461921d85 Bug 1667118 - Rename -moz-math-script-level to math-depth. r=emilio
This renames the internal -moz-math-script-level property in order to
prepare for full math-depth support. Currently, the property is guarded
under a disabled-by-default flag, so there should be no observable
behavior change.

Differential Revision: https://phabricator.services.mozilla.com/D91285
2020-09-25 18:37:39 +00:00
Mihai Alexandru Michis
cc04d2696e Backed out changeset b08319695e21 (bug 1667118) for causing xpcshell failures in test_css-properties-db.js
CLOSED TREE
2020-09-25 16:40:33 +03:00
Frederic Wang
eb4b491896 Bug 1667118 - Rename -moz-math-script-level to math-depth. r=emilio
This renames the internal -moz-math-script-level property in order to
prepare for full math-depth support. Currently, the property is guarded
under a disabled-by-default flag, so there should be no observable
behavior change.

Differential Revision: https://phabricator.services.mozilla.com/D91285
2020-09-25 12:04:53 +00:00
Frederic Wang
0547b82540 Bug 1667122 - Make CSS tests work when math-style is disabled. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D91387
2020-09-25 10:52:38 +00:00
Emilio Cobos Álvarez
8b0177b46a Bug 1664718 - Allow :is() and :where() to have better error recovery. r=xidorn
Adjust is-where-parsing.html to work with both the new and old behavior,
and add a test for the new behavior.

Depends on D90049

Differential Revision: https://phabricator.services.mozilla.com/D90050
2020-09-14 22:33:01 +00:00
Emilio Cobos Álvarez
03baee9d8a Bug 1662478 - Rename ::file-chooser-button to ::file-selector-button, and enable it in all channels. r=jwatt
See https://github.com/w3c/csswg-drafts/issues/5049

Differential Revision: https://phabricator.services.mozilla.com/D88995
2020-09-01 22:58:10 +00:00
Emilio Cobos Álvarez
063c081360 Bug 1660857 - Only apply grayscale filter for printing on print preview. r=jwatt,dholbert
Differential Revision: https://phabricator.services.mozilla.com/D88065
2020-08-27 09:37:31 +00:00
Cameron McCormack
406ebd614d Bug 1654004 - Tweak browser_parsable_css.js to account for other rules when the ::file-chooser-button pref is disabled. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D84271
2020-07-21 07:57:47 +00:00
Cameron McCormack
dd61f595eb Bug 1620467 - Part 4: Change internal uses of -moz-appearance to appearance and -moz-default-appearance. r=emilio,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,ntim,agi,miketaylr
Uses of `-moz-appearance: none` are changed to `appearance: none`.

Uses of other values that are simply reverting the appearance back to
its default are changed to `appearance: auto`.

Uses of values in UA sheets that are defining the inherent appearance of
widgets are changed to:

  appearance: auto;
  -moz-default-appearance: <value>;

since those values are either no longer supported on (-moz-)appearance,
or are still supported but only in some limited form.

There are some uses of `-moz-appearance: textfield` on <input
type=number> elements that are renamed to `appearance: textfield`.

Differential Revision: https://phabricator.services.mozilla.com/D83430
2020-07-16 22:04:14 +00:00
Christoph Kerschbaumer
3d7ee5e969 Bug 1652997: Package all devtools css files and load them using the internal chrome: protocol. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D83656
2020-07-15 16:02:28 +00:00
Sebastian Hengst
7847e18297 Backed out 3 changesets (bug 1145314) on request from ckerschb for regressions (e.g. bug 1650951)
Backed out changeset 664cc562ddf3 (bug 1145314)
Backed out changeset 9640a9d093c7 (bug 1145314)
Backed out changeset 5492ac0e42f7 (bug 1145314)
2020-07-07 09:32:27 +02:00
Christoph Kerschbaumer
5c8e547bd8 Bug 1145314: Package all devtools css files and load them using the internal chrome: protocol. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D78896
2020-07-03 08:12:22 +00:00
Narcis Beleuzu
9d8472510e Backed out 2 changesets (bug 1145314) for mochitest failures on test_bug995943.xhtml . CLOSED TREE
Backed out changeset 0500cb344e6f (bug 1145314)
Backed out changeset f524ffe669ca (bug 1145314)
2020-07-02 20:50:46 +03:00
Christoph Kerschbaumer
bfc3fb787d Bug 1145314: Package all devtools css files and load them using the internal chrome: protocol. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D78896
2020-07-02 15:03:52 +00:00
Csoregi Natalia
355f38ec2f Backed out 2 changesets (bug 1145314) for node debugger failure. CLOSED TREE
Backed out changeset 550f9596f16b (bug 1145314)
Backed out changeset 93dbc3fe146a (bug 1145314)
2020-07-02 12:37:06 +03:00
Christoph Kerschbaumer
5e32e6565e Bug 1145314: Package all devtools css files and load them using the internal chrome: protocol. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D78896
2020-07-02 08:17:17 +00:00
neil
6b1f254a89 Bug 1641324 Remove the layout.css.scrollbar-width.enabled and layout.css.scrollbar-color.enabled prefs r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D78400
2020-06-10 13:16:34 +00:00
Cameron McCormack
5e27c1bd6b Bug 1642261 - Part 2: Add telemetry for -moz-appearance usage. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D77637
2020-06-05 00:39:50 +00:00
Emilio Cobos Álvarez
13e0b9c0b5 Bug 1641310 - Add a whitelist entry to browser_parsable_css.js to account for ::file-chooser-button.
Differential Revision: https://phabricator.services.mozilla.com/D77133
2020-05-27 19:18:41 +00:00
Emilio Cobos Álvarez
dada165f64 Bug 1618260 - Remove an unused whitelist item in browser_parsable_css.js.
Now we don't get to parse that declaration because it's inside a block with an
internal selector.

CLOSED TREE

MANUAL PUSH: Test is skipped on debug builds so I missed it from my try push.
2020-03-18 13:19:06 +01:00
Emilio Cobos Álvarez
5bba05d7c8 Bug 1620307 - Rename -moz-menulist-button to -moz-menulist-arrow-button. r=spohl
This should be less confusing. This is not supported outside of chrome:// or
user-agent stylesheets so we can name this however we want.

Differential Revision: https://phabricator.services.mozilla.com/D65605

--HG--
extra : moz-landing-system : lando
2020-03-05 21:13:46 +00:00
Emilio Cobos Álvarez
e2073b5881 Bug 1606263 - Test-only follow-up: Fix browser_parsable_css to account for UA-only selector.
Differential Revision: https://phabricator.services.mozilla.com/D58386

--HG--
extra : moz-landing-system : lando
2019-12-30 17:51:21 +00:00
Emilio Cobos Álvarez
b498defa90 Bug 1603455 - Remove full-screen-api.unprefix.enabled. r=xidorn,smaug
It's been enabled since Firefox 64.

Differential Revision: https://phabricator.services.mozilla.com/D56951

--HG--
extra : moz-landing-system : lando
2019-12-13 13:27:27 +00:00
Noemi Erli
2b5af87228 Backed out changeset d23f209ada8b (bug 1603455) for causing failures in test_fullscreen-api.html
--HG--
extra : rebase_source : 7b7990746d3884eeced2404ed9bc78590db4b77c
2019-12-12 23:49:35 +02:00
Emilio Cobos Álvarez
8d6730e227 Bug 1603455 - Remove full-screen-api.unprefix.enabled. r=xidorn,smaug
It's been enabled since Firefox 64.

Differential Revision: https://phabricator.services.mozilla.com/D56951

--HG--
extra : moz-landing-system : lando
2019-12-12 19:56:10 +00:00
Cameron McCormack
80142a59ab Bug 1571285 - Correctly style dark scrollbars in tree components. r=emilio
We need to ensure the rules that override all properties for scrollbar
part elements only apply to those that are NAC (and so will be eligible
for NAC style sharing).  We have some uses of non-NAC <scrollbar>
elements that should continue to inherit properties from their parents.

To avoid any changes in rule matching order that come with changing specificity,
we add a new :-moz-native-anonymous-no-specificity pseudo-class.

While we're here, we note :-moz-native-anonymous-no-specificity (and the
regular :-moz-native-anonymous pseudo-class) as not needing style
sharing cache revalidation, as we never share NAC styles.

Differential Revision: https://phabricator.services.mozilla.com/D56154

--HG--
extra : moz-landing-system : lando
2019-12-09 03:16:03 +00:00
Cameron McCormack
44c89b66fe Bug 1599286 - Prevent -moz-min-font-size-ratio from interfering with cached scrollbar styles. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D54674

--HG--
extra : moz-landing-system : lando
2019-11-27 06:02:47 +00:00
Julian Descottes
5c1a679523 Bug 1539462 - Remove WebIDE r=ochameau,jryans,janerik,fluent-reviewers,flod
Per deprecation roadmap on https://developer.mozilla.org/en-US/docs/Tools/Deprecated_tools#WebIDE_and_Connect_page

Differential Revision: https://phabricator.services.mozilla.com/D46703

--HG--
extra : moz-landing-system : lando
2019-09-25 17:24:58 +00:00
Andrew Swan
036b82a357 Bug 1569135 Fix --screenshot r=kmag
This patch ressurects HiddenFrame.jsm and uses it when handling
the --screenshot command line argument to load the requested page
in a content process.  The actual logic for grabbing the image is
also ported to a JSWindowActor.  The test for this feature remains
suboptimal as described in the bug.

Differential Revision: https://phabricator.services.mozilla.com/D40148

--HG--
rename : browser/components/shell/HeadlessShell.jsm => browser/components/shell/ScreenshotChild.jsm
extra : moz-landing-system : lando
2019-08-07 21:33:49 +00:00