Commit Graph

663556 Commits

Author SHA1 Message Date
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
Kearwood "Kip" Gilbert
5bd4ceaa42 Bug 1570075 - WebXR: Extend VRDisplayState and VRDisplayCapabilityFlags r=imanol
In order to support the WebXR implementation, VRDisplayState is being extended to enumerate the type of sessions a device supports (Inline, Immersive-VR, or Immersive-AR) and to report if the blend mode for AR would be additive or alpha blended).

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

--HG--
extra : moz-landing-system : lando
2019-07-31 11:46:48 +00:00
Ryan Alderete
b3829a3ca2 Bug 1526039 - Fix protocol field in about:webrtc candidates table r=dminor
"transport" is the old name for the field.  This makes it so that the transport
protocol is no longer printed as "undefined" in the ICE candidate table.

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

--HG--
extra : moz-landing-system : lando
2019-08-01 17:32:28 +00:00
Chun-Min Chang
2670963c96 Bug 1570446 - P3: Vendor Rust dependencies. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D40307

--HG--
extra : moz-landing-system : lando
2019-08-02 18:29:46 +00:00
Chun-Min Chang
817f6f88f6 Bug 1570446 - P2: Update cubeb-coreaudio-rs to version ee0f981. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D39979

--HG--
extra : moz-landing-system : lando
2019-08-02 18:29:37 +00:00
Chun-Min Chang
f29bfc124d Bug 1570446 - P1: Update script importing cubeb-coreaudio-rs to gecko. r=padenot
- Don't import the build settings since the settings in gecko is more
complicated.
- Print out the picked commits when running the scripts

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

--HG--
extra : moz-landing-system : lando
2019-08-02 18:29:25 +00:00
mcrawford@mozilla.com
ac9982eb2d Bug 1568900 - Hide "Change Block List" UI in Custom option of ETP r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D39515

--HG--
extra : moz-landing-system : lando
2019-07-31 15:54:40 +00:00
Jared Wein
bea5604f59 Bug 1570475 - Saving a login should select the login. r=MattN
The AboutLoginsCreateLogin event was being used in two different contexts, one to signal to AboutLoginsChild.jsm that a new login was created and in a second context to signal within the page that the user wanted to start creating a new login. This overloading of the event has now been fixed. There was also another issue when comparing the typed origin to the saved origin which has been fixed. This patch also properly selects a different login in the list when the current one is deleted.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 20:14:47 +00:00
Jared Wein
48baecedd5 Bug 1570475 - Show file:// as the title on the login-list-item for saved file:// logins. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D40129

--HG--
extra : moz-landing-system : lando
2019-08-02 20:14:36 +00:00
Jared Wein
318ca9c58b Bug 1570475 - Reduce code duplication when selecting the first login, also make sure that the login being selected is visible in the list. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D40128

--HG--
extra : moz-landing-system : lando
2019-08-02 20:14:40 +00:00
Jared Wein
6dc6313829 Bug 1570475 - Remove caching of login object on login-list-items. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D40127

--HG--
extra : moz-landing-system : lando
2019-08-02 20:14:33 +00:00
Jared Wein
1fd7993dc3 Bug 1570475 - Fix reference to the first list item. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D40126

--HG--
extra : moz-landing-system : lando
2019-08-02 20:14:31 +00:00
Edwin Gao
b270bb1353 Bug 1561046 - remove API 17 from manifest files r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D39809

--HG--
extra : moz-landing-system : lando
2019-08-02 20:10:06 +00:00
ruchikabgosain
2c97b7733b Bug 1333721 : Converted utility functions in browser_contentSearchUI.js to async r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D40280

--HG--
extra : moz-landing-system : lando
2019-08-02 19:58:42 +00:00
Edwin Gao
5d0a507d0c Bug 1559975 - convert testing/mochitest to python3 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D37096

--HG--
extra : moz-landing-system : lando
2019-08-02 19:44:34 +00:00
Edwin Gao
1eb2f0f7be Bug 1559975 - convert dom/bindings to python3 r=ahal,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D36634

--HG--
extra : moz-landing-system : lando
2019-08-02 19:45:12 +00:00
Edwin Gao
7e8510c1ae Bug 1559975 - convert layout/style to python3 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35699

--HG--
extra : moz-landing-system : lando
2019-08-02 19:46:12 +00:00
Kris Maglione
f2c3d06093 Bug 1570207: Follow-up: Update failure annotations. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D40469

--HG--
extra : moz-landing-system : lando
2019-08-02 19:32:38 +00:00
Lee Salzman
4f06706e18 Bug 1569950 - only partially clear WR glyph caches if it is not necessary to fully clear. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D40361

--HG--
extra : moz-landing-system : lando
2019-08-02 15:11:47 +00:00
Emilio Cobos Álvarez
d8ee359335 Bug 1571031 - followup: Don't throw NS_OK. r=bustage
MANUAL PUSH: bustage fix
CLOSED TREE
2019-08-02 21:13:38 +02:00
Brindusan Cristian
f58c7a50ae Backed out changeset 66710416d1e4 (bug 1562910) for MinGW bustages. CLOSED TREE 2019-08-02 22:09:39 +03:00
Brindusan Cristian
0b3e26149c Backed out 2 changesets (bug 1559231) for rusttests build bustages. CLOSED TREE
Backed out changeset d47d9f4bf9a9 (bug 1559231)
Backed out changeset 50f92d01c47a (bug 1559231)
2019-08-02 21:55:37 +03:00
Dan Minor
082a390c61 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 18:17:45 +00:00
Kate Hudson
9d98f6740c Bug 1570745 - Add extended triplets, moments page mechanism, special snippet r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D40277

--HG--
extra : moz-landing-system : lando
2019-08-02 18:33:30 +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