Commit Graph

650081 Commits

Author SHA1 Message Date
Ryan VanderMeulen
f19c988566 Bug 1548617 - Keep Telemetry enabled for Fennec Nightly builds after they migrate from mozilla-central. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D29726

--HG--
extra : moz-landing-system : lando
2019-05-02 19:37:32 +00:00
Ryan VanderMeulen
5b44c6f42f Bug 1548617 - Add FENNEC_NIGHTLY checks to the build config. r=nalexander
Make sure we continue to leave JS un-minified for Nightly builds and add a missing FENNEC_NIGHTLY to AppConstants.jsm which got missed in bug 1547710.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 20:01:21 +00:00
Ryan VanderMeulen
e3b708c75a Bug 1548617 - Add FENNEC_NIGHTLY checks to appropriate places in Fennec app code. r=VladBaicu
Differential Revision: https://phabricator.services.mozilla.com/D29723

--HG--
extra : moz-landing-system : lando
2019-05-03 09:25:50 +00:00
Robert Strong
200b60d5a4 Bug 1548440 - add back app.update.idletime = 0 to the doorhanger tests. r=bytesized
This was erroneously removed in bug 1546597.
Also restores the original order of writing to the update.status file in relation to reloading the update manager.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 15:42:37 +00:00
Olli Pettay
e217c0e5c8 Bug 1548827, let CC to run sooner after GC, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D29864

--HG--
extra : moz-landing-system : lando
2019-05-03 18:44:14 +00:00
Byron Campen [:bwc]
622f5f795e Bug 1531910: Re-enable a test-case, and check protocol length based on UTF-8 encoding. r=jib
Depends on D28252

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

--HG--
extra : moz-landing-system : lando
2019-05-03 19:08:25 +00:00
Jeff Muizelaar
5aef042608 Bug 1525753. blob-inval: Isolate blend containers. r=mstange
We could do some work to make sure that we don't unnecessarily
PushLayer, but that's better left for the future.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 18:58:11 +00:00
Matthew Noorenberghe
fb5759c88d Bug 1546757 - Output statedir in code snippet for testing taskgraph watchman trigger. r=ahal
Otherwise `statedir` is always ""

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

--HG--
extra : moz-landing-system : lando
2019-05-03 18:29:57 +00:00
Ted Campbell
d14b20c96c Bug 1548903 - Remove unused JS TypeInference methods. r=iain
Differential Revision: https://phabricator.services.mozilla.com/D29865

--HG--
extra : moz-landing-system : lando
2019-05-03 18:17:39 +00:00
John Dai
6678ca2e42 Bug 1539147 - Part 2: Refactor WindowGlobalParent and WindowGlobalChild; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D29427

--HG--
extra : moz-landing-system : lando
2019-05-03 18:12:55 +00:00
John Dai
b1a4a95f94 Bug 1539147 - Part 1: Remove unused function; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D29426

--HG--
extra : moz-landing-system : lando
2019-05-03 18:10:47 +00:00
Geoff Brown
51f5d3a884 Bug 1548555 - For android gtest, push support files to device; r=bc
Differential Revision: https://phabricator.services.mozilla.com/D29837

--HG--
extra : moz-landing-system : lando
2019-05-03 17:45:21 +00:00
Michael Kaply
e669c78390 Bug 1546973 - Add download related policies. r=jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D29277

--HG--
extra : moz-landing-system : lando
2019-05-03 17:53:32 +00:00
Iain Ireland
0512ebbbac Bug 1533890: Minor cleanups r=mgaudet
1. In bug 1545278, Ted is making our story about guarding on object pointer identity more robust. Since I am adding a new guardSpecificObject call in the ConstStringSplit patch, it seemed reasonable to add guardSpecificFunction now instead of later.
2. It's not directly relevant in the current patch, but in a previous version of the StringSplit patch (before I realized we could delete the whole thing) it turned out that calling isSelfHostedFunctionWithName on an arbitrary function can trigger assertions, because GetSelfHostedFunctionName assumes isExtended, but isSelfHostedBuiltin does not necessarily imply isExtended (in the case of nested anonymous functions).
3. Fixing the format string in a JitSpew message I added in a previous stack.

Depends on D29535

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

--HG--
extra : moz-landing-system : lando
2019-05-01 20:35:16 +00:00
Iain Ireland
3604082d9d Bug 1533890: Remove StringSplit call IC r=mgaudet
I started changing StringSplit to attach outside of self-hosted code, to match ConstStringSplit. Upon closer examination, the StringSplit IC doesn't actually add any value, and we're better off deleting it. The generated code calls StringSplitHelper, which ends up doing almost exactly the same thing as the call to intrinsic_StringSplitString it replaces. When we first wrote the patch (bug 1366377), the advantage was that we got to skip a lookup to determine the group of the resulting object. However, a subsequent patch created a single group for every StringSplitString result, which is basically free to look up.

I couldn't write a microbenchmark where the StringSplit IC made any difference, so let's just delete it and simplify our codebase.

Depends on D29534

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

--HG--
extra : moz-landing-system : lando
2019-05-01 20:32:15 +00:00
Iain Ireland
906d1e5086 Bug 1533890: Create template objects for native constructors called without "new" r=mgaudet
Some native functions (for example, the Array constructor) have constructor-like behaviour even when called in a non-constructing context. We still want to create template objects for these cases. This fixes a noticeable regression in Speedometer (particularly in EmberJS-debug).

Depends on D29533

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

--HG--
extra : moz-landing-system : lando
2019-05-01 20:13:07 +00:00
Iain Ireland
085f399820 Bug 1533890: Rewrite ConstStringSplit to work outside of microbenchmarks r=mgaudet
While trying to pin down a performance regression, I realized that both the new and the old implementations of ConstStringSplit are broken. Three years ago, as part of some ES6 work, we changed String.prototype.split to call a self-hosted String_split function instead of native str_split. In turn, String_split calls intrinsic_StringSplitString in the case we care about. However, because the call to intrinsic_StringSplitString is in self-hosted code, we would only get value out of this stub if there was only one caller of String_split in the entire program.

This patch changes ConstStringSplit to look for the self-hosted String_Split function, which means we can attach a stub to the user script instead of self-hosted code. It also adds support in BaselineInspector for extracting metadata about the string split from the stub, which enables the Ion version of this optimization.

Depends on D29532

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

--HG--
extra : moz-landing-system : lando
2019-05-02 06:57:27 +00:00
Iain Ireland
1cbb4acb72 Bug 1533890: Don't push callee unnecessarily for jit calls r=mgaudet
When pushing arguments for a JIT call, we push the callee value onto the stack, and then immediately pop it off. This is a remnant of the old implementation.

This patch removes that wart, with a small detour to rewrite/recomment alignJitStackBasedOnNArgs for clarity.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 19:50:41 +00:00
Ting-Yu Lin
1f0e04063a Bug 1548673 Part 4 - Fix the display macro usage in nsFileControlFrame::GetPrefISize(). r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D29749

--HG--
extra : moz-landing-system : lando
2019-05-03 17:35:00 +00:00
Ting-Yu Lin
7a98dbcd3e Bug 1548673 Part 3 - Rename nsBlockFrame's mPrefWidth to mCachedPrefISize. r=jfkthame
Like Part 2, I choose mCachedPrefISize because grid and flex container
are using it.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 17:34:55 +00:00
Ting-Yu Lin
050bf09694 Bug 1548673 Part 2 - Rename nsBlockFrame's mMinWidth to mCachedMinISize. r=jfkthame
Instead of renaming it to mMinISize, I choose mCachedMinISize because
both grid and flex container frames use mCachedMinISize for similar
purpose.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 17:34:46 +00:00
Ting-Yu Lin
63457d2b61 Bug 1548673 Part 1 - Rename NS_INTRINSIC_WIDTH_UNKNOWN to NS_INTRINSIC_ISIZE_UNKNOWN. r=jfkthame
This patch is generated by running the following script under layout/,
and then manually delete the FIXME comment in LayoutConstants.h

  #!/bin/bash
  function rename() {
      find .\
           -type f\
           ! -path "./obj*"\
           ! -path "./.git"\
           ! -path "./.hg"\
           \( -name "*.cpp" -or\
              -name "*.h" \)\
              -exec sed -i -e "s/$1/$2/g" "{}" \;
  }
  rename NS_INTRINSIC_WIDTH_UNKNOWN NS_INTRINSIC_ISIZE_UNKNOWN

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

--HG--
extra : moz-landing-system : lando
2019-05-03 17:34:36 +00:00
Chris H-C
3d3d5460b3 Bug 1547750 - Disable cache smart-sizing in telemetry-tests-client r=raphael
This sometimes introduces an environment change ping when it shouldn't, and
hides that install_addon doesn't actually trigger an environment change.

Depends on D29388

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

--HG--
extra : moz-landing-system : lando
2019-05-03 17:38:05 +00:00
Chris H-C
e82ea8b5e9 Bug 1547750 - Ensure Environment is init'd before trying to install addon in telemetry-tests-client r=raphael
Differential Revision: https://phabricator.services.mozilla.com/D29388

--HG--
extra : moz-landing-system : lando
2019-05-03 17:13:40 +00:00
Kirk Steuber
f217295a81 Bug 1546287 - Fix leak in BITS update tests r=rstrong
Differential Revision: https://phabricator.services.mozilla.com/D29751

--HG--
extra : moz-landing-system : lando
2019-05-03 17:37:55 +00:00
Andreea Pavel
e2388edd9f Backed out 7 changesets (bug 1540573) for causing bug 1548441
Backed out changeset dd882b8cd73e (bug 1540573)
Backed out changeset b10d2cae45f2 (bug 1540573)
Backed out changeset 270a8917377f (bug 1540573)
Backed out changeset 3db059b34e40 (bug 1540573)
Backed out changeset fe196b2dfc62 (bug 1540573)
Backed out changeset 1bde5042e507 (bug 1540573)
Backed out changeset 4ff116b9d729 (bug 1540573)
2019-05-03 20:35:27 +03:00
Alexandre Poirot
6141376ca9 Bug 1537768 - Override add_task to translate cdp exception from head.js. r=remote-protocol-reviewers,ato
This allows improving all tests exceptions without requiring
any specific to be done in each tests.
I'm also moving a few imports to head.js to share the most into head.js.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 12:00:39 +00:00
Alexandre Poirot
b45bb32493 Bug 1537768 - Simplify RemoteAgent initialization. r=remote-protocol-reviewers,ato
Start the `TabObserver` from `RemoteAgent.listen` in order to prevent
having the tests to manually start it.
Start it from `listen` instead of `init` as we do stop the `TabObserver` from
`stop` and `stop` is the reverse of `listen`, not the reverse of `init`.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 12:00:37 +00:00
Andrea Marchesini
360fec5787 Bug 1542170 - Expose http channel Id to WebSocketEvent listeners, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D28865

--HG--
extra : moz-landing-system : lando
2019-05-03 17:25:44 +00:00
Andrea Marchesini
fc1e01dc0b Bug 1542170 - Introduce nsIWebSocketChannel.httpChannelId, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D28864

--HG--
extra : moz-landing-system : lando
2019-05-03 17:25:24 +00:00
Andrea Marchesini
000c5d8a75 Bug 1320404 - Remove appId from origin attributes - part 4 - necko, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D29356

--HG--
extra : moz-landing-system : lando
2019-05-03 17:14:23 +00:00
Andrea Marchesini
d08ebf5a40 Bug 1320404 - Remove appId from origin attributes - part 3 - Permissionmanager, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29355

--HG--
extra : moz-landing-system : lando
2019-05-03 17:14:21 +00:00
Andrea Marchesini
d179c5015e Bug 1320404 - Remove appId from origin attributes - part 2 - NO_APP_ID UNKNOWN_APP_ID, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29354

--HG--
extra : moz-landing-system : lando
2019-05-03 17:13:47 +00:00
Andrea Marchesini
f8565bf748 Bug 1320404 - Remove appId from origin attributes - part 1 - OriginAttributes and nsIPrincipal, r=Ehsan,flod
Differential Revision: https://phabricator.services.mozilla.com/D29353

--HG--
extra : moz-landing-system : lando
2019-05-03 17:13:17 +00:00
Geoff Brown
0f0beaf249 Bug 1546553 - Disable some xpcshell tests on Android x86_64; r=jmaher
These tests need to be disabled to get a green run on the Android x86_64
test platform. The failures in toolkit/components/extensions are
concerning and definitely require follow-up.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 16:50:15 +00:00
Nihanth Subramanya
9e383c7916 Bug 1547237 - Read fxmonitor l10n manifest lazily to avoid main-thread IO during startup. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D28990

--HG--
extra : moz-landing-system : lando
2019-05-02 21:16:44 +00:00
Micah Tigley
827e4e2e78 Bug 1509255 - Simulate 'orientationchange' event when RDM viewport is rotated. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D29308

--HG--
extra : moz-landing-system : lando
2019-05-03 16:32:22 +00:00
Sam Foster
a0bed7fa3e Bug 1545242 - Add DNS-over-HTTPS resolver picker to the connections prefs UI. r=flod,johannh
* Create new network.trr.resolvers pref which is a JSON array of objects with a name and url representing each resolver
* Add menulist to represent the resolver choices, and a "custom" option to use the network.trr.custom_uri as the trr.uri value

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

--HG--
extra : moz-landing-system : lando
2019-05-03 16:15:45 +00:00
Zibi Braniecki
28c31b907a Bug 1548798 - Switch SequenceRooter, RecordRooter and RootedUnion to use RootedContext. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D29810

--HG--
extra : moz-landing-system : lando
2019-05-03 16:07:21 +00:00
Andreas Farre
5d18af73e6 Bug 1547871 - BrowsingContext needs a group to evict from cache. r=neha
Differential Revision: https://phabricator.services.mozilla.com/D29669

--HG--
extra : moz-landing-system : lando
2019-05-03 16:08:40 +00:00
Drew Willcoxon
c901619704 Bug 1545742 - Quantumbar: Remove the proper nsIController on uninit and customize start so that left/right arrow and home/end keys work after exiting customize mode. r=mak
When UrlbarInput.uninit is called after customize mode ends, uninit calls this.inputField.controllers.removeControllerAt(0), which is supposed to remove the input's CopyCutController inserted in the constructor. But the controller at index 0 at that point is not the CopyCutController. Instead it's some built-in controller that supports these commands (at least these): cmd_charPrevious, cmd_charPrevious, cmd_beginLine, cmd_endLine. (Verified by adding logging to nsXULControllers::GetControllerForCommand.) That's why arrow left/right and home/end don't work after ending customize mode.

The problem is that this.inputField.controllers in the constructor and this.inputField.controllers in uninit (when customize mode ends) are not the same. I wasn't able to track down why, but I'm guessing that the textbox or something in its state is being reset or cloned when customized mode ends or maybe right after it starts. The CopyCutController isn't in the controllers array at all on uninit. (Verified by adding support for cmd_adw and iterating through the controllers array, looking for a controller supporting cmd_adw.)

Note that urlbarBindings.xml has a try-catch around removeController(), I'm guessing for what turns out to be this reason: https://searchfox.org/mozilla-central/rev/7944190ad1668a94223b950a19f1fffe8662d6b8/browser/base/content/urlbarBindings.xml#190

However, CopyCutController *is* in the controllers array when customize mode starts. So I added a new gURLBarHandler.customizeStart method that calls a new UrlbarInput.removeCopyCutController method.

Other things I tried or thought of doing:

Call gURLBarHandler._reset on customize start instead of end. Problem with that is that the UrlbarInput ends up getting immediately recreated because some other parts of the browser access gURLBar at that time. (Of course I replaced the `gURLBar = this.urlbar` assignment in _reset with another lazy getter definition.)

Just don't worry about removing CopyCutController at all. That seems bad because then we'd leak it, unless the controller is removed or the controllers array is emptied at some point by XUL, and I'm not at all certain about that. (Although I guess this is effectively what awesomebar does, given the link above!)

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

--HG--
extra : moz-landing-system : lando
2019-05-03 16:03:00 +00:00
Daniel Holbert
28786b973e Bug 1548589: Fix a code-comment in devtools to reference the new name of a renamed file. r=Honza
DONTBUILD because this is just a comment tweak.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 08:21:25 +00:00
Rob Wood
046bef30c3 Bug 1545186 - Raptor test definitions and taskcluster configs for cold page-load tests on GeckoView Example App; #perftest r=davehunt
Differential Revision: https://phabricator.services.mozilla.com/D29207

--HG--
extra : moz-landing-system : lando
2019-05-03 15:53:27 +00:00
Dorel Luca
edcc375f36 Backed out 2 changesets (bug 1539147) for Build bustage in builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/dom/WindowGlobalActor.h. CLOSED TREE
Backed out changeset 366f29cc8ce7 (bug 1539147)
Backed out changeset 5fa4ae41da87 (bug 1539147)
2019-05-03 18:55:51 +03:00
alwu
40876238e6 Bug 1535847 - add 'fuzzy' for track-cue-rendering-empty-cue.html. r=jya
This can fix the 1 color difference intermittent failure problem, it's small enough to be ignored.

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

--HG--
extra : moz-landing-system : lando
2019-05-03 08:21:27 +00:00
Liang-Heng Chen
9aff84c4b1 Bug 1546906 - use strict fingerprint category for telemetry; r=dragana,tanvi
Differential Revision: https://phabricator.services.mozilla.com/D28801

--HG--
extra : moz-landing-system : lando
2019-05-03 10:05:30 +00:00
Dorel Luca
926056ac66 Backed out changeset beae0db3529d (bug 1531910) for WPT failures in webrtc/RTCPeerConnection-createDataChannel.html 2019-05-03 18:37:07 +03:00
John Dai
1050f322ac Bug 1539147 - Part 2: Refactor WindowGlobalParent and WindowGlobalChild; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D29427

--HG--
extra : moz-landing-system : lando
2019-05-03 15:31:04 +00:00
John Dai
cc389b0887 Bug 1539147 - Part 1: Remove unused function; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D29426

--HG--
extra : moz-landing-system : lando
2019-05-03 15:30:57 +00:00
Johann Hofmann
4fce19c76a Bug 1546988 - Enable recording additional event telemetry on user interaction with permission prompts in Nightly. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29797

--HG--
extra : moz-landing-system : lando
2019-05-03 15:21:28 +00:00