Commit Graph

657521 Commits

Author SHA1 Message Date
Mark Hammond
e5bb9b8a73 Bug 1538015 (part 1) - test only change to tighten up the checks being made. r=tcsc
This is a test-only change to make the existing synced prefs tests more
explicit about values being checked and moves a couple of prefs around to make
things a bit clearer, which should make the test changes in part 2 clearer.

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

--HG--
extra : moz-landing-system : lando
2019-06-25 04:40:41 +00:00
Marian Raiciof
bbdecee0c2 Bug 1559932 - Re-record imgur.com desktop tp6 pages using mitmproxy 4 r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D35638

--HG--
extra : moz-landing-system : lando
2019-06-24 16:43:26 +00:00
Mark Banner
e11ca34a3a Bug 1561085 - Enable some ESLint rules for the rest of dom/base/test/**. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D35711

--HG--
extra : moz-landing-system : lando
2019-06-25 07:12:51 +00:00
Petru Lingurar
6e6e460616 Bug 1556083 - Resolve deadlock by using just one lock, not two; r=VladBaicu
Classic deadlock situation possible because getDatabaseHelperForProfile(..)
would lock on [PerProfileDatabase] and then try to on [GeckoProfile] while at
the same time it would be possible for another thread which already had the
[GeckoProfile] lock to call this method and so try to acquire the
[PerProfileDatabase] lock.

The simplest solution to resolve this and the one I went with is to ensure that
one of those threads will not need both locks and it turns out that the
getDatabaseHelperForProfile method can easily be refactored to use only the
GeckoProfile lock, change which would not significantly increase the block of
code synchronized with the same key.

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

--HG--
extra : moz-landing-system : lando
2019-06-24 17:52:40 +00:00
Joel Maher
20fa98eddb Bug 1559851 - mark w3c-css/submitted/variables/variable-external-font-face-01.html as random-if on win7/debug. r=gsvelto
mark w3c-css/submitted/variables/variable-external-font-face-01.html as random-if on win7/debug

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

--HG--
extra : moz-landing-system : lando
2019-06-25 01:25:28 +00:00
Paul Bone
5e2fecfbf1 Bug 1555101 - Raise the phase limit for GC telemetry to 73 r=chutten,jonco
Differential Revision: https://phabricator.services.mozilla.com/D33136

--HG--
extra : moz-landing-system : lando
2019-06-12 06:43:43 +00:00
Ryan Hunt
6b6abd3a36 Bug 1554861 - Disable clipping and scaling for top-level remote browsers to resolve regressions. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D35702

--HG--
extra : moz-landing-system : lando
2019-06-25 03:16:31 +00:00
Jeff Walden
5a7cce5fce Bug 1557193 - Enable the assertion in testScriptSourceCompression.cpp verifying that script source was, in fact, compressed off-thread synchronously. r=arai,jonco,sfink
Differential Revision: https://phabricator.services.mozilla.com/D33890

--HG--
extra : moz-landing-system : lando
2019-06-25 02:31:44 +00:00
Jeff Gilbert
dc1ea66bd8 Bug 1561073 - powerPreference 'default' => 'low-power' if Canvas element has no parent. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D35704

--HG--
extra : moz-landing-system : lando
2019-06-25 01:09:25 +00:00
Coroiu Cristina
babfaa2c50 Backed out changeset bd8a279979b3 (bug 1561073) for crashtests failures at obj-firefox/dist/include\mozilla/RefPtr.h 2019-06-25 03:21:51 +03:00
Dorel Luca
88d9c25909 Backed out changeset 49799d898958 (bug 1321488) for Mochitest failures in dom/base/test/test_audioNotificationSilent_audioFile.html 2019-06-25 03:08:45 +03:00
Joel Maher
aaf230b4c9 Bug 1561119 - adjust test expectations for osx 10.14.5. r=egao
adjust test expectations for osx 10.14.5

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

--HG--
extra : moz-landing-system : lando
2019-06-24 23:42:35 +00:00
Dão Gottwald
b72f7996d5 Bug 1560398 - Merge appMenu-fxa-status with appMenu-fxa-container. r=eoger
Differential Revision: https://phabricator.services.mozilla.com/D35470

--HG--
extra : moz-landing-system : lando
2019-06-24 20:29:46 +00:00
Jeff Gilbert
5c6f58f03d Bug 1561073 - powerPreference 'default' => 'low-power' if Canvas element has no parent. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D35704

--HG--
extra : moz-landing-system : lando
2019-06-24 22:09:31 +00:00
Kristen Wright
dadb1f6f65 Bug 1539270 Part 2: Runtime hook to expose the helper thread dispatch method to js r=sfink
Created a hook in Runtime to expose the helper thread dispatch method to js, which is set by XPCJSRUntime::init.

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

--HG--
extra : moz-landing-system : lando
2019-06-21 20:38:02 +00:00
Kristen Wright
9f4f6add03 Bug 1539270 Part 1: Add HelperThreadPool & HelperThreadTaskHandler classes and their initialization/shutdown process to manage an nsThreadPool r=mccr8,froydnj
Added HelperThreadPool & HelperThreadTaskHandler classes to hold and manage an nsThreadPool. Initialized thread pool in XPCJSRuntime.

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

--HG--
extra : moz-landing-system : lando
2019-06-24 22:29:18 +00:00
Nicholas Nethercote
c24fbafc40 Bug 1560833 - Remove setters for static VarCache prefs. r=froydnj
Static VarCache prefs have setters. These are dangerous because they can
violate the primary invariant of VarCache prefs, which is that the global
variable always matches the pref value in the table.

Fortunately they are only used in tests, and we can use vanilla pref setters
instead, and get rid of the VarCache setters.

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

--HG--
extra : moz-landing-system : lando
2019-06-24 16:43:33 +00:00
Glenn Watson
0e34c42163 Bug 1560499 - Fix subpixel detection for transparent tile caches. r=kvark
Some pages from Gecko produce a display list for the main content
tile cache that has a transparent background. Detect these cases
and disable subpixel text rendering to ensure correct blending.

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

--HG--
extra : moz-landing-system : lando
2019-06-24 17:32:36 +00:00
Nathan Froyd
adb2ee48ac Bug 1561069 - fix mistranslation in preprocess_libffi_asm.py; r=glandium
When we converted our libffi assembly preprocessing to use
`GENERATED_FILES`, we translated `sed 's%/F[dpa][^ ]*%%g'` to use the Python
regular expression `'F[dpa][^ ]*'`.  Note that we missed the leading `/` in
the sed expression; omitting that leading slash causes no end of trouble if
you have particular expressions in your assembly file, such as
"FastFailCode".  (I'm a little surprised this hasn't bitten us yet.)

The straightfoward fix is to add the leading slash.

But wait, the rabbit hole goes deeper.  The actual bit from libffi's
`msvcc.sh` that this was trying to translate was:

```
    echo "$cl -nologo -EP $includes $defines $src > $ppsrc"
    "$cl" -nologo -EP $includes $defines $src > $ppsrc || exit $?
    output="$(echo $output | sed 's%/F[dpa][^ ]*%%g')"
    args="-nologo $safeseh $single $output $ppsrc"

    echo "$ml $args"
    eval "\"$ml\" $args"
    result=$?
```

Note that the sed expression is operating on `$output`, which is a
completely *separate* thing from the output from the result of
preprocessing.  In `msvcc.sh`, `$output` is actually some arguments that are
supposed to be passed to the assembler, per the above and the only place in
the script that sets `$output` to a non-trivial value:

```
    -o)
      outdir="$(dirname $2)"
      base="$(basename $2|sed 's/\.[^.]*//g')"
      if [ -n "$single" ]; then
        output="-Fo$2"
      else
        output="-Fe$2"
      fi
      if [ -n "$assembly" ]; then
        args="$args $output"
      else
        args="$args $output -Fd$outdir/$base -Fp$outdir/$base -Fa$outdir/$base"
      fi
```

Presumably the sed expression is attempting to remove `-Fd` and friends from
`$args` instead of `$output`, but failing badly at doing so.

In any event, the regex substitution the script is doing is unnecessary and,
with the current code, actively harmful.  Let's remove the regular
expression substitution entirely.

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

--HG--
extra : moz-landing-system : lando
2019-06-24 21:26:32 +00:00
Valentin Gosu
8c623c2e91 Bug 1559340 - Make sure NetworkConnectivityService::Init() only gets called once r=michal
Differential Revision: https://phabricator.services.mozilla.com/D35000

--HG--
extra : moz-landing-system : lando
2019-06-24 21:56:50 +00:00
Mike Hommey
cff8fe1fbc Bug 1554987 - Invoke git push with a remote name for mach try. r=ahal
The git version shipped in some versions of OSX is patched by apple in a
way such that doing `git push hg::ssh://...` fails with an error message
like `Invalid remote name "hg::ssh://...`.

So instead, we define a named remote via inline configuration, and use
that remote's name for the push.

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

--HG--
extra : moz-landing-system : lando
2019-06-24 21:36:31 +00:00
Daniel Varga
6140a41d69 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE
--HG--
extra : rebase_source : eef1bee63608aa3afb3c501b15416ef0bebb99be
2019-06-25 00:42:02 +03:00
Daniel Varga
1331e11eb4 Merge mozilla-inbound to mozilla-central. a=merge 2019-06-25 00:35:29 +03:00
Dorel Luca
49c9b3a351 Backed out changeset 21826fb830de (bug 1554987) for py2 and py3 failures. CLOSED TREE 2019-06-25 00:28:50 +03:00
Paul Adenot
0a287dc06a Bug 1560720 - Provide a blanket/noop implementation of audio_thread_priority for platform without a backend. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D35690

--HG--
extra : moz-landing-system : lando
2019-06-24 20:43:25 +00:00
Kartikaya Gupta
8d9580b949 Bug 1560587 - Remove incorrect event redirection. r=tnikkel
In this codepath, the parent process may be sending an event to a particular
content process. The last-saved mouse target might be stale, and using that
to redirect the event can result in the event getting sent to the wront content
process. Deleting this erroneous change restores correct behaviour.

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

--HG--
extra : moz-landing-system : lando
2019-06-24 20:10:40 +00:00
Kartikaya Gupta
870cc36ca1 Bug 1519598 - Add a mach command to import PRs from github. r=kvark,ahal
This is a simple mach command that imports a PR from a whitelisted set
of github repositories into the local m-c clone. It works by downloading
the .patch file from github, splitting the different commits, and
applying those commits to the local repo via the `patch` tool and git/hg
commit. It optionally allows filing a bug or providing a bug number, and
specifying a reviewer.

This is one part of a larger workflow that facilitates landing
contributor patches into m-c when those patches are submitted as PRs.
Other components of the workflow (to be added in the future) will make
it easier to actually test and land the patch.

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

--HG--
extra : moz-landing-system : lando
2019-06-24 20:30:32 +00:00
Kartikaya Gupta
e6c7a2e2b3 Bug 1519598 - Add a commit function in the repository helper. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35205

--HG--
extra : moz-landing-system : lando
2019-06-24 20:50:04 +00:00
Dorel Luca
33af9598d8 Backed out changeset 7aef19c3fd3d (bug 1555319) for build bustage on OSX. CLOSED TREE 2019-06-24 21:46:37 +03:00
Andrew Osmond
102451b45a Bug 1560600 - Don't allow WebRender for AMD on non-nightly for non-Windows platforms. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D35569
2019-06-24 13:56:04 -04:00
Csoregi Natalia
037411fe5e Merge mozilla-central to mozilla-inbound. CLOSED TREE 2019-06-24 18:31:48 +03:00
Csoregi Natalia
664eab8ba8 Merge inbound to mozilla-central. a=merge 2019-06-24 18:26:37 +03:00
Mike Hommey
e5d8e3b235 Bug 1554987 - Invoke git push with a remote name for mach try. r=ahal
The git version shipped in some versions of OSX is patched by apple in a
way such that doing `git push hg::ssh://...` fails with an error message
like `Invalid remote name "hg::ssh://...`.

So instead, we define a named remote via inline configuration, and use
that remote's name for the push.

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

--HG--
extra : moz-landing-system : lando
2019-06-24 14:40:21 +00:00
Mark Banner
1700203426 Bug 1560424 - Add a dummy API for getting and setting the default engine for private browsing mode. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D35487

--HG--
extra : moz-landing-system : lando
2019-06-24 14:42:58 +00:00
Alastor Wu
0fbd3654ff Bug 1321488 - restrict CSS properties for '::cue' r=emilio
According to the spec [1], only those CSS properties listed on the spec can be applied on the `::cue`.

[1] https://www.w3.org/TR/webvtt1/#the-cue-pseudo-element

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

--HG--
extra : moz-landing-system : lando
2019-06-24 20:16:39 +00:00
Dorel Luca
d85302a490 Backed out 3 changesets (bug 1559975) for Build bustage. CLOSED TREE
Backed out changeset bdb15150dc59 (bug 1559975)
Backed out changeset 16efad631029 (bug 1559975)
Backed out changeset d72bc2063456 (bug 1559975)
2019-06-24 23:42:34 +03:00
Edwin Gao
0b16ea99cf Bug 1555454 - move mochitests-plain over to macosx1014 r=jmaher
Changes:

- migrate over `mochitest-plain` to macosx1014
- disable some tests that are known to be problematic on macosx1014; they are noted in the comments

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

--HG--
extra : moz-landing-system : lando
2019-06-24 20:35:05 +00:00
Boris Chiou
75dcf29f96 Bug 1552352 - Add extended attributes to CSSKeyframeRule.style. r=smaug
Add `SameObject` and `PutForwards=cssText` to style attribute.
It's ok to add SameObject directly because we always return the same
data member after creating.

Besides, there is no need to manually update cpp function to support
PutForwards, so this update should be fine.

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

--HG--
extra : moz-landing-system : lando
2019-06-24 20:22:46 +00:00
Bastien Abadie
be17d14cb5 Bug 1559975 - Fix python3 lint issues on js/src, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35243

--HG--
extra : moz-landing-system : lando
2019-06-24 16:55:05 +00:00
Marco Castelluccio
6af2d64066 Bug 1559975 - Remove tools/update-packaging from py3 exclude list. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35237

--HG--
extra : moz-landing-system : lando
2019-06-24 16:49:01 +00:00
Chris AtLee
f9fda033ba Bug 1559975: Don't require absolute import future if we don't have any imports r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35341

--HG--
extra : moz-landing-system : lando
2019-06-24 16:49:55 +00:00
James Graham
2b43c4a757 Bug 1560960 - Fix waiting for wpt servers to start, r=whimboo
Differential Revision: https://phabricator.services.mozilla.com/D35658

--HG--
extra : moz-landing-system : lando
2019-06-24 20:13:13 +00:00
Steven Englehardt
5f7e04639b Bug 1559969 - Enable cryptomining blocking by default. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D35399

--HG--
extra : moz-landing-system : lando
2019-06-24 18:46:43 +00:00
Lee Salzman
0acba27866 Bug 1559810 - disallow Cairo as content/canvas backend. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D35691

--HG--
extra : moz-landing-system : lando
2019-06-24 18:45:16 +00:00
Yury Delendik
bfb70f4334 Bug 1560631 - Enable browser_dbg-wasm-sourcemaps.js test r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D35574

--HG--
extra : moz-landing-system : lando
2019-06-24 18:44:22 +00:00
Valentin Gosu
11362784ca Bug 1560703 - Make sure creating an FTP channel throws if FTP is disabled r=michal
Previously we would throw in nsFtpProtocolHandler::NewURI. Since that doesn't exist anymore, and creating FTP URLs always works, we need to make sure creating the FTP channel doesn't work anymore.

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

--HG--
extra : moz-landing-system : lando
2019-06-24 10:20:16 +00:00
Valentin Gosu
01825c70a5 Bug 1547704 - CaptiveDetect.jsm requires LOAD_BYPASS_URL_ClASSIFIER flag r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D35476

--HG--
extra : moz-landing-system : lando
2019-06-21 23:18:31 +00:00
Valentin Gosu
c68f4266b3 Bug 1560554 - Disable warning prompt from about:networking r=JuniorHsu
Differential Revision: https://phabricator.services.mozilla.com/D35535

--HG--
extra : moz-landing-system : lando
2019-06-22 01:24:48 +00:00
Henrik Skupin
9dc70ca9a6 Bug 1560588 - [marionette] Fix focus handling in open_chrome_window() for WindowManagerMixin. r=webdriver-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D35579

--HG--
extra : moz-landing-system : lando
2019-06-24 09:28:46 +00:00
dleblanccyr
3a78f0f3e1 Bug 1555739 - Adds certificate-section component. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D33176

--HG--
extra : moz-landing-system : lando
2019-06-21 18:11:34 +00:00