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

703551 Коммитов

Автор SHA1 Сообщение Дата
Agi Sferro cef279c2d6 Bug 1632922 - Remove unused mobile/android/tests. r=snorp
This folder is entirely made up of chrome tests that we don't run anymore.

Differential Revision: https://phabricator.services.mozilla.com/D72428
2020-04-24 21:53:10 +00:00
Mitchell Hentges b6eb2ea22e Bug 1627072 - Runs pip-compile in same directory as temporary requirements file r=rstewart
pip-compile can annotate each requirement with a reason why it is included (e.g.: transitive dependency, or depended-on directly).

When annotating direct dependencies, it notes it as "via -r <direct path to requirements.in file>".
Since we were using a temporary directory, the path of the directory was being included, making the output non-deterministic.

This change ensures that we run pip-compile in the same working directory as the temporary requirements file, enabling
the annotations to be deterministic: "via -r requirements-mach-vendor-python.in".

Differential Revision: https://phabricator.services.mozilla.com/D72181
2020-04-24 20:54:06 +00:00
Marco Bonardo 61ecccef7b Bug 1412985 - Add a forced search urlbar result for e-mail like strings. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D72411
2020-04-24 19:46:36 +00:00
emcminn 1c22ae465d Bug 1599138 - UI update and pref toggle for Whats New Panel r=andreio,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D71341
2020-04-24 19:48:43 +00:00
Bob Clary fad49b2fa4 Bug 1631671 - Skip test_nsIProcess.js as random on Android. a=fix
CLOSED TREE
2020-04-24 13:07:52 -07:00
Coroiu Cristina 07757a8da8 Bug 1591344 - update disable condition for browser_ElapsedTime.js on win platform r=egao
Differential Revision: https://phabricator.services.mozilla.com/D72445
2020-04-24 21:23:07 +00:00
Kagami Sascha Rosylight aa6ba15dc8 Bug 1630704 - Remove NS_FRAME_TRACE_MSG r=emilio
NS_FRAME_TRACE_MSG is identical to NS_FRAME_TRACE, no need to keep it.

Differential Revision: https://phabricator.services.mozilla.com/D72410
2020-04-24 19:12:56 +00:00
Kagami Sascha Rosylight 2f8b998e96 Bug 1628726 - Use os.path.realpath consistently r=rstewart
`os.path.realpath` in Python 3.8 now always uppercases Windows drive letter, while it was just an alias of `os.path.abspath` in Windows. This patch uses `.realpath()` consistently to get `topobjdir` to fix the incompatibility from the behavior change.

Differential Revision: https://phabricator.services.mozilla.com/D72188
2020-04-24 20:59:03 +00:00
Adam Gashlin f67c05fd07 Bug 1632981 - Hide focus rectangle on installing label. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D72460
2020-04-24 20:57:35 +00:00
Tooru Fujisawa ade632335d Bug 1632737 - Cover GCThing::Function in match. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D72287
2020-04-24 20:14:22 +00:00
Edwin Takahashi 674090e5d1 Bug 1608837 - add updated runtime files with web-platform-tests data r=ahal
Changes:
  - pull web-platform-tests runtime data for all platforms.

Differential Revision: https://phabricator.services.mozilla.com/D71610
2020-04-24 20:53:43 +00:00
Mihai Alexandru Michis f71d7e6a52 Backed out changeset 9432b1bd3d98 (bug 1625720) for causing crashes in LayerComposite.
CLOSED TREE
2020-04-25 00:10:33 +03:00
Doug Thayer 3f6bd77954 Bug 1630655 - Ensure PreferencesWriter::Flush actually flushes r=njn
I'm not positive that the intended behavior of PreferencesWriter::Flush
is to ensure that any pending writes to the preferences file are
completed, but that seems like what it ought to be for, and it does
not look water-tight. For one, adding a sync runnable to a thread pool
will not ensure that any previously submitted runnables have completed
by the time it returns. And two, the exchange on sPendingWriteData only
guarantees that the write has started.

This change simply ensures that the write to disk has been completed
before returning.

Differential Revision: https://phabricator.services.mozilla.com/D72016
2020-04-24 07:30:21 +00:00
Doug Thayer dfa7ab6aeb Bug 1630655 - Squash TSAN data race report in IOInterposer r=aklotz
In practice this shouldn't substantially change the behavior, but
it gets around being UB, and it shouldn't really cost us in terms
of performance. The alternative would be adding it to the TSAN
whitelist, which feels worse.

Differential Revision: https://phabricator.services.mozilla.com/D72015
2020-04-24 20:31:53 +00:00
Doug Thayer 686c7cce17 Bug 1630655 - Actually advance lateWriteChecksStage to 3 r=erahm
The preprocessor does not handle "# ifdef" like the C preprocessor,
and I failed to test this appropriately after restructuring the
#if... clauses. This also reverts fastShutdownStage back to 1, so
we can be confident in the data we collect.

Differential Revision: https://phabricator.services.mozilla.com/D71190
2020-04-23 16:43:17 +00:00
Rob Wu b6d9307bbc Bug 1631933 - Drop support for data:-URLs in webRequest r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D71991
2020-04-24 19:50:38 +00:00
Rob Wu 3a06d4dda0 Bug 1631771 - Add guard to clearPrimedListeners in ext-backgroundPage.js r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D71990
2020-04-23 10:13:13 +00:00
Kershaw Chang b0ac2c6c92 Bug 1485652 - Reimplement IsAcceptableForHost r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D67949
2020-04-24 14:45:56 +00:00
Henrik Skupin 88e6dd92b0 Bug 1627434 - [raptor] Cache current tab id to support Fennec for background tests. r=perftest-reviewers,sparky
When Raptor moves Fennec into the background querying for
the active tab doesn't return any value. To fix that the
current tab id can be cached, which also doesn't require
us to always have to query for the current tab when updating
or closing it.

Differential Revision: https://phabricator.services.mozilla.com/D72033
2020-04-24 19:50:10 +00:00
Henrik Skupin 6637db11c1 Bug 1627434 - [raptor] Only create a new initial tab when tests require it. r=perftest-reviewers,Bebe
Differential Revision: https://phabricator.services.mozilla.com/D72032
2020-04-23 11:45:29 +00:00
Chris AtLee b246a1493c Bug 1632601: Create test archives for jsreftest and jittest r=ahal
Split out jsreftest and jittest files into their own packages, removing them
from the common package.

This speeds up extracting files from the common test archive for
non-jsreftest/jittest suites.

Also, remove some files from the web-platform test archive that are already
present in the common archive.

Differential Revision: https://phabricator.services.mozilla.com/D72192
2020-04-24 20:18:58 +00:00
Emilio Cobos Álvarez b19bd8b437 Bug 1632960 - Remove warning that spams unnecessarily.
This is useful to debug issues with zoom, but it is very spammy because
it can happen in legitimate situations, and it's not high-value enough.

Differential Revision: https://phabricator.services.mozilla.com/D72448
2020-04-24 20:03:43 +00:00
Stephen A Pohl 4be18f0f0e Bug 1578917: Force macOS Aqua appearance on for content processes, crash reporter and updater. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D70783
2020-04-24 18:37:57 +00:00
Dorel Luca c2d429f9a0 Backed out 2 changesets (bug 1576188) for Build bustage in docshell/base/BrowsingContext.cpp. CLOSED TREE
Backed out changeset 7e5e86986811 (bug 1576188)
Backed out changeset b731cbad59a8 (bug 1576188)
2020-04-24 23:02:11 +03:00
Gregory Mierzwinski 9df7446173 Bug 1632865 - Add Raptor live site tests to whitelist and immediately disable playback. r=perftest-reviewers,Bebe
This patch adds the new live site tests to the whitelist so that they can run. It also moves the playback settings back to where it was (before any test name changes) and adds some comments to make sure we're aware of this in the future.

Differential Revision: https://phabricator.services.mozilla.com/D72394
2020-04-24 15:28:27 +00:00
Jeff Muizelaar e11b7fe8c4 Bug 1632961 - Fix up kabylake ids. r=aosmond
Remove duplicates and add back 0x5912

Differential Revision: https://phabricator.services.mozilla.com/D72441
2020-04-24 19:34:12 +00:00
Andreas Farre 55a186014d Bug 1576188 - Handle save-as for cross process iframes. r=peterv
Depends on D70388

Differential Revision: https://phabricator.services.mozilla.com/D70389
2020-04-24 15:47:26 +00:00
Andreas Farre 91925ee89e Bug 1576188 - Test that save-as works for cross process frames. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D70388
2020-04-24 15:47:14 +00:00
Bianca Danforth 8c5b54f110 Bug 1631617 - Limit login and Form Autofill autocomplete results to 10 rows. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D72218
2020-04-24 19:25:40 +00:00
Bob Clary ecd63e101e Bug 1621764 - Apply push-interval strategies for linux, windows plain and aarch64 builds, r=jmaher.
This patch uses the new push-interval-10 to schedule the linux, windows plain and aarch64
builds on autoland every 10th push.

Tested locally with a local checkout whose pushlog_id was not divisible
by 10 using parameters.yml downloaded from the Gecko Decision Task using

./mach taskgraph optimized --verbose --parameters /tmp/parameters.yml

parameters.yml from autoland showed the following optimizations.

 0:56.13 PushIntervalStrategy: Removing task build-linux64-aarch64/opt interval 10
 0:56.13 PushIntervalStrategy: Removing task build-linux64-plain/debug interval 10
 0:56.13 PushIntervalStrategy: Removing task build-signing-win64-aarch64/opt interval 10
 0:56.13 PushIntervalStrategy: Removing task build-win64-aarch64/debug interval 10
 0:56.13 PushIntervalStrategy: Removing task build-win64-plain/debug interval 10
 0:56.18 PushIntervalStrategy: Removing task valgrind-linux64-valgrind/opt interval 10

while parameters.yml from mozilla-central did not show any PushIntervalStrategy
optimizations.

Differential Revision: https://phabricator.services.mozilla.com/D70182
2020-04-24 19:08:40 +00:00
Molly Howell 4fa722c1a4 Bug 1632807 - Keep the WebBrowser plugin DLL from being unloaded after creating a timer. r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D72415
2020-04-24 19:10:34 +00:00
Joel Maher f8875234b3 Bug 1621095 - add reftest-qr to run focused webrender reftests on android phones. r=bc
add reftest-qr to run focused webrender reftests on android phones.

Differential Revision: https://phabricator.services.mozilla.com/D72312
2020-04-24 18:54:51 +00:00
Jan-Erik Rediger e44691d67b Bug 1632131 - Simple smoke test for FOG's string metric type. r=chutten
A first Rust test, which should run without any interaction with
Firefox.
This will eventually break down when we get IPC in there.

Depends on D72128

Differential Revision: https://phabricator.services.mozilla.com/D72385
2020-04-24 19:08:32 +00:00
Jan-Erik Rediger 0542e950e5 Bug 1632131 - Implement a string metric for the in-tree Glean API. r=chutten
Currently there's no user, so we do some trickery to actually make sure
it gets compiled.

It also lacks a test, that will follow in the next commit,
as it's a bit more complex to set up a Glean instance for a test run.

Differential Revision: https://phabricator.services.mozilla.com/D72128
2020-04-24 19:08:25 +00:00
Agi Sferro 2291f694fb Bug 1535365 - Disable extension process. r=snorp,rbarker
We don't currently restart the extension process and this causes extensions to
randomly stop working when Android kills the extension process.

We can re-enable it once Bug 1355239 is fixed.

Differential Revision: https://phabricator.services.mozilla.com/D71790
2020-04-24 19:07:24 +00:00
Emilio Cobos Álvarez 1dc797fbaf Bug 1631776 - Unifdef ImageDocument's resolution logic. r=botond
We want this to apply to desktop zooming too.

Differential Revision: https://phabricator.services.mozilla.com/D71761
2020-04-24 15:23:25 +00:00
David Major 22a65e58ac Bug 1632595 - Fix Rust 1.43 errors in bits_interface doc comments r=bytesized
Apparently doc comments aren't meaningful on macros, and Rust 1.43 introduced a new lint for this.

Differential Revision: https://phabricator.services.mozilla.com/D72200
2020-04-24 17:46:28 +00:00
Bob Clary 8f29aea032 Bug 1631671 - force Android pgo tests to use test_root /sdcard/tests, r=gbrown.
Depends on D71722

Differential Revision: https://phabricator.services.mozilla.com/D72375
2020-04-24 15:39:00 +00:00
Bob Clary 844410de42 Bug 1631671 - [mozdevice] Handle Scoped storage in Android 10+, r=gbrown.
On a local Pixel 2 running Android 10, launching Geckoview test app via the
shell with the profile on external storage hangs and causes an ADBTimeoutError.
Using a profile in /data/local/tests does not exhibit this behavior.

In addition, attempting to push a directory tree directly to internal
storage can fail with "remote secure_mkdirs failed" errors when pushing
directories containing subdirectories to internal storage on /data.

The subdirectories were created with insufficient permissions for the
contents of the directories to be pushed. We can work around this problem
by catching the failure and falling back to using adb push to push the
source directory tree to a temporary location on the sdcard which does
not exhibit the error and then copying the temporary location to the
desired final destination.

These changes are necessary due to the change in Scoped Storage [1]
in Android 10 and later.

Since storing profiles on the sdcard is no longer supported the choices
for possible test roots has been reduced to using internal storage.
Since geckoview expects to be able to store content under /data/local/tmp
the default test root has been changed to /data/local/tmp/tests.

By default, the test root will be shared by all instances of ADBDevice
unless the share_test_root argument is set to False in the initializer.
This allows the test root to be defined globally with out requiring
each instance of ADBDevice to be modified.

The test_root default initial value should be None, not empty string.
The ADBDevice.test_root property is now read/write to support the new
shared test_root functionality.

Android emulators have exhibited an intermittent failure to clear logcat.
A ride-along change to retry the log clearing is included.

adb pull can fail if not all of the files have permission to be read.
This situation can appear when a profile is located on internal storage
and an app such as geckoview writes files to it. They will be readable
only by the app until the permissions are changed. Work around this
by calling chmod -R on any thing that is to be pulled from the device.


Bump mozdevice version to 3.1.2.

[1] https://developer.android.com/training/data-storage#scoped-storage

Differential Revision: https://phabricator.services.mozilla.com/D71722
2020-04-24 17:48:50 +00:00
Edwin Takahashi 594a2443cb Bug 1608837 - modify writeruntimes to output web-platform-tests runtime metrics r=ahal
Modify `writeruntimes` script to support the querying and writing of web-platform-test related runtimes. These are already stored on ActiveData, so it is simply a matter of querying them.

Changes:
  - obtain the full list of web-platform-tests runtimes using ActiveData's destination/output clause.
  - normalize the paths by prefixing `testing/web-platform` in front of the returned test paths and limiting the paths to depth of 1.

Differential Revision: https://phabricator.services.mozilla.com/D67554
2020-04-22 17:36:25 +00:00
Nika Layzell 8c6abc2647 Bug 1580565 - Part 7: Handle attaching WindowContext to zombie BrowsingContext in the child, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D71805
2020-04-24 18:33:11 +00:00
Nika Layzell e0f0ac8afa Bug 1580565 - Part 6: Add a unique ID to each BrowsingContextGroup, r=kmag
This allows us to explicitly specify BrowsingContextGroups when synchronizing
them. A major advantage of this is that it means we can handle an attempt to
create a BrowsingContext with a parent which the content process is unaware of,
which is possible due to changes to the EnsureSubscribed logic in earlier
patches in this stack.

This is OK, because in the case where the content process cannot see its parent,
the parent must be imminently discarding.

Differential Revision: https://phabricator.services.mozilla.com/D71668
2020-04-24 18:33:09 +00:00
Nika Layzell 146322cadd Bug 1580565 - Part 5: Remove redundant 'mParent' member, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D71239
2020-04-24 18:33:06 +00:00
Nika Layzell cc54537c86 Bug 1580565 - Part 4: Use WindowContext to manage BrowsingContext cached status, r=farre
The existing infrastructure which stored cached BrowsingContexts on the
BrowsingContextGroup was added before WindowContexts were added, and can cause
racing issues with partially discarded trees during process switches.

Differential Revision: https://phabricator.services.mozilla.com/D71238
2020-04-24 18:33:04 +00:00
Nika Layzell 4f3a5448c4 Bug 1580565 - Part 3: Simplify API for creating independent BCs, r=farre
There were previously a number of different APIs for creating BrowsingContext
instances. This simplifies them into two major cases: "CreateDetached", which
allows for creating BrowsingContexts which are related to other
BrowsingContexts, and "CreateIndependent" which creates new, fully unrelated,
browsing contexts.

Differential Revision: https://phabricator.services.mozilla.com/D71237
2020-04-24 18:33:01 +00:00
Nika Layzell b78af76e07 Bug 1580565 - Part 2: Delay creating nsFrameLoader in static clone until embedder has window, r=smaug
Follow-up parts in this bug depend on being able to read the `nsGlobalWindow`
which embeds a `nsFrameLoader` within `CreateBrowsingContext`, which is called
from the `nsFrameLoader` constructor. Unfortunately, we depend on creating the
`nsFrameLoader` and `BrowsingContext` before we have the window as part of the
fix to bug 1577711.

This patch changes `BuildNestedPrintObjects` to instead use a list of pending
clones stored on the parent `Document` object, and delays creation of the
`nsFrameLoader`, and thus the inner `BrowsingContext`, until after the document
has an owner global.

Due to the low number of automated tests for printing, I manually tested
print-previewing both the reduced test case from bug 1577711, a wikipedia
article, and 'data:text/html,<object data="data:text/html,hi">' to avoid
regressions.

Differential Revision: https://phabricator.services.mozilla.com/D71236
2020-04-24 18:32:59 +00:00
Nika Layzell fef9c117bd Bug 1580565 - Part 1: Clean up misleading BrowsingContext comments, r=farre
Differential Revision: https://phabricator.services.mozilla.com/D71235
2020-04-24 18:32:51 +00:00
Coroiu Cristina 04697a7080 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2020-04-24 21:32:19 +03:00
Tom Prince 07fa71e0fe Bug 1632688: [mozversioncontrol] Don't try to add files if none are provided; r=ahal,rstewart a=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D72414
2020-04-24 12:18:26 -06:00
Martin Stransky 42d551312e Bug 1628583 [Wayland] Use mutex to access mozcontainer wayland internals, r=jhorak
Mozcontainer is accessed from various threads - Main/Compositor/Renderer - which causes races
when wayland surfaces are created/deleted/updated so we need to control it.

Differential Revision: https://phabricator.services.mozilla.com/D71737
2020-04-24 17:19:15 +00:00