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

641651 Коммитов

Автор SHA1 Сообщение Дата
Masayuki Nakano fb8cd0751d Bug 1508302 - Make IMContextWrapper::GetIMEName() refer XMODIFIERS env when gtk_im_multicontext_get_context_id() returns "wayland" r=m_kato
On Wayland, `gtk_im_multicontext_get_context_id()` returns
`"wayland"`.  However, we need to know actual IM which works
behind Wayland.  Fortunately, `XMODIFIERS` env includes IME
name like "xim" case.  Therefore, we can refer it instead.

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

--HG--
extra : moz-landing-system : lando
2019-03-15 06:37:59 +00:00
prathiksha 8b09227fd0 Bug 1535222 - Disable test_one_doorhanger_per_un_pw.html on android until the internmittent failures are fixed. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D23630

--HG--
extra : moz-landing-system : lando
2019-03-15 06:43:30 +00:00
Masayuki Nakano 39daaa7db8 Bug 1534561 - Make editor use PresShell directly rather than nsIPresShell r=m_kato
`PresShell.h` is exposed as `mozilla/PresShell.h` and `PresShell` is the only
concrete class of `nsIPresShell`.  Therefore, we have no reason to access
`PresShell` via `nsIPresShell`.

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

--HG--
extra : moz-landing-system : lando
2019-03-15 05:01:10 +00:00
Marcos Cáceres a37ef3224e Bug 1532205 - Intermittent TEST-UNEXPECTED-TIMEOUT in Event-dispatch-on-disabled-elements.html r=birtles
try to extend the animation time. I tested this locally on repeat 50 times.

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

--HG--
extra : moz-landing-system : lando
2019-03-15 05:49:25 +00:00
Thomas Nguyen 26bd1e060c Bug 1528695 - Part 2 : Use referrerInfo in openWindow, contextmenu and openLinkIn r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D21911

--HG--
extra : moz-landing-system : lando
2019-03-15 05:10:17 +00:00
Thomas Nguyen 33d78105b7 Bug 1528695 - Part 1 : Use referrerInfo in openWindow, cpp file r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D21910

--HG--
extra : moz-landing-system : lando
2019-03-15 05:11:43 +00:00
Tooru Fujisawa af20ad4d9d Bug 1532602 - Throw error when settlePromiseNow is called on already-resolved promise. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D23349

--HG--
extra : moz-landing-system : lando
2019-03-14 19:54:26 +00:00
Razvan Maries 3d59436341 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-03-15 05:48:49 +02:00
Razvan Maries b5f0d05bc9 Merge mozilla-inbound to mozilla-central a=merge 2019-03-15 05:40:21 +02:00
violet 71e059e062 Bug 1343357 - Ignore lower-priority animateMotion if a to-animation is encountered r=dholbert
Current impl at SVGMotionSMILType::Interpolate has some wrong assertions, it's probably caused by overlooking the special behavior of to-animation. These assumptions also lead weird animation in the product build. Now we take to-animation into account, and implement similar behavior as Chrome and Safari.

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

--HG--
extra : moz-landing-system : lando
2019-03-15 01:26:13 +00:00
Logan Smyth d8a86aa10f Bug 1534847 - Part 3: Pass originalText load failure through to UI instead of failing silently. r=jlast
Summary:

Returning null here leaves us in an infinite loading state because null is treated as neither
success nor failure.

Reviewers: jlast

Bug #: 1534847

Differential Revision: https://phabricator.services.mozilla.com/D23453
2019-03-14 19:00:21 -04:00
Logan Smyth d1e54f1409 Bug 1534847 - Part 2: Invalidate the loadSourceText cache on navigation. r=jlast
Summary:

If users navigate while source text is loading, we need to ignore existing
cached promises because they may resolve and then not actually set the
resulting source, because the source was deleted from the source list.
We want to explicitly use a new cache entry if we have navigated.

Reviewers: jlast

Bug #: 1534847

Differential Revision: https://phabricator.services.mozilla.com/D23452
2019-03-14 19:00:20 -04:00
Logan Smyth cefa9c5b9c Bug 1534847 - Part 1: Refactor loadSourceText to separate caching from logic. r=jlast
Summary:

Splitting up this logic makes us less likely to introduce code that would break
the caching behavior. If you look closely at these changes, you'll notice that
there actually one one early return in this code that would cause us to
exit without clearing the 'requests' cache meaning we could get stuck in
an infinite loading state.

Reviewers: jlast

Reviewed By: jlast

Bug #: 1534847

Differential Revision: https://phabricator.services.mozilla.com/D23451
2019-03-14 19:00:19 -04:00
Emilio Cobos Álvarez 4c1252347e Bug 1533783 - Avoid crashing when calling insertRule("@import ...") on a detached sheet. r=heycam
This should unblock the fuzzers for now, though it's not the ideal solution.

It's the only reasonably easy solution to unblock them though, I think.

We should probably always keep track of the document a stylesheet was associated
with. We'll need that for constructible stylesheets anyway.

That requires some though on how to get the cycle-collection and such right,
though, and I wouldn't be able to write or land that ASAP.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 22:30:37 +00:00
k88hudson bdcd004f99 Bug 1535460 - Add dark theme styles, Discovery stream blocking and bug fixes to Activity Stream r=r1cky
Differential Revision: https://phabricator.services.mozilla.com/D23589

--HG--
extra : moz-landing-system : lando
2019-03-14 22:27:33 +00:00
Nathan Froyd 2cf028fbc4 Bug 1451104 - part 6 - don't remove the libstdc++ files from the mingw build; r=glandium
History does not disclose why we needed this, but in the brave new GCC
6-compiled world, deleting these files means that host links can no
longer find libstdc++, which causes problems.  Let's put the files back.

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

--HG--
extra : moz-landing-system : lando
2019-03-15 01:29:33 +00:00
Nathan Froyd 402f3438e2 Bug 1451104 - part 5 - move toolchains off GCC 4.9; r=glandium
Firefox itself has moved on to GCC 6.x; we can move our toolchains along too.

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

--HG--
extra : moz-landing-system : lando
2019-03-15 01:29:23 +00:00
Nathan Froyd 116083d76a Bug 1451104 - part 4 - sync up gcc-related toolchains and linux64-binutils binutils version; r=glandium
We're going to copy an x86_64-unknown-linux-gnu ld into the clang build,
which clang will then use in preference to things on PATH.  We therefore
need to ensure that this ld is the same ld as would be used for other
builds, such as PGO.  This change is the most expedient way to do that;
future work will make the gcc job(s) depend on linux64-binutils directly.

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

--HG--
extra : moz-landing-system : lando
2019-03-15 01:29:14 +00:00
Nathan Froyd c5ab838f7c Bug 1451104 - part 3 - inform stage2/3 clang about gcc binutils; r=glandium
We do this to encourage clang to find an new-enough linker instead of
the system one.

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

--HG--
extra : moz-landing-system : lando
2019-03-15 01:29:04 +00:00
Nathan Froyd ce83c42681 Bug 1451104 - part 2 - force clang to always pick up its local GCC headers and libraries; r=glandium
We want our clang bootstrap to use the GCC headers we're building with,
not whatever sysroot it happens to find on the server we're building on.

The -gcc-toolchain argument we specify when building clang will also be
picked up by llvm-config, so we need to strip it out when building the
plugin. Otherwise, we will get peculiar failures about not being able to
find C++ header files.

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

--HG--
extra : moz-landing-system : lando
2019-03-15 01:28:55 +00:00
Nathan Froyd 9ebe50fc6e Bug 1451104 - part 1 - be explicit about our GCC/binutils target and build machine; r=glandium
Explicit is better than implicit, and helps ensure that GCC is always
using the binutils we built it with, rather than the system binutils.

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

--HG--
extra : moz-landing-system : lando
2019-03-15 01:28:10 +00:00
Daisuke Akatsuka de75b1f93a Bug 1488991: Update remote browser position before showing context menu. r=pbro,smaug
The position of remote browser was not updated by resizing the window and
changing the align of viewport etc, although will be updated when the window
moves, the frame reflows and so on.
Thus, in this patch, update the position of remote browser before showing
context menu so as to locates at proper position.
I investigated though, when reflow and moving happens, the position is updated
by TabParent::UpdateDimensions()[1]. This patch as well is taking an approach
which update the position explicitly by TabParent::UpdateDimensions() before
showing context menu.

[1] https://searchfox.org/mozilla-central/source/dom/ipc/TabParent.cpp#729

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

--HG--
extra : moz-landing-system : lando
2019-03-15 00:09:20 +00:00
Razvan Maries 1cfbd79a4e Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-03-14 23:50:44 +02:00
Razvan Maries b52345353d Merge mozilla-inbound to mozilla-central a=merge 2019-03-14 23:41:17 +02:00
J.C. Jones f9c60986dd Bug 1523175 - land NSS NSS_3_43_BETA3 UPGRADE_NSS_RELEASE, r=me 2019-03-14 21:05:01 +00:00
David Walsh 6cea4e91ca Bug 1535130 - Don't show breakpoint line when focused on close button r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D23409

--HG--
extra : moz-landing-system : lando
2019-03-14 20:30:28 +00:00
David Walsh a4f5eefd90 Bug 1534808 - Don't show pretty print option for non-JS sources r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D23333

--HG--
extra : moz-landing-system : lando
2019-03-14 20:31:41 +00:00
Andreea Pavel b6170418e2 Backed out 3 changesets (bug 1534847) for failing debugger on a CLOSED TREE
Backed out changeset ee3da1413835 (bug 1534847)
Backed out changeset 27a3400989c9 (bug 1534847)
Backed out changeset 7cf6462189e8 (bug 1534847)
2019-03-15 00:30:59 +02:00
Emilio Cobos Álvarez 789b125fcf Bug 1533891 - Give up on optimizing out image loads load resolution for non-text. r=heycam
::first-line reparenting may make non-first continuations to get a new style on
which we haven't run StartImageLoads when fragmenting out of the first-line.

Given this was mostly an opportunistic optimization let's remove it rather than
sacrificing correctness.

With bug 1465474 we would be able to fix this...

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

--HG--
extra : moz-landing-system : lando
2019-03-14 22:24:37 +00:00
Logan Smyth ca45dac2df Bug 1534847 - Part 3: Pass originalText load failure through to UI instead of failing silently.
Returning null here leaves us in an infinite loading state because null is treated as neither
success nor failure.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 22:05:54 +00:00
Logan Smyth 233dfff347 Bug 1534847 - Part 2: Invalidate the loadSourceText cache on navigation. r=jlast
If users navigate while source text is loading, we need to ignore existing
cached promises because they may resolve and then not actually set the
resulting source, because the source was deleted from the source list.
We want to explicitly use a new cache entry if we have navigated.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 22:04:28 +00:00
Logan Smyth 272a75e5ec Bug 1534847 - Part 1: Refactor loadSourceText to separate caching from logic. r=jlast
Splitting up this logic makes us less likely to introduce code that would break
the caching behavior. If you look closely at these changes, you'll notice that
there actually one one early return in this code that would cause us to
exit without clearing the 'requests' cache meaning we could get stuck in
an infinite loading state.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 20:38:20 +00:00
Dustin J. Mitchell f488d1b253 Bug 1534283 - use default parameters for mach try fuzzy r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D23225

--HG--
extra : moz-landing-system : lando
2019-03-14 19:32:05 +00:00
Dustin J. Mitchell 862d7484c2 Bug 1534283 - filter out tasks when DONT-BUILD is in the message r=aki,tomprince
(without the dash, because I want *this* push to build)

This filters out all tasks, but that means that several things will still run:

 * docker images and tasks they depend on (debian packages)
 * always_run tasks (various python-y things)

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

--HG--
extra : moz-landing-system : lando
2019-03-14 21:31:09 +00:00
Dustin J. Mitchell 4b406f0a1e Bug 1534283 - add a 'tasks_for' property; r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D23569

--HG--
extra : moz-landing-system : lando
2019-03-14 20:01:32 +00:00
Ricky Rosario fb28297ccb Bug 1535268 - The "CFR Pin Tabs" doorhanger's elements are wrongly positioned on Mac and Linux r=k88hudson
MozReview-Commit-ID: JfuJx7dykWL

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

--HG--
extra : moz-landing-system : lando
2019-03-14 21:42:02 +00:00
Razvan Maries 5a47e65bea Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-03-14 23:48:31 +02:00
Gijs Kruitbosch 323879348c Bug 1471737 - ensure DOMFrameContentLoaded events in browser_subdialogs.js are actually for the right frame before continuing the test, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D23548

--HG--
extra : moz-landing-system : lando
2019-03-14 17:49:58 +00:00
Drew Willcoxon 29930869b6 Bug 1535203 - Don't close and reopen the popup when an @alias offer is clicked. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D23436

--HG--
extra : moz-landing-system : lando
2019-03-14 17:50:11 +00:00
Drew Willcoxon 68f26d54bb Bug 1535188 - Make it impossible to do empty @alias searches. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D23435

--HG--
extra : moz-landing-system : lando
2019-03-14 17:49:03 +00:00
Andrea Marchesini afed8a0a37 Bug 1533074 - Implement Fingerprinting and Cryptomining annotation features - Part 5 - Correct pref checks, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D23104

--HG--
extra : moz-landing-system : lando
2019-03-14 17:49:05 +00:00
Andrea Marchesini 61d20299f1 Bug 1533074 - Implement Fingerprinting and Cryptomining annotation features - Part 4 - tests, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D22471

--HG--
extra : moz-landing-system : lando
2019-03-14 17:48:50 +00:00
Andrea Marchesini 43f63d46a3 Bug 1533074 - Implement Fingerprinting and Cryptomining annotation features - Part 3 - Cryptomining-annotation, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D22344

--HG--
extra : moz-landing-system : lando
2019-03-14 17:48:33 +00:00
Andrea Marchesini fcf2cc8123 Bug 1533074 - Implement Fingerprinting and Cryptomining annotation features - Part 2 - Fingerprinting-annotation, r=dimi
Differential Revision: https://phabricator.services.mozilla.com/D22342

--HG--
extra : moz-landing-system : lando
2019-03-14 17:48:20 +00:00
Andrea Marchesini c39dc7f1aa Bug 1533074 - Implement Fingerprinting and Cryptomining annotation features - Part 1 - Classification flags in nsIHttpChannel, r=valentin,dimi
Differential Revision: https://phabricator.services.mozilla.com/D22341

--HG--
extra : moz-landing-system : lando
2019-03-14 17:47:59 +00:00
Andrea Marchesini 694d7a90e5 Bug 1511749 - Fix a race condition in SharedWorker shutdown, r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D23188

--HG--
extra : moz-landing-system : lando
2019-03-14 17:42:50 +00:00
Tom Prince d2b867b7c8 No bug: [mozharness] Use the absolute path when download secretes, to aid debugging; r=aki
Differential Revision: https://phabricator.services.mozilla.com/D23465

--HG--
extra : moz-landing-system : lando
2019-03-14 16:22:02 +00:00
Jan Odvarko 8531967e8e Bug 1531400 - Missing bottom border on netmonitor table's header; r=ladybenko
Differential Revision: https://phabricator.services.mozilla.com/D22959

--HG--
extra : moz-landing-system : lando
2019-03-14 16:49:04 +00:00
Trushita 89f80adb85 Bug 1534337: Add _ separator in certificate export filename. r=keeler
The certificate when exported had filename with no separator. Now added "_" separator to filename.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 16:43:50 +00:00
Rob Wu 2838b7e631 Bug 1525729 - Avoid memory leak via AddonTestUtils.initMochiTest r=aswan
When I added AddonTestUtils.initMochiTest to an existing test at
browser/components/preferences/in-content/tests/browser_extension_controlled.js
, the test started to fail often on debug builds, with errors like
"leaked 2 window(s) until shutdown".
Fix this by clearing the global that was saved by initMochiTest.

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

--HG--
extra : moz-landing-system : lando
2019-03-14 16:28:20 +00:00