Граф коммитов

673982 Коммитов

Автор SHA1 Сообщение Дата
James Willcox d45e43febe Bug 1577003 - Make naming consistent in GeckoView autofill bits r=geckoview-reviewers,agi,esawin
Differential Revision: https://phabricator.services.mozilla.com/D48066

--HG--
rename : mobile/android/modules/geckoview/GeckoViewAutoFill.jsm => mobile/android/modules/geckoview/GeckoViewAutofill.jsm
extra : moz-landing-system : lando
2019-10-04 17:55:54 +00:00
James Willcox e4bf4e9cdc Bug 1577003 - Handle Android autofill service in GeckoView class r=geckoview-reviewers,esawin
This also adds `GeckoView.setAutofillEnabled()`, which is enabled by
default. Apps can disable this if they don't want to use the Android
autofill service. This will allow them to set their own
`AutofillDelegate` on the `GeckoSession` and provide their own
autofill implementation.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 17:54:39 +00:00
James Willcox e1ff7e07eb Bug 1577003 - Add `GeckoSession.getAutofillElements()` r=geckoview-reviewers,esawin,agi
This is an alternative to `GeckoSession.provideAutofillVirtualStructure()`
that does not rely on the `ViewStructure` class. This is necessary to
support autofill functionality on older devices or without involving
the Android autofill service.

This patch also moves the existing autofill tests into
AutofillDelegateTest.kt and converts them to use this new API
instead of the `ViewStructure` one. This allows us to test on devices
lower than SDK 26 (which includes automation). In addition to the API
changes, some tests also needed some greening up.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 17:55:26 +00:00
James Willcox 05c1575597 Bug 1577003 - Move autofill stuff from TextInputDelegate into AutofillDelegate r=geckoview-reviewers,agi,esawin
This also moves `autofill()` and `provideAutofillVirtualStructure()`
into `GeckoSession`.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 17:54:36 +00:00
Tarek Ziadé 8d375d387b Bug 1583615 - use internal PyPI - r=rwood
Use internal PyPI everywhere we can.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 17:44:08 +00:00
Ed Lee 6272276bf4 Bug 1585734 - [lint] Make sure codespell, rst and yaml run with virtualenv python r=ahal
Use mozfile.which to get the correct python for this environment.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 17:45:39 +00:00
Gregory Mierzwinski 5694febebf Bug 1586346 - Remove duplicate pref setting in raptor's user.js file. r=perftest-reviewers,stephendonner
There is a duplicate setting for a pref in raptor's user.js file. This patch removes the duplicate.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 17:18:03 +00:00
Ed Lee e18baa4615 Bug 1586093 - Add engagement pref, join variant and bug fixes to New Tab Page r=k88hudson,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D48110

--HG--
extra : moz-landing-system : lando
2019-10-04 17:06:01 +00:00
Dana Keeler 67fc934d4b bug 1570222 - avoid passing unrelated certificates to mozilla::pkix from NSSCertDBTrustDomain r=kjacobs
During path building, mozilla::pkix filters out candidate certificates provided
by trust domains where the subject distinguished name does not match the issuer
distinguished name of the certificate it's trying to find an issuer for.
However, if there's a problem decoding the candidate issuer certificate,
mozilla::pkix will make a note of this error, regardless of if that certificate
was potentially a suitable issuer. If no trusted path is found, the error from
that unrelated certificate may ultimately be returned by mozilla::pkix,
resulting in confusion.

Before this patch, NSSCertDBTrustDomain could cause this behavior by blithely
passing every known 3rd party certificate to mozilla::pkix (other sources of
certificates already filter on subject distinguished name). This patch adds
filtering to 3rd party certificates as well.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 16:46:08 +00:00
Dan Minor 5ca5bdf957 Bug 1559011 - Try using PW_RENDERFULLCONTENT for Windows window capture; r=pehrsons
This is a partial cherrypick of https://webrtc.googlesource.com/src/+/f89110d67902e787f6745ad2b52f7f09fc808512.
The cropping changes in that revision are problematic on our version of webrtc.org and
result in distorted video, which looks as though there is a stride problem. This takes
the change to try to use PW_RENDERFULLCONTENT and to fall back to the current code if
that fails. This fixes capturing Chrome windows and allows Firefox to properly capture
its own window.

Using PW_RENDERFULLCONTENT can adversely affect performance. Using the
CroppingWindowCapturer can avoid using the WindowCapturer in some circumstances and so
result in better performance. Bug 1586071 tracks switching to the
CroppingWindowCapturer.

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

--HG--
extra : moz-landing-system : lando
2019-10-03 19:47:07 +00:00
Emma Malysz e4eba2b24f Bug 1586337, Replace XUL textbox with HTML input in testcases within editor directory r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D48100

--HG--
extra : moz-landing-system : lando
2019-10-04 16:30:10 +00:00
Emma Malysz 4571ec4874 Bug 1586336, Replace XUL textbox with HTML input in testcases within layout directory r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D48126

--HG--
extra : moz-landing-system : lando
2019-10-04 16:27:49 +00:00
shindli 6b69a26a4e Backed out changeset ed94e4749e4d (bug 1586205) for causing linting failure in /builds/worker/checkouts/gecko/mobile/android/base/java/org/mozilla/gecko/mma/LeanplumVariables.java CLOSED TREE 2019-10-04 19:30:14 +03:00
shindli aa2d84960f Backed out changeset e206bc685749 (bug 1232403) for causing a linting failure CLOSED TREE 2019-10-04 19:28:59 +03:00
Vlad Baicu 0e1885d861 Bug 1586205 - Change LP variables to fallback to same nonLP defaults.r=petru
Differential Revision: https://phabricator.services.mozilla.com/D48184

--HG--
extra : moz-landing-system : lando
2019-10-04 14:32:40 +00:00
Erik Rose 0c37cdf48a Bug 1232403 - Upgrade to sphinx-js 2.8. r=ahal
This should fix the doc builds on Windows, as sphinx-js added Windows support in 2.3.1 and 2.4. We also now get support for variadic args, @deprecated, and @see, along with other features.

sphinx-js 2.7.1 changed the default cwd to be the one containing conf.py, so I also had to twiddle `jsdoc_config_path`.

Let some other pipenv pinnings update themselves as well, as, if I don't, they'll just update themselves the next time somebody runs `mach doc`, dirtying their tree.

I suspect this also fixes bug 1556460, whose equivalent bug in sphinx-js is https://github.com/mozilla/sphinx-js/issues/106. IOW, it should no longer break with versions of jsdoc >= 3.6.

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

--HG--
extra : moz-landing-system : lando
2019-10-03 21:21:29 +00:00
Perry Jiang 80457898fd Bug 1456995 - expectation changes for WPTs running under sw-e10s r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D46902

--HG--
extra : moz-landing-system : lando
2019-10-04 15:28:35 +00:00
Perry Jiang c4528c3537 Bug 1456995 - reduce access levels for member variables/methods in ServiceWorkerManager r=asuth
The changes are just cleanup for member variables/methods that should
be private to ServiceWorkerManager.

Depends on D48179

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

--HG--
extra : moz-landing-system : lando
2019-10-04 15:28:35 +00:00
Perry Jiang ec209ccb5c Bug 1456995 - shutdown unregistered Service Workers on browser shutdown r=asuth
Also replace ServiceWorkerManager shutdown logic's normal for-loops with
range-based for-loops.

Depends on D43170

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

--HG--
extra : moz-landing-system : lando
2019-10-04 15:28:35 +00:00
Perry Jiang 278a5d0501 Bug 1456995 - enable Service Workers' parent-intercept mode on Nightly r=asuth,jgraham
Due to limitations in the test harness, the "serviceworker_e10s" (for mochitest
and xpcshell) and "sw-e10s" (for WPT) values will match mozinfo's "nightly_build"
value, unless overridden by "--setpref dom.serviceWorkers.parent_intercept=..."
provided at the CLI.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 14:34:48 +00:00
Perry Jiang 093f60ebb3 Bug 1456995 - give InternalRequest::mMozErrors a default initializer r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D44514

--HG--
extra : moz-landing-system : lando
2019-10-04 14:36:14 +00:00
Perry Jiang 1c644236c6 Bug 1456995 - make browser_devtools_serviceworker_interception.js compatible with parent-intercept r=asuth
- Listen for observer topics in the parent-process when in parent intercept mode
- Remove an extra postMessage call (and the corresponding message handler)

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

--HG--
extra : moz-landing-system : lando
2019-10-04 13:16:28 +00:00
Andrew Halberstadt 9067e54ba4 Bug 1586010 - [mozversioncontrol] Ensure env in appropriate format for subprocess, r=chmanchester
Environment should be bytes on Python 2 (to avoid Windows errors) and text on
Python 3. The 'ensure_subprocess' env utility function handles this.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 15:48:24 +00:00
Harry Twyford c70b0f040f Bug 1586287 - Reduce megabar horizontal padding and margins. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D48185

--HG--
extra : moz-landing-system : lando
2019-10-04 15:13:45 +00:00
Bryce Seager van Dyk 920eedb463 Bug 1586043 - Gracefully handle IPC failure when checking if MediaKeySystemAccess is allowed on Windows. r=dminor
Because it's possible to have the IPC fail when checking if MediaKeySystemAccess
should be allowed, we should gracefully handle the IPC failure case. If we don't
gracefully handle here, closing the tab during requestMediaKeySystemAccess can
result in crashing the content process.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 15:10:22 +00:00
Jared Wein f67fbdc768 Bug 1583425 - Update the active descendant when rendering to make sure that it is a visible list-item. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D47827

--HG--
extra : moz-landing-system : lando
2019-10-03 15:47:21 +00:00
Jared Wein 7fa1305555 Bug 1583428 - Remove the alt attribute for the favicon since it is not helpful and remove the alt attribute on the breached website icon so the title of 'Breached Website' is spoken. r=fluent-reviewers,MattN,flod
Differential Revision: https://phabricator.services.mozilla.com/D47811

--HG--
extra : moz-landing-system : lando
2019-10-03 16:05:22 +00:00
Tim Nguyen 2ed60e9a99 Bug 1586019 - Remove textbox .plain class support. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D48074

--HG--
extra : moz-landing-system : lando
2019-10-03 16:21:42 +00:00
Tom Ritter 7b8567a9f0 Bug 1585700 - Remove unconditional -mwindows from the mingw compilation r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D47921

--HG--
extra : moz-landing-system : lando
2019-10-03 15:46:04 +00:00
Lina Cambridge 397d3a1156 Bug 1583413 - Fetch the Send Tab target list from FxA, not Sync. r=markh,eoger
Instead of using the list of FxA devices from the Sync clients engine,
we now fetch the list of Send Tab devices from FxA. This works like
this:

* `FxAccountsDevice#getDeviceList` has been split up into
  `recentDeviceList` and `refreshDeviceList`.
* `recentDeviceList` synchronously returns the last fetched list, so
  that consumers like Send Tab can use it right away.
* `refreshDeviceList` is asynchronous, and refreshes the last fetched
  list. Refreshes are limited to once every minute by default, matching
  the minimum sync interval (Send Tab passes the `ignoreCached` option
  to override the limit if the user clicks the "refresh" button).
  Concurrent calls to `refreshDeviceList` are also serialized, to
  ensure the list is only fetched once.
* The list is flagged as stale when a device is connected or
  disconnected. It's still kept around, but the next call to
  `refreshDeviceList` will fetch a new list from the server.
* The Send Tab UI refreshes FxA devices in the background. Matching FxA
  devices to Sync client records is best effort; we don't do it if Sync
  isn't configured or hasn't run yet. This only impacts the fallback
  case if the target doesn't support FxA commands.

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

--HG--
extra : moz-landing-system : lando
2019-10-03 22:40:55 +00:00
Lina Cambridge 51e03623ee Bug 1583413 - Move device-related methods into `FxAccountsDevice.jsm`. r=eoger
This commit contains no functional changes, just moving code around to
make the next patch in this series easier to write.

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

--HG--
extra : moz-landing-system : lando
2019-10-03 22:40:41 +00:00
Matt Brandt 268d795936 Bug 1586067 - [iris firefox] Run only the nightly build validation tests r=KWierso
Differential Revision: https://phabricator.services.mozilla.com/D48132

--HG--
extra : moz-landing-system : lando
2019-10-03 22:34:24 +00:00
Andrew Erickson c39e023148 Bug 1585422: update mac hostutils r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D48125

--HG--
extra : moz-landing-system : lando
2019-10-03 22:08:45 +00:00
Nika Layzell 58f0466b9e Bug 1576714 - Part 7: Remove now-passing fail-if, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D48129

--HG--
extra : moz-landing-system : lando
2019-10-03 21:51:53 +00:00
Nika Layzell 2a228afa83 Bug 1576714 - Part 6: Remove browser_cross_process_redirect test, r=valentin
This test was originally written to test HTTPResponseProcessSelection before it
was hooked up into the process switch machinery. It hooks into some parts of the
process switch process which should probably be removed in the future (such as
overriding the child listener component registration), and is broken under
fission anyway.

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

--HG--
extra : moz-landing-system : lando
2019-10-03 21:40:35 +00:00
Nika Layzell 6fe0f1425d Bug 1576714 - Part 5: Delay canceling original document channel during process switch, r=mattwoodrow
This delays when the DocumentChannelChild is canceled during a process switch to
be after the switch has been completed, to prevent the load event firing too
early in the original content process.

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

--HG--
extra : moz-landing-system : lando
2019-10-03 21:40:33 +00:00
Nika Layzell 03df92a7e0 Bug 1576714 - Part 4: Delay canceling original http channel during process switch, r=mattwoodrow
This patch changes when the original HttpChannelChild gets canceled during a
process switch to be after when the process switch is completed. This is needed
to prevent the load event firing too early in the original content process.

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

--HG--
extra : moz-landing-system : lando
2019-10-03 21:40:31 +00:00
Nika Layzell 89b22d83ef Bug 1576714 - Part 3: Initiate subframe process switches from the parent, r=kmag
This flips the direction in which the BrowserBridge actor is generally created
such that it is generally created in the parent and sent down to a child
process.

This is done by making the decision about what kind of switch to perform in the
parent, and sending messages down to child processes async to orchestrate these
process changes.

Process launching is changed to use an async `MozPromise`-returning API in this
patch, though the actual process launching still occurs synchronously. A future
patch will enable performing async process launching through the
NewOrUsedBrowserProcess mechanism.

I know of at least a few timing issues which exist with the new logic,
especially around the state of the BrowsingContext during the process
transition. I decided to not try to fix all of these issues in this patch, as
many are complex and will require changing how we manage the lifecycle of
BrowsingContext substantially. I do, however, think that the new logic is more
reliable and has fewer timing issues than the previous logic.

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

--HG--
extra : moz-landing-system : lando
2019-10-03 21:40:24 +00:00
Nika Layzell 7b1c569d54 Bug 1576714 - Part 2: Remove mIPCOpen from PBrowserBridge actors, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D47309

--HG--
extra : moz-landing-system : lando
2019-10-03 21:40:22 +00:00
Nika Layzell 6131a7ef18 Bug 1576714 - Part 1: Move BBC initialization into BrowserBridgeChild, r=kmag
This is useful in part 3, where the initialization will need to be called from
multiple places.

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

--HG--
extra : moz-landing-system : lando
2019-10-03 21:40:20 +00:00
Frederic Wang 7194becede Bug 1548522 - Remove support for the menclose's "radical" notation. r=emilio
See https://groups.google.com/forum/#!topic/mozilla.dev.platform/vwAkuZIEhnY

* Introduce a new preference option to disable menclose's "radical" notation.
* Disable the notation in Nightly and when running WPT tests.
* Enable the notation in other channels together with a counter and
  deprecation warning.
* Update WPT test legacy-menclose-radical-notation.html
  - Fix test: "radical" should be equivalent to "", which is not the same as
    the default value "longdiv".
    See https://github.com/mathml-refresh/mathml/issues/144
  - Add a test "box radical" which should be equivalent to "box".
  - Remove failure expectation.
* Enable the radical notation for MathML reftests testing it.

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

--HG--
extra : moz-landing-system : lando
2019-10-03 21:37:03 +00:00
Tom Ritter 2e50f42b7a Bug 1577521 - Update configure to report an error if you try to build with mingw-gcc r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D47857

--HG--
extra : moz-landing-system : lando
2019-10-03 15:44:36 +00:00
Michael Cooper 7e32f859a9 Bug 1584961 - Use sinon matcher instead of exact call list in Normandy preference rollout test r=Gijs
This avoids an intermittent test failure when other parts of Firefox set experiments active while this test is running

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

--HG--
extra : moz-landing-system : lando
2019-10-03 14:40:43 +00:00
Anny Gakhokidze 6b46b2ccf4 Bug 1582531 - Add a fail-if annotation for toolkit/components/passwordmgr/test/mochitest/test_prompt_http.html, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D48062

--HG--
extra : moz-landing-system : lando
2019-10-03 15:31:30 +00:00
Geoff Brown 64667c1a4f Bug 1575666 - skip crashtest 1257700.html on Android; r=geckoview-reviewers,snorp
This test fails intermittently on geckoview; when it fails, many later-running
tests fail also, causing some confusion in bug classification.

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

--HG--
extra : moz-landing-system : lando
2019-10-03 15:10:37 +00:00
Geoff Brown b5dcc6d775 Bug 1584562 - Re-disable crashtest 914521.html on Android; r=geckoview-reviewers,snorp
This test was skipped on Android for a long time, then recently enabled by
bug 1582884. Current failures are infrequent, but let's avoid them anyway.

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

--HG--
extra : moz-landing-system : lando
2019-10-03 15:10:37 +00:00
Nick Alexander 2dc031e1d6 Bug 1585198 - Use win32-node for aarch64 Browsertime tests. r=stephendonner
Just like Bug 1582972.

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

--HG--
extra : moz-landing-system : lando
2019-10-03 16:26:17 +00:00
Olli Pettay 7770e575a0 Bug 1585606 - Make EventStateManager::GenerateDragGesture a tad more readable and rename FlushPendingEvents to hint what it actually does, r=edgar
Differential Revision: https://phabricator.services.mozilla.com/D47889

--HG--
extra : moz-landing-system : lando
2019-10-03 11:26:39 +00:00
Jonathan Kew 02d0612b29 Bug 1584143 - Don't try to reinitialize platform font list from GetDefaultFont() if we're not on the main thread. r=jwatt
This can happen if we need to use gfxFontGroup::GetDefaultFont() during stylo traversal,
but we initially failed to create the required font because the font list is stale.
In this case, use a "last-resort" default font entry as a stopgap until the font list
update is completed.

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

--HG--
extra : moz-landing-system : lando
2019-10-03 09:49:04 +00:00
Alexander Surkov e670b51391 Bug 1582590 - Clean up unused <textbox type='autocomplete'> platform code. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D46541

--HG--
extra : moz-landing-system : lando
2019-10-03 11:18:53 +00:00