Commit Graph

657921 Commits

Author SHA1 Message Date
Chris Manchester
4158f69bc1 Bug 1559982 - Make testing/gtest importable with python 3. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35245

--HG--
extra : moz-landing-system : lando
2019-06-26 23:06:51 +00:00
Andreea Pavel
ffa060ad1a Bug 1560317 - delete mediasource-play-then-seek-back.html expectancy r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D35794

--HG--
extra : moz-landing-system : lando
2019-06-27 17:49:11 +00:00
Boris Zbarsky
fdecfb9423 Bug 1560553 part 2. Improve the assertions in MaybeWrapNonDOMObjectValue. r=peterv
We don't need to worry about JSCLASS_PRIVATE_IS_NSISUPPORTS, because the only
work we're really skipping here compared to MaybeWrapObjectValue is the
TryToOuterize call, and that only matters for Window objects, which always have
a DOM class.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 16:13:32 +00:00
Boris Zbarsky
486374ebb4 Bug 1560553 part 1. Simplify the TryToOuterize callers a bit. r=peterv
TryToOuterize fast-path bails out if a bit-check on the JSClass fails.  Trying
to avoid that bit-check by checking for a DOM class, which is also a bit-check
on the JSClass doesn't really make sense.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 15:03:20 +00:00
Paul Adenot
c0268a0f97 Bug 1560251 - Relax a check in mediastreamaudiosourcenode-routing.html. r=karlt
Changing the cutoff and lowering the windowing does not seem to work reliably
unfortunately.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 17:36:48 +00:00
Rok Garbas
d8e57f535e Bug 1561582 - tooltool.py now supports python 3 and 2 r=rail CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D36010

--HG--
extra : source : 7e05642566d001eb7b6900e80788212310243c3c
extra : histedit_source : 361d6b5974f9a4708f12f2c747645df6c7d706ee
2019-06-27 12:54:07 +00:00
Agi Sferro
b8e6490b77 Bug 1553515 - Make sure runtime has started before running tests. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32584

--HG--
extra : moz-landing-system : lando
2019-06-27 15:58:45 +00:00
Agi Sferro
b9b75a5400 Bug 1553515 - Replace loopUntilIdle -> waitForCondition. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32583

--HG--
extra : moz-landing-system : lando
2019-06-27 15:58:46 +00:00
Agi Sferro
4f0dfa866e Bug 1553515 - Add GeckoResult.accept. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32582

--HG--
extra : moz-landing-system : lando
2019-06-27 15:58:16 +00:00
Agi Sferro
a00eeafc7b Bug 1553515 - Add waitForCondition. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32581

--HG--
extra : moz-landing-system : lando
2019-06-27 15:58:18 +00:00
Agi Sferro
fdf7807894 Bug 1553515 - Use lambads in GeckoResultTest for readability. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32580

--HG--
extra : moz-landing-system : lando
2019-06-27 15:58:25 +00:00
Agi Sferro
4bf8f2bfd0 Bug 1553515 - Add FOREGROUND_SERVICE for CrashTest. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32579

--HG--
extra : moz-landing-system : lando
2019-06-27 15:58:27 +00:00
Agi Sferro
caf8533a75 Bug 1553515 - Never reuse session. r=snorp
Reusing sessions doesn't actually save that much time and avoids a lot of
hard-to-debug intermittents.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 15:58:29 +00:00
Agi Sferro
1edf06a611 Bug 1553515 - Use javascript to track scrolling instead of ScrollDelegate. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32577

--HG--
extra : moz-landing-system : lando
2019-06-27 15:58:30 +00:00
Agi Sferro
31a20e171a Bug 1553515 - Account for errors in PermissionDelegateTest.geolocation. r=snorp
Sometime the geolocation test fails because the position is not retrieved
quickly enough, this is OK as we're just trying to make sure that the
permission is correct.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 15:58:37 +00:00
Agi Sferro
b250f5197e Bug 1553515 - Use environment.defaultTimeoutMillis in tests. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32575

--HG--
extra : moz-landing-system : lando
2019-06-27 15:58:39 +00:00
Agi Sferro
2f98d5a07b Bug 1553515 - Wait to load a page in crashContentMultipleSessions. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32574

--HG--
extra : moz-landing-system : lando
2019-06-27 15:58:41 +00:00
Agi Sferro
c45bcc635b Bug 1553515 - Don't use reflection in ContentDelegateTest. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D32573

--HG--
extra : moz-landing-system : lando
2019-06-27 15:58:43 +00:00
Abdoulaye O. Ly
6c5fd5d7bc Bug 1559234 - Add frame process ID to 'This Frame' submenu in context-menu. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D35673

--HG--
extra : moz-landing-system : lando
2019-06-26 16:33:57 +00:00
Mathieu Leplatre
3e347218c9 Bug 1560451 - Fix duplicates in list of created on sync event r=glasserc
Depends on D36171

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

--HG--
extra : moz-landing-system : lando
2019-06-27 13:40:24 +00:00
Mathieu Leplatre
0cf601cfff Bug 1559158 - Improve performance of sync for large collections r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D36171

--HG--
extra : moz-landing-system : lando
2019-06-27 13:25:57 +00:00
Drew Willcoxon
1cbf123618 Bug 1552410 - Fix intermittent failure in browser/components/urlbar/tests/browser/browser_tabMatchesInAwesomebar.js. r=mak
No failures on try after many retriggers: https://treeherder.mozilla.org/#/jobs?repo=try&revision=95f6afa49be33f1a407208a476df5631d6cfbc81&selectedJob=253610974  (Although an intermittent timeout, which is another bug, bug 1548111, did happen.)

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

--HG--
extra : moz-landing-system : lando
2019-06-27 09:23:02 +00:00
Mike Conley
0642f949c2 Bug 1561298 - Allow User-initiated Picture-in-Picture to ride out to early beta / dev edition. r=Gijs
This also moves the enabling of the feature out from all.js into firefox.js, where it should
probably have been all along.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 17:26:03 +00:00
Julian Descottes
cebb0662f3 Bug 1543142 - Wait for explicit events in dispatchKeyEvent test r=ochameau
Depends on D36047

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

--HG--
extra : moz-landing-system : lando
2019-06-27 15:09:13 +00:00
Julian Descottes
6e7fb9f53a Bug 1543142 - Add basic test for dispatchKeyEvent r=remote-protocol-reviewers,ochameau
Depends on D36044

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

--HG--
extra : moz-landing-system : lando
2019-06-27 12:10:45 +00:00
Julian Descottes
21c37aac79 Bug 1543142 - Implement basic dispatchKeyEvent in parent Input domain r=ato
Differential Revision: https://phabricator.services.mozilla.com/D36044

--HG--
extra : moz-landing-system : lando
2019-06-27 14:47:18 +00:00
Jeff Walden
0e736b9ffc Bug 1559633 - Introduce a ScriptDecoding.h header containing templated decoding code for decoding script data as UTF-8 or UTF-16. r=bzbarsky
Depends on D36133

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

--HG--
extra : moz-landing-system : lando
2019-06-26 23:25:19 +00:00
Jeff Walden
eaa388e6ec Bug 1559633 - Remove an unnecessary |#include "mozilla/dom/ScriptLoader.h"| from XULDocument.h. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D36133

--HG--
extra : moz-landing-system : lando
2019-06-26 23:19:32 +00:00
Robert Strong
a8f420dd36 Bug 1553977 - Enable BITS for all Windows clients. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D36156

--HG--
extra : moz-landing-system : lando
2019-06-27 17:06:55 +00:00
Dorel Luca
66a6c7cb6f Backed out changeset 7e05642566d0 (bug 1561582) for Toolchain failures. CLOSED TREE 2019-06-27 19:36:32 +03:00
Markus Stange
675fc5fe7c Bug 1557218 - Get the bitmap data for system icons by drawing them to a CGBitmapContext with a format of our choosing. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D36121

--HG--
extra : moz-landing-system : lando
2019-06-27 15:34:20 +00:00
fluks
a68e95570d Bug 1553782 - Make it clear that headers are clickable in about:performance. r=florian,dao
Differential Revision: https://phabricator.services.mozilla.com/D34169

--HG--
extra : moz-landing-system : lando
2019-06-27 15:28:06 +00:00
Liang-Heng Chen
6e38d3f928 Bug 1561645 - report only http/https schemes; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D36049

--HG--
extra : moz-landing-system : lando
2019-06-27 08:25:26 +00:00
Brendan Dahl
62645647cf Bug 1558980 - Convert all XUL mochitest plain tests to chrome. r=mossop
Two benefits:

1) Align test setup with shipping Firefox - We don't allow content
privilege XUL in shipping versions of Firefox, so having the tests be
chrome would be more realistic to our use case.

2) Support the XUL to XHTML migration. These files will soon become XHTML
files, but will still need to load XUL elements, so they'll need to be
marked as chrome privileged to continue working.

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

--HG--
rename : dom/xul/test/test_bug486990.xul => dom/xul/test/test_bug486990.xhtml
rename : layout/base/tests/file_bug465448.html => layout/base/tests/chrome/file_bug465448.html
rename : layout/base/tests/test_bug465448.xul => layout/base/tests/chrome/test_bug465448.xul
extra : moz-landing-system : lando
2019-06-26 18:00:53 +00:00
Kathy Brade
2bc2db8906 Bug 1561636 - intermittent updater failures on Win64 (Error 19) r=rstrong
Avoid MinGW's _ftelli64() and _fseeki64() implementations because they
are unreliable.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 09:11:48 +00:00
Jason Orendorff
5b135c7bdb Bug 1555464 - Part 2: Enable fields by default in the JS shell. r=khyperia
Differential Revision: https://phabricator.services.mozilla.com/D34639

--HG--
extra : moz-landing-system : lando
2019-06-27 14:57:44 +00:00
James Willcox
9dba3d50b6 Bug 1557510 - Handle window.open() in geckoview_example with a new tab. r=fluffyemily
Differential Revision: https://phabricator.services.mozilla.com/D34225

--HG--
extra : moz-landing-system : lando
2019-06-27 14:35:09 +00:00
Gregory Mierzwinski
59458ab5f3 Bug 1555796 - Fix regular expressions for Android power usage parsing. r=perftest-reviewers,davehunt
This patch fixes the regular expressions used to parse power usage info from `batterystats` output on Android 7+. With these changes, we no longer intermittently obtain measurements (such as `proportional`) due to pattern matching failures.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 13:59:35 +00:00
Jim Blandy
979f0b33e0 Bug 1557343: Gather the code to manage the association between DebuggerFrames and AbstractGeneratorObjects. r=jorendorff
Merge Debugger::addGeneratorFrame into DebuggerFrame::setGenerator, and expand
the role of clearGenerator to fully undo the effect of setGenerator.

The association between a Debugger.Frame referring to a generator or async call
and the underlying generator object must be recorded in five separate places, as
a transaction: either all or present, or none are present. To ensure this is
true, this patch places sole responsibility for emplacing all those relations in
a single function (setGenerator), with another function to tear down those
relations (clearGenerator) as its inverse/antidote/complement/antagonist (in the
anatomical sense)/what-have-you.

Actually, when a Debugger.Frame is GC'd, we cannot reliably undo some of the
connections, and in fact can let the GC take care of those for us, so the
tear-down function clearGenerator is split into two overloads, one which is
suitable for use from a finalizer and the other which takes care of the entire
task.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 06:18:55 +00:00
Jim Blandy
256d0b172d Bug 1557343: Replace the sole use of DebuggerWeakMap::removeIf with its definition. r=jorendorff
Later in this patch series, we will be gathering up all the code to manage the
association between DebuggerFrame and AbstractGeneratorFrame objects into a pair
of functions, one to establish a relation and the other to tear it down. The
removeif method combines iteration and entry removal, but we would rather have
entry removal live next to the code that tears down the rest of the association.

In preparation for that, this changeset replaces the sole use of removeIf with
its (not very large) definition, so that the entry removal can be more readily
moved into another function.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 06:18:47 +00:00
Jim Blandy
19b16f67aa Bug 1557343: Move AutoRealm outside addGeneratorFrame. r=jorendorff
Without this patch, addGeneratorFrame may be called from any realm, and enters
the debugger's realm to call DebuggerFrame::setGenerator. However, we would like
to merge addGeneratorFrame and setGenerator, and call the combined from various
points which are already in the debugger's realm, so it would be a little nicer
to simply make the function assume it is called from the debugger's realm.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 06:18:38 +00:00
Andreas Farre
906c96a422 Bug 1555287 - Make sure to detach browsing context children early. r=nika
Always move browsing contexts to the cache, even if we're not caching
the docshell. If we're not moving to bfcache, BrowsingContext::Detach
will detach as normal.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 13:31:58 +00:00
Paul Zuehlcke
8c37629c74 Bug 1557041 - Leave DOM full-screen when identity-popup is shown. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D35234

--HG--
extra : moz-landing-system : lando
2019-06-27 11:15:17 +00:00
Geoff Brown
ad79adad7c Bug 1561737 - Log full exception traceback from android gtest; r=bc
Including the traceback info will include the exception name, like "ADBError" which
should trigger the android-em task retry; it also provides more debugging info.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 09:26:35 +00:00
Emilio Cobos Álvarez
aebd7e0393 Bug 1561908 - Enable the relevant pref on img-aspect-ratio.tentative.html so that it doesn't fail on late beta or later (when that pref is not enabled by default). 2019-06-27 16:00:18 +02:00
Nathan Froyd
03e51146b9 Bug 1561088 - emit unwind information for libffi aarch64/win assembly; r=dmajor,gsvelto
The hand-written assembly for libffi on aarch64/windows doesn't emit
unwind information.  If we ever tried to unwind through these functions,
they'd look like leaf functions, which is decidedly not true and would
cause great pain.

For whatever reason, the original aarch64 libffi functions used
x21/x22/x23/x24 as their (callee-saved) scratch registers.  This
convention works on windows as well, but the unwind information on
windows mandates that we start saving callee-saved registers starting
from x19, rather than x21.  Rather than rewriting the assembly to use
x19/x20 instead of x21/x22, which would be a large change, we chose
instead to simply save/restore extra registers in the prolog/epilog.
This change does make the stack frame sizes slightly bigger, but an
extra 16 bytes in libffi stack frames should not matter.

The `-TC` change is necessary to make the compiler play nicely with .asm
file suffixes.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 13:36:48 +00:00
Michael Kaply
be0d5d0e09 Bug 1556551 - Additional enterprise preference policies. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D35838

--HG--
extra : moz-landing-system : lando
2019-06-27 08:04:53 +00:00
Razvan Caliman
ad206d66fc Bug 1561639 - Simplify handling for font variation instances in Font Editor. r=gl
The Redux action/reducer setup for handling selecting and applying font variation instances is needlessly complex. The indirection is not necessary.

The flow is as follows:
- When a font variation instance (provided by some variable font files) is selected from the _Instances_ select menu, update all variation axes with the values associated with that instance.

- When the user makes any manual change to any of the axis values, save all axis values associated with a "Custom" variation instance. This enables the user to revert to them.

This patch removes the needless indirection about saving the axis values and applying the "Custom" variation instance. The logic is now moved to the UPDATE_AXIS_VALUE reducer.

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

--HG--
extra : moz-landing-system : lando
2019-06-27 13:20:01 +00:00
Herpiko Dwi Aguno
6edc04621b Bug 1548076. Let the devtools gain focus even if the click hits an empty area on UI. r=jdescottes,yzen
Differential Revision: https://phabricator.services.mozilla.com/D35686

--HG--
extra : moz-landing-system : lando
2019-06-27 13:01:28 +00:00
ffxbld
ab68b05adf No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D36187

--HG--
extra : moz-landing-system : lando
2019-06-27 12:57:42 +00:00