Commit Graph

643105 Commits

Author SHA1 Message Date
Mike Hommey
27044ed480 Bug 1524396 - Replace RUST_TARGET_ENV_NAME with make substitutions. r=chmanchester
While the substitution pattern is kind of awful in make, it will allow
to more straightforwardly deal with the difference between target and
host.

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

--HG--
extra : moz-landing-system : lando
2019-03-21 23:40:23 +00:00
Mike Hommey
632127ba32 Bug 1521734 - Use thumbv7neon rust targets when stars align. r=chmanchester
Newer versions of rust come with a specialized arm target that matches
more closely our armv7 targets (with neon and thumb2), so use that when
possible.

Depends on D24324

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

--HG--
extra : moz-landing-system : lando
2019-03-21 23:36:49 +00:00
Mike Hommey
17fde3dc29 Bug 1521734 - Refresh rust target list in toolchain configure test. r=chmanchester
Depends on D24323

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

--HG--
extra : moz-landing-system : lando
2019-03-21 23:36:22 +00:00
Mike Hommey
99bdcc7cb2 Bug 1521734 - Print out the chosen rust host/target triplet during configure. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D24323

--HG--
extra : moz-landing-system : lando
2019-03-21 23:36:00 +00:00
Paul Bone
b9b532bdd4 Bug 1528159 - Fix the nursery size to make a test more reliable r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D22288

--HG--
extra : moz-landing-system : lando
2019-03-21 00:49:24 +00:00
Paul Bone
10e9057638 Bug 1531626 - (part 5) Introduce a GC_MIN_NURSERY_BYTES parameter r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D21671

--HG--
extra : moz-landing-system : lando
2019-03-21 00:49:11 +00:00
Paul Bone
322e4ddd02 Bug 1531626 - (part 4) Always round-nearest for nursery size r=jonco
We were rounding up for growing the nursery, rounding down for shrinking.
If we round nearest in all cases then we can also round our minimum and
maximum size parameters the same way.

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

--HG--
extra : moz-landing-system : lando
2019-03-21 00:48:49 +00:00
Paul Bone
aefefd9d18 Bug 1531626 - (part 3) Include chunk trailers in nursery capacity r=jonco
The nursery capacity included the usable size of nursery chunks.  However
it'll simplify the parameters for the nursery size if it uses whole
nursery chunks, so include the chunk trailers in the nursery capacity.

This means changing the subchunk calculations slightly to handle the
sub-chunk/whole-chunk mode transitions.

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

--HG--
extra : moz-landing-system : lando
2019-03-21 00:48:34 +00:00
Paul Bone
344cb4dcd0 Bug 1531626 - (part 2) Refactor Nursery::maybeResizeNursery r=jonco
This change moves some details of maybeResizeNursery() into a new function
that will resize the nursery in one of the situations where the nursery has
a fixed size.

It also simplifies the clamping code.

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

--HG--
extra : moz-landing-system : lando
2019-03-21 00:48:15 +00:00
Paul Bone
7735ad0c1f Bug 1531626 - (part 1) Add missing keys to GCRuntime::getParameter() r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D21669

--HG--
extra : moz-landing-system : lando
2019-03-21 00:47:55 +00:00
Tooru Fujisawa
304507c2d0 Bug 1535981 - Throw error with more information when there is no public revision while building artifact mode. r=chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D23819

--HG--
extra : moz-landing-system : lando
2019-03-21 22:12:20 +00:00
violet
0a0bd52597 Bug 1537708 - Clean up NS_STATE_IS_OUTER_SVG flag in favor of IsSVGOuterSVGFrame r=longsonr
NS_STATE_IS_OUTER_SVG is redundant, we clean it up and use
nsIFrame::IsSVGOuterSVGFrame() instead.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 02:23:35 +00:00
Oana Pop Rus
90e63da7c3 Backed out 2 changesets (bug 1536353) for failing in 1397711.html on a CLOSED TREE
Backed out changeset 6ef59933242a (bug 1536353)
Backed out changeset 64a815f04641 (bug 1536353)
2019-03-22 05:29:03 +02:00
Edwin Gao
bd47254c5e Bug 1536652, 1536637, 1536657 - disable tests in xpcshell that fail on windows10-aarch64 r=jmaher
Disable the following tests for windows10-aarch64:
- test_enterjit_osr.js
- test_feature_mainthreadio.js

They were likely intermittents at first, but as of recent try push noted below these tests are failing consistently.

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

--HG--
extra : moz-landing-system : lando
2019-03-21 20:37:48 +00:00
Emilio Cobos Álvarez
0204cde0f2 Bug 1535671 - Remove some static initializers that call into PR_GetEnv during initialization unnecessarily. r=truber,posidron
I though this was going to be enough to unbreak rr, but it seems not to be the
case, see https://github.com/mozilla/rr/issues/2329.

In any case avoiding static initializers that initialize PR seems desirable.

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

--HG--
extra : moz-landing-system : lando
2019-03-21 20:34:06 +00:00
Glenn Watson
557728d4ad Bug 1537668 - Refactor how clip task indices are passed to shaders. r=kvark
This patch shouldn't have any functional effect. It's motivated by
some changes needed to implement clip masks in pixel local storage,
but these are also general improvements that stand alone. Specifically:

 - Remove clip_task_index from the global PrimitiveHeader struct.
   In most cases, the clip task is supplied in the BrushInstance
   structure, so it makes no sense to have this as a common field,
   where it is generally unused. Instead, there is now an extra
   'user data' field available in the PrimitiveHeader. Non-brush
   shaders (text_run and split_composite) use that extra field to
   store the clip task address, while the brush shaders gain an extra
   (currently unused) user data field.
 - In turn, this means there is no need to unconditionally try
   and retrieve the first clip task address for a primitive
   during batching. This was previously used to initialize the
   PrimitiveHeader structure.

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

--HG--
extra : moz-landing-system : lando
2019-03-21 14:37:57 +00:00
Masayuki Nakano
34f7f05430 Bug 1536353 - part 2: Merge PresShell::EventHandler::PrepareToDispatchEvent() and PresShell::EventHandler::PrepareToDispatchContextMenuEvent() r=smaug
`PresShell::EventHandler::PrepareToDispatchEvent()` checked whether the
given event is a trusted event or an untrusted event, but
`PresShell::EventHandler::PrepareToDispatchOntextMenuEvent()` didn't so.
However, now, both of them don't need to check it.  Therefore, we can merge
them.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 14:03:21 +00:00
Masayuki Nakano
0bb5218dd8 Bug 1536353 - part 1: Make PresShell::EventHandler stop checking WidgetEvent::IsTrusted() at runtime in release channel r=smaug
`PresShell::EventHandler` shouldn't be used to dispatch untrusted event.
However, it checks whether the given event is trusted or untrusted somewhere
and that makes the code harder to understand.  So, it should check each event
only with `MOZ_ASSERT()` or `MOZ_DIAGNOSTIC_ASSERT()` instead.  Then,
developers can trust the event is always a trusted event.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 13:58:55 +00:00
Jason Orendorff
7df43a7c31 Bug 1296235 - Adjust jstests.list to reflect that each function has an own .name property on purpose. r=jwalden
The current standard requires some functions to have no own `name` property at
all; they instead inherit `Function.prototype.name`, which is `""`. However,
V8 and JSC both already do what we do, so we're working to change the standard
instead of changing our behavior. See
<https://github.com/tc39/ecma262/issues/1049>.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 20:45:11 +00:00
Aaron Klotz
e0f5f64905 Bug 1536642: Ensure that mscom::RegisteredProxy move assignment correctly releases its references; r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D24106

--HG--
extra : moz-landing-system : lando
2019-03-20 00:29:27 +00:00
Jason Orendorff
ed91bdc251 Bug 1534776 - Part 2: Make a captured local variable const, per a review comment. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D24366

--HG--
extra : moz-landing-system : lando
2019-03-21 18:20:06 +00:00
Vijay Budhram
631f8208ac Bug 1537647 - fix focus on FxA menu when activated via keyboard r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D24381

--HG--
extra : moz-landing-system : lando
2019-03-21 18:22:49 +00:00
Kartikaya Gupta
f6575a29b2 Bug 1537577 - Move doc comment to fix new warning in rustc 1.35.0-nightly. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D24359

--HG--
extra : moz-landing-system : lando
2019-03-21 14:32:09 +00:00
Nicholas Nethercote
a955ca9592 Bug 1535226 - Remove uses of XP_WIN32 in Gecko. r=glandium
The definitions can't be entirely removed yet because NSS still needs them.

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

--HG--
extra : moz-landing-system : lando
2019-03-21 01:28:50 +00:00
Matthew Gregan
ac231ff9f9 Bug 1536605 - Update audioipc to 9bb53d5ba11b. r=chunmin
Also includes fix for bug 1536613.

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

--HG--
extra : moz-landing-system : lando
2019-03-21 22:08:16 +00:00
Matthew Gregan
3716371465 Bug 1533539 - Revert ClientContext::init's error handling behaviour. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D24267

--HG--
extra : moz-landing-system : lando
2019-03-21 22:09:09 +00:00
David Walsh
149caa6c6a Bug 1537748 - Prevent unwanted scrolling in scopes pane r=loganfsmyth
Differential Revision: https://phabricator.services.mozilla.com/D24362

--HG--
extra : moz-landing-system : lando
2019-03-21 17:42:38 +00:00
Oana Pop Rus
729642e131 Backed out changeset e3c771005557 (bug 1527316) for timeout build bustages on a CLOSED TREE 2019-03-22 02:38:32 +02:00
Emilio Cobos Álvarez
022828031e Bug 1536586 - followup of the followup: Remove unused #[macro_use] in 32-bit builds.
CLOSED TREE
2019-03-22 00:09:22 +01:00
Oana Pop Rus
cacc0b68c1 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-03-22 00:58:41 +02:00
Noemi Erli
aa85256b6f Backed out changeset d3a8789d7d84 (bug 1529122) for causing failures in browser_forgetAPI_quota_clearStoragesForPrincipal.js CLOSED TREE 2019-03-22 00:50:41 +02:00
Emilio Cobos Álvarez
718605a203 Bug 1536586 - followup: Remove unused #[macro_use]s.
CLOSED TREE
2019-03-21 23:43:13 +01:00
Coroiu Cristina
8460161d60 Backed out 2 changesets (bug 1463878) for ESlint and checkstyle failure on a CLOSED TREE
Backed out changeset 2cc833baea24 (bug 1463878)
Backed out changeset 11415a3e72f6 (bug 1463878)
2019-03-22 00:18:04 +02:00
Oana Pop Rus
36cbc9b2b7 Backed out changeset 8b50a00d1d22 (bug 1515094) for failures in browser_all_files_referenced.js CLOSED TREE 2019-03-22 00:07:02 +02:00
Coroiu Cristina
60be40b053 Merge inbound to mozilla-central a=merge 2019-03-21 23:59:53 +02:00
Oana Pop Rus
bb62e13d5e Backed out 4 changesets (bug 1530481) for causing leacks on a CLOSED TREE
Backed out changeset 304549224738 (bug 1530481)
Backed out changeset 171275cc24fb (bug 1530481)
Backed out changeset 1dab9495422d (bug 1530481)
Backed out changeset 0ada21a3af93 (bug 1530481)
2019-03-21 21:02:52 +02:00
Noemi Erli
f8774c16c2 Backed out changeset cdb61e9a5308 (bug 1520587) for failures in test_feature_mainthreadio.js 2019-03-21 20:39:02 +02:00
Jon Coppeard
1a383e07bb Backed out changeset c07a58deb64d (bug 1487217) for asan failures 2019-03-21 17:17:20 +00:00
Gurzau Raul
f6782a38fb Backed out changeset 3e21362cd4dc (bug 1536387) for build bustage at CacheFileUtils.cpp on a CLOSED TREE. 2019-03-21 18:21:43 +02:00
Logan Smyth
a729ffce8f Bug 1536201 - Avoid calling findScripts() in a loop. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D24365

--HG--
extra : moz-landing-system : lando
2019-03-21 15:45:24 +00:00
Erica Wright
6a5a45ab7e Bug 1518807 - Icons and images are visible on high contrast mode. r=jaws
High contrast mode does not render background images, set as list-style image instead. Fix fill colors for other icons.

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

--HG--
extra : moz-landing-system : lando
2019-03-21 17:51:52 +00:00
Emilio Cobos Álvarez
ad066f1df7 Bug 1536586 - Simplify a bit our generated bindings by getting rid of FooBorrowed and FooBorrowedMut. r=heycam
This reduces a lot the boilerplate that's needed in order to add simple binding
functions.

This starts using &Foo and Option<&Foo> instead, and as a result we need to
remove the servo_function_signatures test, which is a bit unfortunate.

I think it's worth though, this causes problems on some platforms (see bug
1534844), and messing up the functions signature is not something that I've ever
seen (other than bug 1308234, which already had all the FooBorrowed mess which
I'm removing).

Also, cbindgen understands references and Option<&Foo>, so it will be the way to
go in the future.

After this patch we can also remove HasSimpleFFI, but I've kept it for now since
I still use it in a few places, and this patch is quite big on its own.

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

--HG--
extra : moz-landing-system : lando
2019-03-21 17:00:27 +00:00
Myk Melez
3a198e46dc Bug 1515094 - minimally convert notificationstore to kvstore r=asuth,lina
Differential Revision: https://phabricator.services.mozilla.com/D13568

--HG--
extra : moz-landing-system : lando
2019-03-21 17:26:45 +00:00
Valentin Gosu
2bcda024e0 Bug 1536236 - Release mDNSPrefetch in OnStopRequest (on the main thread) r=kershaw
nsDNSPrefetch holds a weak reference to nsHttpChannel. Weak references are not thread safe so, nsDNSPrefetch needs to be released on the main thread, in OnStopRequest.
Otherwise it gets released when the last reference to nsHttpChannel is dropped, which could be from another thread.

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

--HG--
extra : moz-landing-system : lando
2019-03-21 16:48:32 +00:00
Junior Hsu
00423a1b74 Bug 1524154 - Re-enable flow control for some wpt that bug 1280629 disabled r=kershaw
Enable those tests already pass in the treehereder

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

--HG--
extra : moz-landing-system : lando
2019-03-21 21:24:54 +00:00
Dylan Roeh
889b7b818e Bug 1463878 - Update GeckoView API to reflect new session storage and remove old API and associated dead code. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D23697

--HG--
extra : moz-landing-system : lando
2019-03-21 21:29:41 +00:00
Dylan Roeh
0ed4fe6808 Bug 1463878 - Add SessionStateAggregator.js (mostly lifted from desktop code with modifications to reflect GV's needs) and code to send incremental session storage updates to Java. r=snorp,JanH
Differential Revision: https://phabricator.services.mozilla.com/D23696

--HG--
extra : moz-landing-system : lando
2019-03-21 21:29:33 +00:00
Jim Mathies
793e123b7a Bug 1536782 - Tag the main thread in untrusted module telemetry. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D24171

--HG--
extra : moz-landing-system : lando
2019-03-21 21:37:15 +00:00
Oana Pop Rus
b1d4071bce Backed out 3 changesets (bug 1537936) for bustages in ParseNode.h on a CLOSED TREE
Backed out changeset 8c405aa4467d (bug 1537936)
Backed out changeset 37d0dcbdffd5 (bug 1537936)
Backed out changeset 647eb65d3451 (bug 1537936)
2019-03-21 23:31:25 +02:00
Tom Prince
b7b0abc340 Bug 1491371: [comm-task-env] Pass wrapped command name as argv[0]; r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D24415

--HG--
rename : taskcluster/scripts/comm-task-env => taskcluster/docker/decision/comm-task-env
extra : moz-landing-system : lando
2019-03-21 20:05:56 +00:00