Commit Graph

661511 Commits

Author SHA1 Message Date
harry
81d04d807d Bug 1551237 - Remove quantumbar handling from UrlbarValueFormatter.jsm. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D38913

--HG--
extra : moz-landing-system : lando
2019-07-22 21:30:54 +00:00
Oana Pop Rus
763ca8a2dd Bug 1556687 - disable browser_perf-recording-notices-04.js for frequent failures. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D38990

--HG--
extra : moz-landing-system : lando
2019-07-23 12:13:52 +00:00
Ciure Andrei
98278afa46 Backed out changeset a858e4411532 (bug 1566595) for causing Windows MinGW builds bustages CLOSED TREE 2019-07-22 21:39:08 +03:00
Daniel Holbert
ac190f8813 Bug 1566991: Add some assertions to sanity-check that our mobile viewport zoom factors are positive. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D38419

--HG--
extra : moz-landing-system : lando
2019-07-22 17:16:23 +00:00
Ehsan Akhgari
f6fcc7e4bf Bug 1556632 - Increase the intermittent leak threshold for all wpt tests on OSX to 2100 bytes to allow for new fields to be added to OriginAttributes; r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D39023

--HG--
extra : moz-landing-system : lando
2019-07-23 15:25:08 +00:00
Cosmin Sabou
20d813093c Bug 1563597 - Fix lint errors. r=jdai
--HG--
extra : amend_source : 9ded5b32117f5d390d50b90d71e22d215d121f32
2019-07-23 19:50:19 +03:00
Cosmin Sabou
5e17231bd2 Backed out changeset 13bb9ba5f69b (bug 1561955) as requested by ntim. 2019-07-23 19:40:44 +03:00
Cosmin Sabou
a4efa7bded Backed out 2 changesets (bug 1407945) for devtools failures on browser_tooltip.js.
Backed out changeset 1160c6868061 (bug 1407945)
Backed out changeset 359eec53f12e (bug 1407945)
2019-07-23 19:39:41 +03:00
Tim Nguyen
2836364337 Bug 1561955 - Make about:protections support dark mode. r=ewright,johannh
Differential Revision: https://phabricator.services.mozilla.com/D38210

--HG--
extra : moz-landing-system : lando
2019-07-23 16:25:27 +00:00
Mike Shal
1c560ed0f2 Bug 1567619 - Avoid double stat in preprocessed file installs; r=glandium
Followup to bug 1566044.

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

--HG--
extra : moz-landing-system : lando
2019-07-23 03:03:36 +00:00
John Dai
5bed95bf3d Bug 1563597 - Support nsGlobalWindowOuter as observer notification's subject; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D39029

--HG--
extra : moz-landing-system : lando
2019-07-23 16:09:27 +00:00
Jed Davis
6b2b3d2faa Bug 1511556 - Don't leak crash annotation pipes when the crash reporter is disabled. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D38953

--HG--
extra : moz-landing-system : lando
2019-07-23 16:04:05 +00:00
Mihai Alexandru Michis
664ce04b80 Backed out changeset 814a517bdf2e (bug 1567848) for causing xpcshell and geckoview failure CLOSED TREE 2019-07-23 18:46:34 +03:00
Gijs Kruitbosch
dca75bf8ea Bug 1567414 - ensure we display the 'Open' context menu entry on bookmarks when they load in new tabs by default, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D39025

--HG--
extra : moz-landing-system : lando
2019-07-23 15:24:38 +00:00
Nika Layzell
454761339c Bug 1568055 - Part 2: Set embedder for BrowsingContext upon frame creation, r=farre
This should help ensure that the embedder is always set soon enough that we
don't run into the situation which caused the null deref fixed by bug 1565489.

This patch also adds an assertion earlier in WindowGlobalParent's lifecycle to
ensure that the condition is satisfied. This assertion will fail before the
changes in part 1.

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

--HG--
extra : moz-landing-system : lando
2019-07-23 08:05:50 +00:00
Nika Layzell
d75c40bc90 Bug 1568055 - Part 1: SetDocument earlier in the clone operation for print, r=farre
This should ensure that the inner window for each document is set up correctly
before iframe elements are created in them during a static clone. Other,
non-static-clone cases are not affected because they cannot load subframes.

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

--HG--
extra : moz-landing-system : lando
2019-07-23 12:26:31 +00:00
Micah Tigley
7cd712008e Bug 1567335 - Add an explicit CSS transition duration for the markup view's flash-out class. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D38805

--HG--
extra : moz-landing-system : lando
2019-07-23 01:50:11 +00:00
Gijs Kruitbosch
789cc82f3e Bug 1567848 - make XRE_IsE10sParentProcess always tell the truth on fennec, r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D38907

--HG--
extra : moz-landing-system : lando
2019-07-23 13:59:22 +00:00
Daisuke Akatsuka
43bb97631f Bug 1407945: Add a test for the tooltip in RDM. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D38827

--HG--
extra : moz-landing-system : lando
2019-07-23 13:54:32 +00:00
Daisuke Akatsuka
7ddb98f9d5 Bug 1407945: Calculate screenX and screenY in case of HTML element. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D38826

--HG--
extra : moz-landing-system : lando
2019-07-23 13:59:23 +00:00
Mark Striemer
e8fcd3492e Bug 1564522 - Grey out disabled add-ons in about:addons r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D38384

--HG--
extra : moz-landing-system : lando
2019-07-22 19:22:37 +00:00
Mihai Alexandru Michis
bae6d95085 Backed out changeset 266931d06efb (bug 1558756) for causing devtools failures CLOSED TREE 2019-07-23 17:49:45 +03:00
Ola Gasidlo
b7588f8d35 Bug 1558756 - Adding jest tests for components, r=ladybenko,jdescottes
added more jest test for components including snapshots + fixtures

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

--HG--
extra : moz-landing-system : lando
2019-07-23 14:35:42 +00:00
Rob Wu
60c5dd7843 Bug 1566984 - Support --no-install for Android mochitests r=gbrown,snorp
Add the `--no-install` option to reduce the time it takes to run
mochitests again on Android when the app does not need to be
re-installed.

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

--HG--
extra : moz-landing-system : lando
2019-07-23 14:00:24 +00:00
Matthew Gaudet
de053156e1 Bug 1552316 - Correct merge resolution error r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D36815

--HG--
extra : moz-landing-system : lando
2019-07-23 14:34:10 +00:00
Matthew Gaudet
0b49a819d6 Bug 1563324 - Remove use of FunctionBox::function() in ParseContext::init() r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D36814

--HG--
extra : moz-landing-system : lando
2019-07-23 14:33:56 +00:00
Matthew Gaudet
c297db5a32 Bug 1563324 - Bug 1563325 - Remove unnecessary LazyScript::function_ checks r=tcampbell
The field is not nullable

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

--HG--
extra : moz-landing-system : lando
2019-07-23 14:33:42 +00:00
Nathan Froyd
5dda12ab15 Bug 1567944 - remove *DISABLE_INTEGRAL_CONSTANT_OVERFLOW_WARNING macros; r=dmajor
We don't support MSVC anymore, clang-cl ignores these pragmas, and
nobody actually used the macros anyway.

Depends on D38887

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

--HG--
extra : moz-landing-system : lando
2019-07-23 08:02:48 +00:00
Nathan Froyd
8a524a8529 Bug 1567944 - remove MSVC-specific warning goo from {Vector,Span}.h; r=dmajor
We don't support MSVC anymore, and clang-cl just ignores these pragmas.

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

--HG--
extra : moz-landing-system : lando
2019-07-23 09:24:28 +00:00
Cosmin Sabou
a1263fcf4d Bug 1567968 - Fix build bustages on compare-mozconfigs.py. r=froydnj 2019-07-23 17:15:31 +03:00
Geoff Brown
666781b9c0 Bug 1554326 - Always set toolkit.telemetry.eventping.enabled during unit tests; r=snorp
This pref defaults to true, but geckoview builds set it to false. Several tests assume
this pref is set; some android xpcshell tests currently fail when run against the geckoview apk
for this reason. Setting the pref in the test profile means that geckoview tests will run
with a different pref value than geckoview would normally use, but aligns the geckoview
test environment with firefox. (An alternative would be to skip geckoview tests that rely
on the pref.)

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

--HG--
extra : moz-landing-system : lando
2019-07-23 14:01:36 +00:00
Erica Wright
92fd2dd4a1 Bug 1567901 - Summary date on tracking report shows the correct date. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D38880

--HG--
extra : moz-landing-system : lando
2019-07-22 20:24:09 +00:00
Cosmin Sabou
38b8703751 Backed out 2 changesets (bug 1560513, bug 1566797) for causing bug 1567161 and backout conflicts.
Backed out changeset 27d0b01e9f3b (bug 1566797)
Backed out changeset 014889dc7434 (bug 1560513)

--HG--
extra : rebase_source : c4c05e5afe6716191f6be62eebd81d4b0b443c19
2019-07-23 16:42:02 +03:00
Nathan Froyd
27ddb75106 Bug 1567968 - remove manual setting of MOZ_LTO from x86-64 win64 mozconfigs; r=glandium
When we turned on xLTO, we removed the manual adding of Rust-side LTO
flags for Win64:

https://hg.mozilla.org/mozilla-central/rev/402b26b7e514#l10.12

and replaced it with automatic detection of "are we doing PGO on
Windows" in configure:

https://hg.mozilla.org/mozilla-central/rev/8ba3c1292475b96e2ccb46c3232c929863451ff6#l1.10

The problem is that we manually turned on xLTO in a number of different
windows configurations:

https://hg.mozilla.org/mozilla-central/rev/402b26b7e514#l11.1
https://hg.mozilla.org/mozilla-central/rev/402b26b7e514#l12.1
https://hg.mozilla.org/mozilla-central/rev/402b26b7e514#l13.1

Which I think we shouldn't have done: making the above change turns on
xLTO for non-shippable builds as well.  We should just let
PGO-ness (i.e. shippable builds) take care of turning on xLTO for us.

Note that we leave the aarch64 configs as they are; they were doing LTO
prior to the xLTO change and it's fine to leave them doing xLTO after.

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

--HG--
extra : moz-landing-system : lando
2019-07-23 02:59:41 +00:00
Jeff Muizelaar
8d570e1838 Bug 1567807. Add 'build.gradle' to 'files-changed' list for wrench.
Differential Revision: https://phabricator.services.mozilla.com/D39008

--HG--
extra : moz-landing-system : lando
2019-07-23 13:34:40 +00:00
sotaro
4153c76630 Bug 1568136 - Call gfxUtils::RemoveShaderCacheFromDiskIfNecessary() in gfxPlatform::InitWebRenderConfig() r=nical
The RemoveShaderCacheFromDiskIfNecessary() needs to be called after WebRenderConfig initialization.

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

--HG--
extra : moz-landing-system : lando
2019-07-23 12:22:41 +00:00
Cameron McCormack
966044b6f6 Bug 1567808 - Remove unused HTMLInputElement::FlushFrames. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D38831

--HG--
extra : moz-landing-system : lando
2019-07-22 14:44:17 +00:00
kriswright
f3784452f7 Bug 1565302 - Set an appropriate stack size for XPCOM helper threads r=froydnj
Specifies the helper stack size from HelperThreads.cpp and called SetThreadStackSize(...) in HelperThreadPool ctor.

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

--HG--
extra : moz-landing-system : lando
2019-07-23 22:44:01 +00:00
Emilio Cobos Álvarez
00183756b9 Bug 1567237 - followup: Fix ESLint complaints in test.
CLOSED TREE
2019-07-24 00:43:39 +02:00
Tim Nguyen
2626e1985d Bug 1548880 - Add telemetry for when a field with a generated password is edited by the user. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D38594

--HG--
extra : moz-landing-system : lando
2019-07-23 19:39:39 +00:00
Emilio Cobos Álvarez
eb563e1090 Bug 1567237 - Only use scroll range to select scrollable frames to scroll to, don't use scrollbar visibility. r=tnikkel
This is what other browsers do, and it does make sense to me, it's useless to
try to scroll a frame with no scroll range in a given direction.

I think all callers of this function should be treated like this, so this is
more like a RFC / feedback request than a patch per se.

The wheel handling code already checks scroll range, so there's no difference of
behavior in that case, if I'm reading the code right.

There are a few other functions that check the result of
GetPerceivedScrollingDirections(), but I think if we change this we should
change this consistently.

I also think that if we do this we should rename the method to something like
GetAvailableScrollingDirections() or such.

Anyhow, wdyt? I should also add a test for this if we go with this.

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

--HG--
extra : moz-landing-system : lando
2019-07-23 22:04:31 +00:00
Gijs Kruitbosch
fffc7f0c58 Bug 1505913 - make plugin click-to-play and crash handling fission-compatible, r=mconley
At a high level, this change does the following:
- move the pluginchild actor to be a JSWindowActorChild
- move the parent handling from browser-plugins into a JSWindowActorParent
- move the crash handling from ContentCrashHandlers.jsm to the parent actor,
  using a `PluginManager` object. It needs to talk to the actors (and vice
  versa), so this seemed a better fit than spreading actor implementation
  details to other JSMs.
- switch to using plugin IDs to identify plugins cross-process, instead of
  combinations of names or other properties of the plugin tag. As part of that,
  ensured plugin IDs are unique between "fake" plugins and the other ones.
- drop support for having a notification for more than 1 plugin. We only support
  Flash, in practice, so there didn't seem to be much point in the added
  complexity of trying to support more than 1 thing.

Some notes:
- the previous implementation mixes runIDs (for NPAPI plugin process "runs")
  and GMP pluginIDs when doing crashreporting. AFAICT there is no guarantee
  these don't conflict, so I've split them out to avoid issues. There's a
  pluginCrashID object I pass around instead that has either a runID or
  pluginID. Happy to rename some more for clarity.
- the previous implementation used `pluginInfo` and `plugin` for a bunch of
  different types of variables. I've tried to be consistent, where:
  * `pluginElement` is a DOM element for a plugin
  * `activationInfo` is a JS object used to track click to play state for a plugin
  * `plugin` is a plugintag as returned by the pluginhost service
  * `pluginCrashID` is an identifier for a crashed plugin (see previous point).
- I'm still using broadcastAsyncMessage to tell the content processes about
  gmp plugin crashes and plugin crash submission updates, because there's no
  guarantee the actors are instantiated (for gmp plugins) nor can the parent
  easily find out which actors to talk to (for either gmp or npapi plugins).
  Open to suggestions there, too. I think our best bet might be moving that to
  IPDL-based IPC within the GMP code, but that feels like a separate bug.

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

--HG--
rename : browser/base/content/browser-plugins.js => browser/actors/PluginParent.jsm
extra : moz-landing-system : lando
2019-07-23 22:04:40 +00:00
mcrawford@mozilla.com
68ac43af8f Bug 1550166 - Install on Mobile Device button in Ellipsis menu r=jaws,fluent-reviewers,Pike
Differential Revision: https://phabricator.services.mozilla.com/D38700

--HG--
extra : moz-landing-system : lando
2019-07-23 22:00:33 +00:00
Nick Alexander
b9a2db9df5 Bug 1564282 - Extract Perftest abstract base class. r=rwood,perftest-reviewers
This mechanical transform lays the foundation for generalizing the
underlying test runner.

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

--HG--
extra : moz-landing-system : lando
2019-07-23 21:58:46 +00:00
Nick Alexander
3437fc2557 Bug 1564282 - Pre: Make it easier to work with mozbase in Raptor locally. r=ahal
This is the equivalent of .pth in virtualenv declarations.  It sets up
a .egg file with a `sys.path` addition, as far as I can tell.

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

--HG--
extra : moz-landing-system : lando
2019-07-23 21:58:23 +00:00
Narcis Beleuzu
4db8112c33 Backed out 2 changesets (bug 1561939) as per nalexander`s request.
Backed out changeset 2833ba67a5b9 (bug 1561939)
Backed out changeset 3125e12eee29 (bug 1561939)
2019-07-24 00:41:43 +03:00
championshuttler
f1a2758d2f Bug 1566097 - Setup rstcheck linter instead of restructuredtext-lint. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D38339

--HG--
extra : moz-landing-system : lando
2019-07-23 21:30:10 +00:00
Mike Hommey
0285b677e0 Bug 1525373 - Use run-task for mozharness jobs on generic-worker. r=tomprince
mozharness and mozharness test transforms for generic-worker currently
don't wrap the commands with run-task. This changes things such that the
commands are wrapped with run-task, by piggy-backing on the run_task
transform.

Some things then become redundant with what the run_task transform does,
and some others need to happen later than they currently do in order to
work.

Depends on D28026

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

--HG--
extra : moz-landing-system : lando
2019-07-23 16:12:53 +00:00
Sebastian Streich
a32c854de2 Bug 1558197 Adding more time to worker-subresource-fetch-redirect-upgrade r=ckerschb,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D38843

--HG--
extra : moz-landing-system : lando
2019-07-22 12:33:07 +00:00
Nika Layzell
e691fe7a86 Bug 1565489 - Part 1: Avoid null dereference in IsProcessRoot, r=farre
The crash appears to be being caused by the GetEmbedderWindowGlobal call
returning a null value. This patch simply avoids the crash in this case, and
returns a reasonable default value of false, as it should never be true for a
BrowsingContext with a parent without Fission enabled.

This patch should be small enough to safely uplift if necessary.

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

--HG--
extra : moz-landing-system : lando
2019-07-22 08:43:14 +00:00