Commit Graph

663708 Commits

Author SHA1 Message Date
Gabriele Svelto
50f416564f Bug 1570789 - Remove the unused field from GeckoView/Fennec crash reports r=nalexander,agi
Differential Revision: https://phabricator.services.mozilla.com/D40331

--HG--
extra : moz-landing-system : lando
2019-08-02 08:26:05 +00:00
chujun
35ea958caa Bug 1557881 - Update source to get the right isBlackBoxed property r=davidwalsh,jlast
When working for this bug, I noticed a related issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1568985. An up-to-date `source` object is needed for the [[ https://searchfox.org/mozilla-central/source/devtools/client/debugger/src/components/PrimaryPanes/SourcesTreeItem.js#130 | label ]] and the [[ https://searchfox.org/mozilla-central/source/devtools/client/debugger/src/components/PrimaryPanes/SourcesTreeItem.js#135 | toggleBlackBox function ]]. So instead of creating a function similar to `hasPrettySource`, I get the whole `source` object and add a blackbox icon based on `source.isBlackBoxed`. Let me know what you think.

I also added a snapshot test for prettyPrint icon.
{F1479921}

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

--HG--
extra : moz-landing-system : lando
2019-08-02 20:38:24 +00:00
Kris Maglione
dd810760b5 Bug 1561015: Part 2 - Return BrowsingContext from openWindow2. r=bzbarsky
There are some unfortunate aspects of openWindow() and openWindow2() that make
this difficult. Namely, they sometimes return top-level chrome windows, and
sometimes a single content window from the top-level chrome window that they
open, depending on how they're called.

There really isn't any reason to return a BrowsingContext rather than a chrome
window in the former case, but there also really isn't a way to make the API
polymorphic in a way that would allow handling the two cases differently. So
at some point, the two cases should ideally be split into separate APIs rather
than separate special cases of a single API.

In the mean time, I've left openWindow() returning local mozIDOMWindowProxy
objects, since it isn't used by the DOM window.open() or openDialog() APIs,
and only updated openWindow2(). As a follow-up, we should remove both
openWindow() and openWindow2(), and replace them with openChromeWindow() and
openContentWindow() (or similar) methods which make it immediately clear what
type of window is being returned.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 20:48:40 +00:00
Kris Maglione
22592538f5 Bug 1561015: Part 1 - Use BrowsingContext in window provider APIs. r=bzbarsky,mossop
This is the first step in making it possible to return remote WindowProxy
objects from window.open() and related APIs.

This patch also incidentally fixes a bug where getContentWindowOrOpenURI
returned the top-level browser window rather than the new content window when
passed OPEN_NEWWINDOW for the `aWhere` parameter. This was not the expected
behavior, and was a potentially major footgun for any new users who expected
to always get the content window for the URL they were loading, rather than
sometimes getting a chrome browser window instead.

For now, that case just returns null, which is only a minor footgun, rather
than the major one we had before.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 20:48:33 +00:00
Nathan Froyd
909e9c6f30 Bug 1568450 - explicitly specify a cpu for LTO linking on Windows; r=dmajor
By default, the linker chooses a "generic" 32-bit CPU to optimize for,
and LLVM's "generic" 32-bit CPU model doesn't include some features that
are helpful for performance on microbenchmarks.  We explicitly specify a
CPU model to ensure the model we want is selected.

On x86-64, we explicitly force a generically good processor model, even
though the automatically selected one didn't seem to hurt benchmarks.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 20:43:52 +00:00
Nick Alexander
e592c76817 Bug 1512487 - Part 4: Deprecate mach android {api-lint,checkstyle,findbugs,lint,test}. r=agi
It's a pity that Mach's conditions facility can't handle subcommands,
but it's a deep enough limitation that it's not worth addressing for
this patch.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 20:30:30 +00:00
Nick Alexander
c5f931e3b5 Bug 1512487 - Part 3: Convert Android-specific code analyses into mozlints. r=ahal,agi
API lint is arguably the most valuable lint of all, but it's also hard
to fit into the Phab ecosystem, since there's no place to hang the
"API hash not correct" message in the case when the hash hasn't been
updated at all.  Therefore, this commit doesn't convert it.  See also
https://github.com/mozilla-mobile/gradle-apilint/issues/61 for adding
file/line information to API lint.

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

--HG--
rename : mobile/android/config/mozconfigs/android-api-16-frontend/nightly => mobile/android/config/mozconfigs/android-api-16/nightly-android-lints
extra : moz-landing-system : lando
2019-08-02 20:34:23 +00:00
Nick Alexander
f049bde942 Bug 1512487 - Part 2: Add "global" lint type. r=ahal
This patch adds a global lint that only runs when a file or directory
that matches their configuration (via `extensions` and `exclude`) has
been modified or specified.

Global lints never shard into chunks; they are, by definition global
(i.e., across the entire source tree) and act on all inputs in a
single invocation.  It's up to the global lint to manage command line
sizes, etc.  Since batching is handled by the lint type but sharding
is handled by the lint roller, there's a little abstraction leak so
that the lint type can control how its invocation is sharded: the
existing `batch` member is generalized from the existing `True` and
`False` to add a new `"global"` value which disables sharding.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 20:34:09 +00:00
Nick Alexander
fd38e457ec Bug 1512487 - Part 1: Allow lints to inspect part of the build environment. r=ahal
This allows lints to "condition" themselves on having a build
environment or a specific build application.  It also adds the "name"
parameter, so that setup functions can be shared across lints.

`MozbuildObject` cannot be used as parameters to functions distributed
via multiprocessing, since they cannot be pickled (due, currently, to
internal terminal handles).  Therefore we extract just a few key
parts of the environment to expose.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 20:30:02 +00:00
Nick Alexander
524e59dc74 Bug 1512487 - Pre: Expose gradle_lock to consumers. r=agi
It's not worth accommodating all the ways to invoke commands from
Python, so expose the lock itself so that consumers can use
subprocess, Popen, etc as they choose.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 20:29:46 +00:00
Nick Alexander
1b457812c6 Bug 1512487 - Pre: Remove unused android-api-16-gradle mozconfig. r=agi
This was Gradle-only and then !Gradle-only.  Now Gradle is required
and this is unused.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 20:29:39 +00:00
Ryan Alderete
3a5af31fab Bug 1571027 - Fix RTP stats section in about:webrtc r=ng
When the RTP stats were refactored to match the specifications, the code that
displays them on about:webrtc was left unchanged.  Update that code to reflect
the new stats types.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 20:04:59 +00:00
Ehsan Akhgari
319d1b6002 Bug 1570875 - Disable browser_urlDecorationStripping.js on fission like most of the anti-tracking tests for now
Differential Revision: https://phabricator.services.mozilla.com/D40484

--HG--
extra : moz-landing-system : lando
2019-08-02 20:29:31 +00:00
Alastor Wu
2ae05955ab Bug 1571051 - part4 : use Cb buffer in the second plane. r=jolin
The second plane should store data of the Cb buffer's value, not the Cr's.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 18:54:02 +00:00
Alastor Wu
e1447216a6 Bug 1571051 - part3 : mark MediaRawData as a keyframe. r=jolin
If the encoded frame is a keyframe, we should also mark the MediaRawData which would contain the data from this encoded frame as a keyframe.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 18:53:34 +00:00
Alastor Wu
f839b3c72d Bug 1571051 - part2 : keep CodecSpecific const when doing the std::forward. r=jolin
As we are not going to modify the CodecSpecific, it should keep const when we forward it.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 18:53:12 +00:00
Alastor Wu
6c24473bca Bug 1571051 - part1 : use thread safe refcounting for PlatformEncoderModule. r=jolin
We don't have a contraint for using PlatformEncoderModule in the specific thread only, so we should use thread-safe refcounting for it, like PlatformDecoderModule.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 18:52:49 +00:00
Boris Chiou
4dbc9ab7ef Bug 1559231 - Make offset-anchor animatable. r=birtles
Per the spec issue, https://github.com/w3c/csswg-drafts/issues/3482,
we update the wpt to keep the percentage in `calc()` for `offset-anchor`.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 00:47:09 +00:00
Boris Chiou
9463547bb3 Bug 1559231 - Support offset-anchor. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D39432

--HG--
extra : moz-landing-system : lando
2019-08-02 00:43:11 +00:00
Boris Chiou
c4f468de6a Bug 1569795 - Block compositor animations of transform-like properties if offset-path is not none. r=hiro
The animations of motion path are not running on the compositor, and the
properties in [motion-1] is not part of transform-like properties (i.e.
nsCSSProperties::TransformLikeProperties()) for now, so we should run
transform animations on the main thread if offset-path is not `none`.

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

--HG--
extra : moz-landing-system : lando
2019-08-01 21:22:49 +00:00
Michael Froman
d889971613 Bug 1562910 - Use ShmemPool to reduce shmem thrashing in RDD audio decoding. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D36611

--HG--
extra : moz-landing-system : lando
2019-08-02 18:13:46 +00:00
Mike Conley
5c745b9ffa Bug 1557994 - Picture-in-Picture player video element should not try decoding its own version of the originating video. r=JSON_voorhees
Differential Revision: https://phabricator.services.mozilla.com/D39697

--HG--
extra : moz-landing-system : lando
2019-08-02 18:09:24 +00:00
Nupur Baghel
8351b61c08 Bug 1569100 - Marionette: Add ExecuteScript, ExecuteAsyncScript commands and Script type. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D40218

--HG--
extra : moz-landing-system : lando
2019-08-01 15:28:37 +00:00
Emilio Cobos Álvarez
fbee3c2fc2 Bug 1571031 - Change Location::Reload to take an ErroResult, since it's what both callers expect. r=bzbarsky
Not sure what you think of the `return aRv.Throw()` pattern, I find it nice, but
it seems we don't use it a lot.

Also Location.h is inconsistent on aError vs. aRv, if you want me to change to
one or the other let me know.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 18:02:11 +00:00
Edwin Gao
c9df10668e Bug 1570775 - remove references to macosx1010, OS X 10.10.x in configuration and test manifests r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D40309

--HG--
extra : moz-landing-system : lando
2019-08-02 17:27:58 +00:00
Nupur Baghel
af2197df27 Bug 1569100 - Marionette: Add AcceptAlert, DismissAlert, GetAlertText and SendAlertText commands. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D40214

--HG--
extra : moz-landing-system : lando
2019-08-02 17:57:33 +00:00
Emilio Cobos Álvarez
eb1de83a74 Bug 1450173 - Allow the datetime wrapper to grow so that you can e.g. align its contents using text-align. r=dholbert
Also drive-by remove some useless prefixes since user-select was unprefixed in
bug 1492739.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 17:31:09 +00:00
Gregory Mierzwinski
fb09e79449 Bug 1570706 - General clean up of raptor taskcluster configuration. r=perftest-reviewers,alexandru.irimovici
This bug fixes up some minor issues in the raptor taskcluster configuration by removing the comm-central repository, adding a comment about requiring --full when run-on-projects is [], removing the run-on-projects entry for raptor-tp6-3-firefox, and moving the android/opt run-on-projects definition closer to the android/pgo definition in the defaults section.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 17:53:07 +00:00
Moritz Birghan
978fb0351d Bug 1360307 - Improves the arguments to mozilla::psm::InitializeNSS r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D39011

--HG--
extra : moz-landing-system : lando
2019-08-02 17:51:22 +00:00
Aaron Klotz
a2b73b8abc Bug 1570395: Add StaticLocalAutoPtr and StaticLocalRefPtr to XPCOM; r=froydnj
This patch adds smart pointers to be used for initializing objects as C++11
"magic statics" -- that is, they are able to take advantage of C++11's
guarantee of thread safety during initialization by atomically constructing
both the smart pointer itself as well as the object being pointed to.

Unlike Static{Auto,Ref}Ptr, they have non-trivial constructors, though they
must still have trivial destructors to prevent emission of atexit calls.

The new classes use the new `MOZ_STATIC_LOCAL_CLASS` annotation which ensures
their instantiations are static locals and prevents non-trivial destructors.

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

--HG--
rename : xpcom/base/StaticPtr.h => xpcom/base/StaticLocalPtr.h
extra : moz-landing-system : lando
2019-08-02 17:26:37 +00:00
Henrik Skupin
6773494087 Bug 1377335 - [marionette] Re-enable DRAWWINDOW_DRAW_VIEW and DRAWWINDOW_USE_WIDGET_LAYERS flags for screen captures. r=webdriver-reviewers,ato
All dependencies are fixed, or no longer reproducible. As such both
flags can be re-enabled. Also reftests won't have to specify the
exactly same flags on its own anymore.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 11:09:02 +00:00
James Graham
226d6ca0b2 Bug 1571019 - Update mozrunner version to 7.5.0, r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D40443

--HG--
extra : moz-landing-system : lando
2019-08-02 15:44:31 +00:00
Tom Schuster
37b519e15a Bug 1558915 - Use infallible nsIURI::SchemeIs in toolkit/ r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D40323

--HG--
extra : moz-landing-system : lando
2019-08-02 16:31:54 +00:00
Emilio Cobos Álvarez
4e8705e93b Bug 1570566 - Cleanup a bit Location::Reload() and History::Go(0). r=bzbarsky
This code was jumping through some hoops that seemed unnecessary. Given
History::Go(0) already calls Location::Reload(false), seems we can just handle
the new pref in one place, and also simplify the code a bit.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 16:30:49 +00:00
Emilio Cobos Álvarez
68491304a9 Bug 1570566 - Don't block reloading during a resize event handler on Android and Nightly. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D40430

--HG--
extra : moz-landing-system : lando
2019-08-02 16:30:41 +00:00
Andreas Pehrson
19cde46042 Bug 1570958 - Demote some WebMWriter assertions to keep release builds clean and happy. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D40447

--HG--
extra : moz-landing-system : lando
2019-08-02 16:31:04 +00:00
Dzmitry Malyshau
94761858ca Bug 1564118 - WR don't assume opaque on the lack of a clip task
those unwrap_or are mostly seen during the batching, where we should asssume that
the primitives are not clipped out and just unwrap() accordingly.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 14:48:46 +00:00
Julian Descottes
0fa207e547 Bug 1569975 - Add documentation about CSP in DevTools toolbox document r=sole
Differential Revision: https://phabricator.services.mozilla.com/D39899

--HG--
extra : moz-landing-system : lando
2019-08-02 16:25:08 +00:00
Zibi Braniecki
b87d8246a9 Bug 1501886 - Migrate menubar to Fluent. r=fluent-reviewers,Pike,flod
Differential Revision: https://phabricator.services.mozilla.com/D34379

--HG--
extra : moz-landing-system : lando
2019-08-02 16:07:44 +00:00
Cosmin Sabou
608eb6dbd3 Merge mozilla-central to autoland. 2019-08-02 19:05:40 +03:00
Cosmin Sabou
d97df02c5f Merge mozilla-inbound to mozilla-central. a=merge 2019-08-02 19:02:41 +03:00
arthur.iakab
7aef316861 Backed out changeset b8661a3b5dc2 (bug 1356046) for causing buid bustages on HTMLMediaElement.cpp CLOSED TREE 2019-08-02 19:00:45 +03:00
Cosmin Sabou
9b936b2958 Merge autoland to mozilla-central. a=merge 2019-08-02 18:59:53 +03:00
arthur.iakab
30ac545240 Backed out changeset d780672e184a (bug 1570745) for causing browser chrome failures on browser_asrouter_toolbarbadge.js CLOSED TREE 2019-08-02 18:58:58 +03:00
Dan Minor
a13ff75b20 Bug 1356046 - Remove expired media telemetry; r=jya,alwu,bryce
This removes all telemetry which expired in Firefox 69 or earlier, with the
exceptions of the following, which we plan to renew:
* AUDIO_TRACK_SILENCE_PROPORTION
* MEDIA_AUTOPLAY_WOULD_BE_ALLOWED_COUNT
* MEDIA_AUTOPLAY_WOULD_NOT_BE_ALLOWED_COUNT
* MEDIACACHESTREAM_LENGTH_KB
* MEDIA_MKV_CANPLAY_REQUESTED
* MEDIA_PAGE_COUNT
* MEDIA_PAGE_HAD_MEDIA_COUNT
* VIDEO_DROPPED_FRAMES_PROPORTION
* VIDEO_PLAY_TIME
* VIDEO_HIDDEN_PLAY_TIME
* VIDEO_HIDDEN_PLAY_TIME_PERCENTAGE
* VIDEO_INFERRED_DECODE_SUSPEND_PERCENTAGE
* VIDEO_INTER_KEYFRAME_AVERAGE_MS
* VIDEO_INTER_KEYFRAME_MAX_MS
* VIDEO_SUSPEND_RECOVERY_TIME_MS
* VIDEO_VP9_BENCHMARK_FPS
* WEB_AUDIO_BECOMES_AUDIBLE_TIME
* WEBVTT_TRACK_KINDS

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

--HG--
extra : moz-landing-system : lando
2019-08-02 15:37:59 +00:00
Mihai Alexandru Michis
35af63e9a3 Bug 1565725 - Fix bustages in taskcluster/ci/webrender/kind.yml r=aryx CLOSED TREE 2019-08-02 15:49:16 +03:00
Honza Bambas
501e5f99cc Bug 1565242 - Remove HTTP/2 connection (e2e or proxy) from the opposite (an)onymous connection entry in case it cannot be found in the entry the connection is associated with because of HTTP/2 (an)onymous connection pool sharing, r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D37881

--HG--
extra : moz-landing-system : lando
2019-08-02 11:04:20 +00:00
Micah Tigley
8d18f60412 Bug 1570087 - Fix protection report breakage for unverified FXA user. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D39939

--HG--
extra : moz-landing-system : lando
2019-08-02 15:04:16 +00:00
Greg Tatum
ba44f243ee Bug 1567390 - Add a merged stack test for the profiler; r=canaltinova
Depends on D40324

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

--HG--
extra : moz-landing-system : lando
2019-08-02 14:18:18 +00:00
Greg Tatum
49a90e42a6 Bug 1567390 - Add a JS stack collection test; r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D40324

--HG--
extra : moz-landing-system : lando
2019-08-02 14:15:15 +00:00