Граф коммитов

725116 Коммитов

Автор SHA1 Сообщение Дата
Daniel Holbert 9f9527f388 Bug 1662880: Fix typo in reftest reference-case meta tag, for vert-block-size-small-or-larger-than-container-with-min-or-max-content-2b.html. r=boris
Differential Revision: https://phabricator.services.mozilla.com/D89210
2020-09-02 20:57:15 +00:00
Tom Ritter d498aa5e16 Bug 1662189 - Enforce eval() restrictions on release r=freddyb,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D88882
2020-09-02 20:49:04 +00:00
Emma Malysz 7acc673838 Bug 1662691, ensure we clear the error timeout when switching to 'all' page range r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D89158
2020-09-02 16:55:23 +00:00
Mihai Alexandru Michis 7fb69eef2a Backed out changeset 71edbf86ce85 (bug 1662855) for causing xpcshell failures.
CLOSED TREE
2020-09-03 01:56:09 +03:00
Jeff Gilbert 7f2b6ffa0b Bug 1654459 - Default webgl.enable-surface-texture to true. r=snorp
This should match the previous behavior where non-parent processes
ignored the pref and used surface textures.

Differential Revision: https://phabricator.services.mozilla.com/D84476
2020-09-02 14:41:46 +00:00
Mark Banner 72108b8c37 Bug 1642990 - Stop writing appVersion to the search cache, clean up accesses. r=daleharvey
appVersion is no longer used with modern config.
Also realised we could remove 'this._metaData' in the search service as it isn't used now.
Tidied up the load*FromCache functions as we don't need to pass the cache to them - just the engines. This makes the cache use clearer.
Also simplified getting the verified attribute when finding the default engine.

Depends on D88277

Differential Revision: https://phabricator.services.mozilla.com/D88462
2020-09-02 22:24:39 +00:00
Mark Banner 8161a9bd69 Bug 1559530 - Remove nsISearchService.reInit. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D88277
2020-09-02 22:24:37 +00:00
Mark Banner bfbc169a07 Bug 1559530 - When changing the separatePrivateDefault preference, also reset the sort order. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D88276
2020-09-02 22:24:29 +00:00
Mark Banner 9a7468c874 Bug 1559530 - Remove test_require_engines_in_cache.js as it is testing the same as test_json_cache_broken.js. r=daleharvey
test_json_cache_broken.js is a nicer test that doesn't need reInit and tests more, so remove the older test_require_engines_in_cache.js.

Differential Revision: https://phabricator.services.mozilla.com/D88275
2020-09-02 22:24:27 +00:00
Mark Banner 68414dddc0 Bug 1661234 - Simplify head_search.js' readJSONFile. r=daleharvey
Rather than using NetUtils, we can swap to OS.File.read and TextDecoder().

Differential Revision: https://phabricator.services.mozilla.com/D88274
2020-09-02 22:24:25 +00:00
Mark Banner 772abd8e90 Bug 1661234 - Remove useTestEngines from head_search.js, use SearchTestUtils version instead. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D88273
2020-09-02 22:24:22 +00:00
Mark Banner 090dd4370d Bug 1612824 - Search Services shouldn't use reInit for when the locale is changed or the ignore list is updated. r=daleharvey
reInit is unsafe as it completely removes the existing data before reloading. If something interrupts the process that can cause dataloss.

_maybeReloadEngines is safer as it does changes progressively, it also now handles removing engines, which it didn't before.

Depends on D88023

Differential Revision: https://phabricator.services.mozilla.com/D88272
2020-09-02 22:24:20 +00:00
Karl Tomlinson 01543eaa25 Bug 1659201 Test AudioWorkletNode subclass with parameters r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D87555
2020-09-02 15:06:11 +00:00
Agi Sferro 758f4524b7 Bug 1660130 - Use ensureBuiltIn in our docs. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D87672
2020-09-02 22:17:59 +00:00
Agi Sferro b7a706d5a4 Bug 1661299 - Read web-app manifest on top-level frames only. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D89087
2020-09-02 22:17:30 +00:00
Geoff Brown a2e1392505 Bug 1390884 - Enable all test-verify chaos modes except TimerScheduling; r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D89214
2020-09-02 21:13:40 +00:00
Mihai Alexandru Michis 6c30ec24e2 Bug 1662851 - Un-vendor `pipenv` and `virtualenv-clone` in tree
CLOSED TREE

Differential Revision: https://phabricator.services.mozilla.com/D89196
2020-09-03 01:00:40 +03:00
owlishDeveloper 9bc69387a9 Bug 1662590 - Migrate GVE to new onExternalResponse endpoint. Fix IOUtils to not create buffer 2x larger than needed r=geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D89074
2020-09-02 19:51:28 +00:00
Emilio Cobos Álvarez 0680c18f72 Bug 1662813 - Factor out the "should print backgrounds" checks to nsIFrame. r=mats
I had written this on one of my attempts to fix the missing text on
reddit when printing, but I think it's worth landing anyways not only
because it's slightly cleaner, but because it avoids the virtual call
and style checks when we're not printing.

This should be an idempotent change.

Differential Revision: https://phabricator.services.mozilla.com/D89171
2020-09-02 21:30:59 +00:00
Andrew McCreight ecb1dff94b Bug 1661173 - Use browserId instead of the BC for BrowserTestUtils.addContentEventListener. r=kmag
The browserId is stable across navigations, but the browsing context
itself might not be if we are not preserving the BC across navigations.

It might seem like this change would mean that we'd start getting notified
about events for subframes, but the old code was passing in the BC of the
top level frame anyways, so that's not a change in behavior.

Differential Revision: https://phabricator.services.mozilla.com/D89179
2020-09-02 21:09:45 +00:00
Ricky Stewart 59ed932290 Bug 1662856 - Delete `MercurialNativeRevisionFinder` and associated test r=dmajor
Bug 1659539 caused the unit tests of this class to suddenly start running on Linux; it failed with a type error that suggests this test has never really properly worked, at least not with the version of Mercurial we're using in CI (`unsupported changeid '0' of type <type 'unicode'>`). The class itself isn't used anywhere besides these tests, so just delete the entire class.

Differential Revision: https://phabricator.services.mozilla.com/D89205
2020-09-02 21:00:23 +00:00
James Willcox b8fb1213a4 Bug 1662528 - Make ContentDelegate.onCloseRequest() work again r=geckoview-reviewers,agi
This also adds a test.

Differential Revision: https://phabricator.services.mozilla.com/D89026
2020-09-02 20:02:52 +00:00
Ting-Yu Lin a37d0b0a85 Bug 1662837 - Rename variables names in PartiallyResolveAutoMinSize(). r=boris
Make the variable names closer to the terms in the spec.
https://drafts.csswg.org/css-flexbox-1/#min-size-auto

This patch shouldn't change the behavior.

Differential Revision: https://phabricator.services.mozilla.com/D89184
2020-09-02 20:39:02 +00:00
Iain Ireland d12c86aa57 Bug 1661728: Remove ICScript::jitScript_ r=jandem
The bug here occurs when we:
a) Trial-inline A into B, creating an ICScript owned by B with a pointer to A's JitScript.
b) Perform a compacting GC, discarding the JitScript for A, but preserving the JitScript for B (because it is on the stack).
c) Create a new JitScript for A.
d) Warp-compile B, without hitting the B->A trial-inlined call IC.

In this case, the `JitScript*` stored in the ICScript created in `a)` is dangling, and does not match the JitScript created in `c)`.

The easy way to fix this is to not store a `JitScript*` here in the first place. We only use `ICScript::jitScript_` to:
a) Tell whether the ICScript is inlined, which can be done more easily by looking at the depth.
b) Find the `FallbackICStubSpace` for non-inlined ICScripts.

If we use the depth to tell when an ICScript is inlined, then we don't need a pointer to find the owning JitScript (and therefore its stub space) for non-inlined ICScripts. Non-inlined ICScripts are embedded inside a JitScript, so we can compute the offset directly.

Differential Revision: https://phabricator.services.mozilla.com/D88690
2020-08-31 12:52:47 +00:00
Anny Gakhokidze 68abfa3c44 Bug 1661806 - Make test_resizeby.html wait for about:blank to load, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D88933
2020-09-02 16:45:42 +00:00
Nathan Froyd e199f12eb0 Bug 1662707 - add HasEmptyHeader function and use it in various nsTArray places; r=xpcom-reviewers,sg
One small step to removing that ugly `const_cast`.

Differential Revision: https://phabricator.services.mozilla.com/D89122
2020-09-02 17:42:56 +00:00
Andrew Halberstadt 8f45b2b0d4 Bug 1650406 - [taskgraph] Never run 'upload-symbols' tasks with |mach try auto|, r=marco
Differential Revision: https://phabricator.services.mozilla.com/D88874
2020-09-02 20:20:26 +00:00
Andrew Halberstadt b995cc5a0c Bug 1650406 - [ci] Ensure 'test-verify' tasks use the 'test' strategy with |mach try auto|, r=marco
Differential Revision: https://phabricator.services.mozilla.com/D88873
2020-09-02 20:19:33 +00:00
Ricky Stewart 204ea8222e Bug 1659542 - Remove support for `pipenv` in `mozilla-central` r=mhentges,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D89192
2020-09-02 19:55:57 +00:00
Kris Maglione d2863ca956 Bug 1662855: Remove defunct httpd.manifest file. r=mccr8,necko-reviewers,valentin
The manifest file hasn't actually done anything since XPT definitions were
moved to the libxul binary, and now just generates warnings in local builes.

Differential Revision: https://phabricator.services.mozilla.com/D89197
2020-09-02 20:14:12 +00:00
Zibi Braniecki 51dd2eebad Bug 1662309 - Update fluent-rs to 0.12. r=kamidphish
Differential Revision: https://phabricator.services.mozilla.com/D88942
2020-09-02 20:06:41 +00:00
Andrew Halberstadt 5ab2f43b00 Bug 1655750 - [ci] Ensure tryselect cram task always runs on try pushes when relevant, r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D89187
2020-09-02 19:44:49 +00:00
Andrew Halberstadt 12c83e7e26 Bug 1655750 - [tryselect] Handle --list/edit-presets even on selectors that don't support presets, r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D88645
2020-09-02 19:44:49 +00:00
Jeff Gilbert e26cc0255a Bug 1657084 - Skip huge-texture-allocation tests that stall Lin+ASAN jobs. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D89193
2020-09-02 19:12:53 +00:00
Steve Fink 98eb6c1864 Bug 1661410 - Post-barrier writes to TypedObject string references r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D88466
2020-09-02 19:25:03 +00:00
Chris H-C f36437a53e Bug 1658359 - Init the Glean SDK off-thread r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D88981
2020-09-02 17:06:50 +00:00
Chris H-C ed7847a59f Bug 1658359 - Point Glean-sent pings to localhost for tests that redirect Telemetry r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D88980
2020-09-02 19:05:07 +00:00
Chris H-C a969a6a18e Bug 1658359 - Don't let about:glean crash if Glean isn't init r=janerik
Some fog control APIs want to be able to not explode if the Global Glean isn't
available yet. Let's make that possible.

Differential Revision: https://phabricator.services.mozilla.com/D87279
2020-09-02 17:06:40 +00:00
Chris H-C a142cdf705 Bug 1658359 - Update logging documentation r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D87278
2020-09-02 17:06:37 +00:00
Chris H-C 284c6c3ed7 Bug 1658359 - Initialize FOG during startup idle. r=janerik
This makes FOG self-contained and no longer reliant on Telemetry for init.

We may need to adjust the timeout of the startup idle task to init earlier,
or adjust the pre-init buffer to allow us to init later.

For now of course all of this is moot because no one's using this for anything.

Differential Revision: https://phabricator.services.mozilla.com/D87276
2020-09-02 17:06:29 +00:00
Chris H-C 3f2cb3dbc6 Bug 1658359 - Move FOG client info to Rust r=janerik
We can now get everything fog_init needs from xpcom in Rust without having to
pass anything from C++.

Differential Revision: https://phabricator.services.mozilla.com/D87275
2020-09-02 17:06:26 +00:00
Chris H-C ff95941133 Bug 1658359 - Rename nsIAboutGlean and friends to nsIFOG r=janerik
We'll need this interface for more general operations than just powering
about:glean.

Differential Revision: https://phabricator.services.mozilla.com/D87274
2020-09-02 17:06:18 +00:00
Harry Twyford 4cd4dde714 Bug 1655473 - Allow autofill only in local search modes. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D88219
2020-09-02 19:23:12 +00:00
Jeff Gilbert 5c1e73b6a8 Bug 1662789 - Add IpcWebGL?/IpcWebGL+ feature annotation. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D89177
2020-09-02 19:14:53 +00:00
Michael Kaply 31316102d3 Bug 1656556 - Switch to device context as default for Firefox MSI. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D89186
2020-09-02 18:58:49 +00:00
Ricky Stewart 4c46edb8ed Bug 1660559 - In `mach bootstrap`, initialize the `mach` `virtualenv`s early and run `mach artifact` with them r=mhentges,ahal
`mach artifact` has a dependency on `zstandard`, which is installed in the `mach` `virtualenv`s, so we have to run `mach artifact` with the correct `virtualenv`. Also create the `virtualenv`s earlier in the process to account for this.

This all has a dependency on the existence of a checkout (which has the `mach` script with all its dependencies on everything else), but after bug 1647792 that's not a concern.

Differential Revision: https://phabricator.services.mozilla.com/D87920
2020-09-02 17:02:12 +00:00
Ricky Stewart 792b74bafb Bug 1662819 - Refactor `virtualenv` script path locating logic r=mhentges,froydnj
The ability to get the path to the Python executable from a given `virtualenv` location is generally useful outside the context of all the extra stuff a `VirtualenvManager` provides, so refactor it out into a lighter-weight helper class.

Differential Revision: https://phabricator.services.mozilla.com/D89175
2020-09-02 18:52:58 +00:00
Ricky Stewart 4c6985333a Bug 1659539 - [python-test] Remove '--python' and stop using pipenv to manage virtualenvs r=ahal
Pipenv is heavy weight and overkill for the purposes it is being used. We'd like to remove it from the tree and |mach python-test| was one of the last remanining use cases.

Remove the `--python` command-line argument as a result. Users who wish to run unit tests with Python 2 can do `MACH_PY2=1 ./mach python-test ...` or `python2 ./mach python-test ...`.

Also update a few unit tests that would break otherwise in the presence of this change.

There were a couple lines in the `setup.py` for `mozlog` that were problematic for tests and was resulting in errors due to the `mozlog` plugin being loaded by `pytest` more than once. We just delete those lines and bump up the major version number of the package to fix it.

Differential Revision: https://phabricator.services.mozilla.com/D88296
2020-09-02 17:05:24 +00:00
Ricky Stewart 0afe96bbf7 Bug 1662793 - Set `python` appropriately in `gyp_reader` r=froydnj
Otherwise `gyp` can choose incorrectly when trying to figure out which Python to use to run its internal scripts, which can manifest as test failures in certain circumstances.

Differential Revision: https://phabricator.services.mozilla.com/D89165
2020-09-02 16:17:21 +00:00
Ricky Stewart 1a65ffc115 Bug 1662787 - Provide an environment variable to force running `mach python-test` command with Python 2 r=froydnj,firefox-build-system-reviewers,mhentges
This is only useful for `mach` commands that we want to run with Python 3 by default, but for which running with Python 2 is still useful. We now have one such command: `python-test`.

In `mach`, switch on the presence of the `MACH_PY2` environment variable. We only want to allow this for `python-test`, so do that sanity check in `mach` as well.

Differential Revision: https://phabricator.services.mozilla.com/D89162
2020-09-02 16:21:42 +00:00