Commit Graph

642664 Commits

Author SHA1 Message Date
Mike Shal
03cc695f08 Bug 632954 - Add Android PGO mozconfigs; r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D22819

--HG--
extra : moz-landing-system : lando
2019-03-18 23:52:43 +00:00
Mike Shal
21be2f5327 Bug 632954 - Allow passing in env to Fennec Marionette; r=gbrown
The Fennec process needs a few extra environment variables for PGO,
notably LLVM_PROFILE_FILE and MOZ_JAR_LOG_FILE to give the locations for
the profile run outputs. FennecInstance needs to pass the "env"
parameter on down so it can be used by DeviceRunner.

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

--HG--
extra : moz-landing-system : lando
2019-03-18 23:52:41 +00:00
Mike Shal
14770d9dbf Bug 632954 - Add an explicit __llvm_profile_dump() call for Android; r=snorp
When Android shuts down the ndk process, it doesn't call the registered
atexit() handlers, which is normally where the profile data gets written
to file. Since the PGO test suite closes the browser when it is
finished, the nativeRun routine can manually call out to
__llvm_profile_dump() before returning.

This method has a downside that only the profile data from the calling
library gets written out, rather than for the whole process. Since we
are most interested in optimizing libxul, a new hook is added in
Bootstrap to make sure we get the profile data for the right library.

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

--HG--
extra : moz-landing-system : lando
2019-03-18 23:52:31 +00:00
Mike Shal
5607f84fdf Bug 632954 - Add -Wno-error=backend-plugin to support Android PGO; r=glandium
Without this flag, Android PGO profile-use builds may fail with
"Function control flow change detected" errors.

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

--HG--
extra : moz-landing-system : lando
2019-03-18 23:52:22 +00:00
Andreea Pavel
2039ea418b Backed out changeset 1b8c42577e24 (bug 1535166) for build bustages on a CLOSED TREE
--HG--
rename : js/src/jit-test/tests/fields/basic.js => js/src/tests/non262/fields/basic.js
rename : js/src/jit-test/tests/fields/literal.js => js/src/tests/non262/fields/literal.js
rename : js/src/jit-test/tests/fields/mixed_methods.js => js/src/tests/non262/fields/mixed_methods.js
rename : js/src/jit-test/tests/fields/quirks.js => js/src/tests/non262/fields/quirks.js
2019-03-20 00:48:11 +02:00
Mike Hommey
80f7e86b2e Bug 1524429 - Move build/autoconf/arch.m4 to python configure. r=nalexander
The file is essentially limited to ARM flag tweaks, so we make the
corresponding python configure code ARM-only. In large parts, the
python code sets things up similarly, although in a few places we try to
be smarter about than the current autoconf-based code.

The resulting config.status have been verified to only have
insignificant differences on both arm and aarch64 android builds.

Depends on D24000

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

--HG--
extra : moz-landing-system : lando
2019-03-19 22:32:58 +00:00
Mike Hommey
fc262970ca Bug 1524429 - MOZ_ANDROID_CPU_ARCH doesn't need MOZ_ARCH. r=nalexander
It hasn't needed it since bug 1397776.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 17:09:41 +00:00
Ian Moody
167f623a3e Bug 1246594 - Enable ESLint rule no-throw-literal by default. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D24088

--HG--
extra : moz-landing-system : lando
2019-03-19 22:02:42 +00:00
Matt Woodrow
244c79d92a Bug 1535507 - Assume that we have an empty display list building override rect for frames that support it, even if an explicit one isn't present. r=miko
If the frame supports it (stacking context + containing block for fixed), and a descendant was
modified, we would have created an override dirty region with just the area of that descendant.
In the case where no descendants are modified, we should use an empty rect, rather than
the area inherited from our parent.

This fixes the case where we forcibly build position:fixed frames (since they might async
scroll differently to the rest of the page), but we only need to build the container item,
not the whole frame subtree within it.

Added a test that shows us building the non-intersecting position:fixed, but not items within it.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 22:24:36 +00:00
Matt Woodrow
38f1bc0d01 Bug 1535507 - Don't create new display items for InvalidateLayer, since only the Layer tree should need to change. r=miko
Differential Revision: https://phabricator.services.mozilla.com/D23609

--HG--
extra : moz-landing-system : lando
2019-03-19 22:24:20 +00:00
Matt Woodrow
9146a4d43a Bug 1535507 - Don't force display item rebuilding for ActiveLayerTracker expiry, since we should only need to update the Layer tree. r=miko
Differential Revision: https://phabricator.services.mozilla.com/D23608

--HG--
extra : moz-landing-system : lando
2019-03-19 22:24:02 +00:00
Micah Tigley
ab764ec7dc Bug 1487857 - Part I: Rearranging devices setting view to new design. r=gl,flod
This is part 1 of implementing the redesigned device settings panel. In this patch we are rearranging the existing device settings view to match the new design.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 18:59:24 +00:00
Andrew McCreight
cce04c17b8 Bug 1535453 - BrowsingContext does not need to inherit from LinkedListElement. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D23586

--HG--
extra : moz-landing-system : lando
2019-03-19 21:33:40 +00:00
Edwin Gao
dd607c2044 Bug 1536566 - disable dom/base/test/browser_timeout_throttling_with_audio_playback.js r=jmaher
Disable this test from `mochitest-browser-chrome`, possibly related to the wider audio/video issues in windows10-aarch64.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 19:45:02 +00:00
Nicholas Nethercote
8c151cc707 Bug 1535880 - Always check ReadValueFromPowerFile() return value. r=glandium
This makes RAPL abort with more informative error messages if certain
kernel-provided files aren't present.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 11:20:11 +00:00
Ashley Hauck
385b67babe Bug 1535166 - Implement computed field names. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D23408

--HG--
rename : js/src/tests/non262/fields/basic.js => js/src/jit-test/tests/fields/basic.js
rename : js/src/tests/non262/fields/literal.js => js/src/jit-test/tests/fields/literal.js
rename : js/src/tests/non262/fields/mixed_methods.js => js/src/jit-test/tests/fields/mixed_methods.js
rename : js/src/tests/non262/fields/quirks.js => js/src/jit-test/tests/fields/quirks.js
extra : moz-landing-system : lando
2019-03-19 20:23:03 +00:00
Gijs Kruitbosch
8fd9c89716 Bug 1536633 - add ellipsis to 'connect another device' string in FXA menu, r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D24100

--HG--
extra : moz-landing-system : lando
2019-03-19 22:02:49 +00:00
Ashley Hauck
1b8972c224 Bug 1536495 - Omit loc property when told to omit it. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D24057

--HG--
extra : moz-landing-system : lando
2019-03-19 21:59:14 +00:00
Andreea Pavel
bcc65cb482 Backed out changeset 8d9b4e8dce57 (bug 1343014) for failing dt at rowser_device_width.js on a CLOSED TREE 2019-03-20 00:16:05 +02:00
Razvan Maries
84a87f5587 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-03-20 00:07:50 +02:00
Andreea Pavel
c3cd918c5c Backed out 2 changesets (bug 1429796) for failing xperf on a CLOSED TREE
Backed out changeset b0d08863f7a5 (bug 1429796)
Backed out changeset 1bd54f8dfd9e (bug 1429796)
2019-03-20 00:03:49 +02:00
Razvan Maries
7c20ad9250 Merge mozilla-inbound to mozilla-central a=merge 2019-03-19 23:54:04 +02:00
Emilio Cobos Álvarez
344ea4ee7c Bug 1516780 - fix rusttests by removing a now-unused declaration.
CLOSED TREE
2019-03-19 22:44:36 +01:00
Thomas Daede
eed1f33ab9 Bug 1533559 - Update libdav1d to 0.2.1. r=achronop
Differential Revision: https://phabricator.services.mozilla.com/D23761

--HG--
rename : media/libdav1d/version.h => media/libdav1d/vcs_version.h
rename : third_party/dav1d/include/meson.build => third_party/dav1d/include/dav1d/meson.build
rename : third_party/dav1d/src/obu.h => third_party/dav1d/include/dav1d/version.h.in
rename : third_party/dav1d/include/version.h.in => third_party/dav1d/include/vcs_version.h.in
rename : third_party/dav1d/src/thread_task.h => third_party/dav1d/src/log.c
rename : third_party/dav1d/src/cpu.h => third_party/dav1d/src/log.h
extra : moz-landing-system : lando
2019-03-19 17:35:09 +00:00
Gijs Kruitbosch
1e96300cf3 Bug 1353013 - create preloaded newtab browser from an idle task, only in top window(s), r=dthayer
This limits us to 1 preloaded browser per window, in the top 3 normal windows + top 3 private windows.
If we try to create additional browsers beyond that, we instead move a pre-existing browser across.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 17:29:48 +00:00
Gijs Kruitbosch
44dd6b4718 Bug 1353013 - allow using the preloaded new tab page in private windows, too, r=dthayer
This didn't use to work and was disabled in
https://bugzilla.mozilla.org/show_bug.cgi?id=1195981 . I expect my changes in
https://bugzilla.mozilla.org/show_bug.cgi?id=1427186 fixed the issue. It works
in my testing, anyway.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 17:29:34 +00:00
Gijs Kruitbosch
5e05f6c9c9 Bug 1353013 - move new tab preload browser tracking into a separate module, r=dthayer
Differential Revision: https://phabricator.services.mozilla.com/D21126

--HG--
extra : moz-landing-system : lando
2019-03-19 17:29:14 +00:00
Jason Laster
7d501cb80f Bug 1535095 - Hidden column breakpoints are shown. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D23881

--HG--
extra : moz-landing-system : lando
2019-03-19 17:15:27 +00:00
Kearwood "Kip" Gilbert
55278c6768 Bug 1532375 - Implement Matrix4x4Double and QuaternionDouble r=lsalzman
The upcoming WebXR API (Bug 1419190) requires intermediate calculations of real-world space coordinates to have more precision with larger ranges. I expect that double precision matrix and quaternions will also be useful in other graphics and layout work.

It would not be ideal to expand the existing classes to always use double precision, as it would incur a significant performance penalty on certain platforms (eg, Arm). The double-precision variants should be used only when required.

The existing gfx::Matrix4x4 and gfx::Quaternion implementation can be extended with templates to generate both single and double precision variants.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 17:19:47 +00:00
Michael Froman
5410fc4ddc Bug 1530305 - handle failure to alloc Shmem in RemoteVideoDecoderParent. r=jya
- Modify ProcessDecodedData to return a MediaResult.
- RemoteDecoderParent::RecvInput and RemoteDecoderParent::RecvDrain
  both use error returned from ProcessDecodedData to call SendError.
- RemoteVideoDecoderParent and RemoteAudioDecoderParent both return
  MediaResult with NS_ERROR_OUT_OF_MEMORY if AllocShmem fails in
  ProcessDecodedData (or if the returned buffer size is less than
  the requested size).

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

--HG--
extra : moz-landing-system : lando
2019-03-19 15:56:52 +00:00
Jesse Schwartzentruber
3905101073 Bug 1519851 - Create --enable-fuzzing debug build job for MacOSX. r=dustin
Differential Revision: https://phabricator.services.mozilla.com/D19862

--HG--
extra : moz-landing-system : lando
2019-03-19 17:01:38 +00:00
David Walsh
bf0e583e57 Bug 1536216 - Redesign map scopes pane r=jlast
Adds a checkbox to the Scopes accordion header to allow mapping scope.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 17:03:13 +00:00
Coroiu Cristina
fd6ff1f19f Bug 1533648 - disable track-cues-enter-exit.html on windows for frequent failures r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D24022

--HG--
extra : moz-landing-system : lando
2019-03-19 17:17:47 +00:00
Dan Minor
111aed14cd Bug 1535766 - Handle unaligned buffers in WebrtcGmpVideoCodec::Encoded; r=bwc
This uses the Endian routines to ensure that reads will match the endianess
of the current machine, which is the expected behaviour of the openh264
plugin. The calls to readUint16 and readUint32 memcpy to a properly aligned
buffer avoiding any problems with alignment. The memcpy adds some overhead
but it seems negligible compared to the amount of work done to packetize and
send the encoded data.

These changes were tested by adding code to create an unaligned buffer and
memcopying the received buffer into it.

This also adds a null check for the received buffer as we have seen a small
volume of null pointer crashes.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 17:15:39 +00:00
Coroiu Cristina
bac7a4e580 Backed out changeset b9c222097ae1 (bug 1522893) for devtools failures at devtools/client/storage/test/browser_storage_delete.js on a CLOSED TREE 2019-03-19 19:06:34 +02:00
prathiksha
caf57be3d6 Bug 1526522 - Provide visual effects on password field autocomplete. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D20745

--HG--
extra : moz-landing-system : lando
2019-03-19 16:57:18 +00:00
Sam Foster
944641d7de Bug 1534447 - Add application menu item to show Logins & Passwords. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D23737

--HG--
extra : moz-landing-system : lando
2019-03-19 16:46:44 +00:00
Sam Foster
280105bc8e Bug 1534447 - Replace login and login-detailed icon with new icon. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D23749

--HG--
extra : moz-landing-system : lando
2019-03-19 16:46:35 +00:00
Rob Wu
0bf802b216 Bug 1536504 - Update outdated comment about _blank.html r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D24058

--HG--
extra : moz-landing-system : lando
2019-03-19 16:51:50 +00:00
Coroiu Cristina
d1458a807e Backed out changeset 53bd5240052b (bug 1424287) for mozabase failures at testing/mozbase/mozlog/tests/test_formatters.py 2019-03-19 18:46:09 +02:00
Honza Bambas
87dbb69b5b Bug 1535361 - Let stream transport service idle with 5 threads instead of only one to not create/kill threads in quick bursts; add option to thread pool to shorten the idle timeout progressively with number of idle thread to save memory, r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D23845

--HG--
extra : moz-landing-system : lando
2019-03-19 14:35:12 +00:00
Honza Bambas
44f895e1f6 Bug 1527712 - Move I/O in nsFileChannel::OpenContentStream to a background thread, r=kershaw,dragana
Differential Revision: https://phabricator.services.mozilla.com/D23352

--HG--
extra : moz-landing-system : lando
2019-03-19 15:25:47 +00:00
Sean Stangl
222f7413b2 Bug 1536220 - Enable IonMonkey on ARM64 in-browser. r=nbp
Enable IonMonkey on ARM64 in-browser.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 15:26:43 +00:00
vrinda
ae793e05f0 Bug 1424287 - [mozlog] added color dictionary and functionality for overriding formatter r=jgraham
The default color dictionary is implemented,to avoid hardcode color information. The functionality for overridding the values in formatter, is hitherto partially
 implemented

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

--HG--
extra : moz-landing-system : lando
2019-03-19 16:23:10 +00:00
Sylvestre Ledru
ab23ebfb0e Bug 1535948 - Fix the indentation: the code wasn't executed r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D24035

--HG--
extra : moz-landing-system : lando
2019-03-19 16:02:05 +00:00
Michael Ratcliffe
e9a5487529 Bug 1531845 - Silence various React warnings to help clear up debug mode test logs r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D23115

--HG--
extra : moz-landing-system : lando
2019-03-19 15:29:37 +00:00
Michael Ratcliffe
eecca073ec Bug 1521151 - Make Flexbox Inspector canvas take zoom into account when scrolling r=gl
The Flexbox Inspector uses platform APIs that don't take zoom into account whilst the Grid Inspector uses APIs that do take zoom into account.

This means that the zoom calculations when repositioning the canvas need to be different when called from the Flexbox Inspector than when called from the grid inspector.

I have added a `zoomWindow` option to `canvas.js::updateCanvasElement()` that allows us to optionally apply zoom to the current canvas position and the flexbox issue reported in the bug now works just fine.

All the usual other test cases work just fine with this patch applied.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 15:33:43 +00:00
Jan Varga
1ce29b4c3b Bug 1535221 - Add infrastructure for hang debugging; r=asuth
This patch adds a timer for synchronous local storage requests. Once the timer
fires the request is canceled. The parent reports debugging information upon receiving cancellation.

Differential Revision: https://phabricator.services.mozilla.com/D24006
2019-03-19 12:23:16 +01:00
Oana Pop Rus
ee7211d66d Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-03-19 18:40:44 +02:00
Valentin Gosu
599df523e1 Bug 1420677 - Make sure to update addr_info_gencnt each time we change addr_info r=dragana
When changing addr_info we didn't always update addr_info_gencnt, so when it the old AddrInfo was freed, even though we lock in nsDNSRecord::GetNextAddr, mIter would still point to the old AddrInfo.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 12:21:07 +00:00