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

691732 Коммитов

Автор SHA1 Сообщение Дата
Sam Foster add3f468e5 Bug 1536728 - Refactor generatedPasswordFilledOrEdited to become usable for any password filled/edited event. r=MattN
* No functional changes.
* Rename *GeneratedPasswordFilledOrEdited to *PasswordEditedOrGenerated and pass a 'generated' flag

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

--HG--
rename : toolkit/components/passwordmgr/test/mochitest/test_LoginManagerContent_generatedPasswordFilledOrEdited.html => toolkit/components/passwordmgr/test/mochitest/test_LoginManagerContent_passwordEditedOrGenerated.html
rename : toolkit/components/passwordmgr/test/unit/test_LoginManagerParent_onGeneratedPasswordFilledOrEdited.js => toolkit/components/passwordmgr/test/unit/test_LoginManagerParent_onPasswordEditedOrGenerated.js
extra : moz-landing-system : lando
2020-02-13 22:08:47 +00:00
Edgar Chen e8322fa0ba Bug 1609180 - Add test for requesting fullscreen from parent window; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D62669

--HG--
extra : moz-landing-system : lando
2020-02-13 21:44:07 +00:00
Andrew Osmond db39fa490d Bug 1614798 - Refactor the blocklist rules to hide more of the boilerplate. r=jrmuizel
We would like to get to a world where we compare/store enums instead of
strings, and this is a step towards.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 22:39:10 +00:00
Coroiu Cristina e869934731 Backed out changeset da7bdd092e0b (bug 1615408) for try failures at test_fuzzy.py on a CLOSED TREE 2020-02-14 01:16:00 +02:00
Coroiu Cristina ec8506ea56 Backed out 4 changesets (bug 1361341, bug 1578058) for mozilint failure at test_clippy.py on a CLOSED TREE
Backed out changeset 76d91acac82c (bug 1361341)
Backed out changeset aa0f5c68a325 (bug 1578058)
Backed out changeset 6df34f8ff016 (bug 1578058)
Backed out changeset 066a58eea385 (bug 1361341)
2020-02-14 01:15:11 +02:00
Coroiu Cristina 9526bf7b4d Backed out 3 changesets (bug 1610149) for instr bustage on a CLOSED TREE
Backed out changeset b815d0a94385 (bug 1610149)
Backed out changeset dfca4a56fa51 (bug 1610149)
Backed out changeset 0568028bb4dd (bug 1610149)
2020-02-14 01:14:05 +02:00
Coroiu Cristina fc53596ca3 Backed out 2 changesets (bug 1598068) for build bustage at ShowSSEConfig on a CLOSED TREE
Backed out changeset 5fb8d24977eb (bug 1598068)
Backed out changeset eba60d849030 (bug 1598068)
2020-02-14 00:48:07 +02:00
Nathan Froyd 51b509b95d Bug 1610149 - turn on wasm sandboxing for Mac configs; r=firefox-build-system-reviewers,rstewart
Depends on D62800

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

--HG--
extra : moz-landing-system : lando
2020-02-13 21:15:19 +00:00
Nathan Froyd 8f585aba02 Bug 1610149 - let x86-64 Mac enable wasm sandboxing; r=firefox-build-system-reviewers,rstewart
Everything that we need is supported on Mac, too.

Depends on D62799

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

--HG--
extra : moz-landing-system : lando
2020-02-13 21:17:18 +00:00
Nathan Froyd 1457e227c7 Bug 1610149 - relax SandboxedWasmLibrary assertions in the mozbuild frontend; r=firefox-build-system-reviewers,rstewart
We're going to enable this on Mac, and it won't do to have configure
assert when we actually do so.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 21:17:49 +00:00
James Willcox 94570d7699 Bug 1598068 - Increase Android targetSdk to 29 r=geckoview-reviewers,aklotz
Differential Revision: https://phabricator.services.mozilla.com/D61013

--HG--
extra : moz-landing-system : lando
2020-02-12 19:10:38 +00:00
James Willcox 5a405a1191 Bug 1598068 - Add ashmem abstraction to mozglue and use it everywhere r=glandium,jld
Apps targeting SDK 29 are not allowed to open /dev/ashmem directly, and
instead must use NDK functions. Those functions are only available in
SDK 26 and higher, so we need this shim to use the functions if they
are available, else fallback to opening /dev/ashmem directly.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 22:17:05 +00:00
Mike Hommey 889cf591cf Bug 1563925 - Update redox_users to 0.3.2. r=froydnj
There are even newer versions, but they pull in a new version of
rust-argon2 that pulls in a new version of base64.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 18:05:48 +00:00
Mike Hommey a9be7e5ac6 Bug 1615150 - Drive-by fix error reporting in diffoscope tasks failure summary. r=dmajor
As opposed to what was intended, the directories weren't eliminated
correctly.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 22:11:03 +00:00
Mike Hommey 8eb5b272db Bug 1615150 - Fix the logic that skips generated-files diffing when there aren't generated-files to compare. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D62696

--HG--
extra : moz-landing-system : lando
2020-02-13 22:11:03 +00:00
Mike Hommey 89d916fc02 Bug 1615204 - Remove some MSVC-only compiler flags. r=dmajor
- -NOLOGO is used to hide the banner that MSVC displays by default. It's
a no-op with clang-cl, no need to keep it now that we don't support
MSVC.

- -utf-8 is only passed when the compiler is not GCC-ish and not
clang-cl, which used to mean MSVC, but now means no compiler.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 13:40:15 +00:00
Sylvestre Ledru 71a6ce834d Bug 1361341 - Create the list of supported/unsupported directory with clippy r=ahal
Depends on D58267

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

--HG--
extra : moz-landing-system : lando
2020-02-13 14:48:39 +00:00
Sylvestre Ledru 8cf1cb4c8c Bug 1578058 - TC: Create a new lint/rust category r=ahal
Depends on D58252

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

--HG--
extra : moz-landing-system : lando
2020-02-13 21:40:21 +00:00
Sylvestre Ledru d62d5a5e41 Bug 1578058 - Run clippy in taskcluster r=ahal
Depends on D58250

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

--HG--
extra : moz-landing-system : lando
2020-02-13 21:40:06 +00:00
Sylvestre Ledru 39658a665b Bug 1361341 - Add rust clippy to mozlint r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D58250

--HG--
extra : moz-landing-system : lando
2020-02-13 21:39:51 +00:00
Nathan Froyd b5ec5b84be Bug 1610986 - invoke lucetc with custom LD and LDFLAGS; r=firefox-build-system-reviewers,rstewart
`lucetc` by default will invoke `ld` directly, which is usually not what
we want, particularly when cross-compiling.  Instead, let's invoke the
compiler, which will do the hard work of determining the correct linker
to use, and we'll also explicitly specify `LDFLAGS`, since the default
`LDFLAGS` from `lucetc` assume you're invoking the linker directly.

Depends on D62797

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

--HG--
extra : moz-landing-system : lando
2020-02-13 21:19:56 +00:00
Nathan Froyd 3f2d9684cb Bug 1610986 - define ldflags for lucetc in configure; r=firefox-build-system-reviewers,rstewart
These vary per-target, and it's nicer to define them here rather than
define them somewhere in rules.mk.

Depends on D62796

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

--HG--
extra : moz-landing-system : lando
2020-02-13 21:20:11 +00:00
Nathan Froyd 9df9f90a4a Bug 1610986 - add a specific target for lucet compilation; r=firefox-build-system-reviewers,rstewart
We're going to need this for handling Mac cross compiles correctly.

Depends on D62795

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

--HG--
extra : moz-landing-system : lando
2020-02-13 21:20:34 +00:00
Nathan Froyd a3d8f9303d Bug 1610986 - add lucetc and wasi-sysroot to Mac builds; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D62795

--HG--
extra : moz-landing-system : lando
2020-02-13 21:20:41 +00:00
Simon Fraser 509a0a550e Bug 1615408 Ensure task estimates work when none are selected r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D62816

--HG--
extra : moz-landing-system : lando
2020-02-13 21:00:59 +00:00
Drew Willcoxon 83760cc442 Bug 1610200 - In full screen, properly hide the toolbars after the user picks a result in the urlbar. r=dao
Two fixes:

* The urlbar view isn't a popup anymore, so `FullScreen` should listen for `onViewOpen` and `onViewClose` on the urlbar controller instead of popup events.
* Change the keypress listeners to keydown to listen for enter events in the urlbar and hide the toolbars.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 21:39:08 +00:00
Brindusan Cristian e2fb6b8344 Backed out changeset 7fefed11f117 (bug 1611326) for build bustages at update-1.xpi.stub. CLOSED TREE 2020-02-13 23:33:34 +02:00
Hiroyuki Ikezoe 1ee15cf675 Bug 1615194 - Avoid the conversion to matrix for individual transform properties. r=boris
We can tell the scale value for the properties without the matrix.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 19:10:52 +00:00
Hiroyuki Ikezoe a49049ced7 Bug 1615194 - Drop the reference box size argument from ProcessRotate and ProcessScale. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D62698

--HG--
extra : moz-landing-system : lando
2020-02-13 10:37:12 +00:00
Hiroyuki Ikezoe 11c48a531c Bug 1615156 - Don't return true from KeyframeEffect::ContainsAnimatedScale if there is no base style. r=boris
The base style is not set in cases where there is no additive/accumulative
animation.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 19:13:39 +00:00
Christian Holler 337c4eea4d Bug 1612711 - Switch TSan tests to Tier1. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D62727

--HG--
extra : moz-landing-system : lando
2020-02-13 16:02:07 +00:00
Dana Keeler 2e9c5af592 bug 1613422 - test fixups to avoid skipping regenerating some expired certificates r=jcj
See bug 1613275 and bug 1607845. In bug 1607845, the aim was to regenerate all
test certificates that would be expiring. Unfortunately, a few were missed:

 * build/pgo/certs/ certificate DBs and mochitest.client are regenerated in a
   different way than the rest of the certificates in bug 1607845. These would
   probably best be addressed by formally documenting the process of
   re-generating all of the certificates.

 * security/manager/ssl/tests/unit/test_certDB_import/ certificates were
   missed by mistake. It's unclear how this happened.

 * security/manager/ssl/tests/unit/test_intermediate_preloads/ were missed
   because there was no test_intermediate_preloads entry in the TEST_DIRS
   section of security/manager/ssl/tests/unit/moz.build, which means that the
   build system never knew to re-generate those certificates, even after
   un-commenting-out the contents of
   security/manager/ssl/tests/unit/test_intermediate_preloads/moz.build

 * security/manager/ssl/tests/unit/test_missing_intermediate/missing-intermediate.der
   was DER, not PEM, and we don't have a way to automatically re-generate DER
   certificates in the same way. However, it didn't even need to be DER.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 21:20:59 +00:00
Brindusan Cristian 73ca873fdb Backed out changeset 3a8a36e50541 (bug 1555356) for reftest failures at pattern-big-image.html. CLOSED TREE 2020-02-13 23:16:11 +02:00
Ricky Stewart 728d4108db Bug 1613263 - Use io.open() rather than open() in mozbuild/preprocessor.py r=firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D61647

--HG--
extra : moz-landing-system : lando
2020-02-13 17:27:53 +00:00
Andrew Osmond 6e53ff1703 Bug 1529260 - Match shader and CPU glyph rasterization logic for glyphs in local space. r=lsalzman
This patch makes the CPU side incorporate the raster scale when
calculating the subpixel position of a glyph. It also makes the shader
side not include the glyph scale factor when recalculating the glyph
position (since it was not known/used when determining the subpixel
position in the first place). This makes the subpixel position stable
when we transition between Screen and Local(raster_scale) spaces.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 20:40:11 +00:00
Masayuki Nakano 12ce2b955c Bug 1588688 - part 7-2: Pick list element handling part of `HTMLEditor::ScanForListAndTableStructure()` up r=m_kato
`HTMLEditor::ScanForListAndTableStructure()` is complicated because it has
2 modes, one is for handling list element, the other is for handling table
element.  This patch splits them as 2 methods.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 02:55:20 +00:00
Mike Conley a135d65169 Bug 1614861 - Make slow startup notification bar sampler use monotonic clock. r=gsvelto
The slow startup notification bar sampler code was using
`Date.now() - Services.startup.getStartupInfo().process`.

`Services.startup.getStartupInfo().process` is a high-resolution timestamp from a
monotonic clock that has been converted to a Date object. Date.now() is a timestamp
from a clock that is _not guaranteed to be monotonic_, so even though they're technically
the same type, Date.now() ultimately has looser guarantees on its stability.

Date.now() can, for example, change if the OS communicates with a clock on a network,
and updates itself - this can move the clock forward or backward. Timezone changes can
also impact Date.now(). These are edge-cases, but users do hit them nonetheless.

This patch switches the sampler to use `Cu.now()`, which is a high-resolution interval
from process start to the current time using a monotonic clock.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 20:33:56 +00:00
Mike Shal e6464dd404 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 20:31:50 +00:00
Luca Greco 05e5b507c9 Bug 1610844 - Submit the xpi install triggering url as part of submitted abuse reports. r=mixedpuppy
This patch adds the "xpi install triggering url" to the data submitted using the Firefox integrated abuse report
(The data review related to the additional `addon_install_source_url` property is attached to the bugzilla issue).

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

--HG--
extra : moz-landing-system : lando
2020-02-13 20:29:22 +00:00
Luca Greco eb3624fc95 Bug 1610844 - Store xpi install triggering url into the addon db when available. r=mixedpuppy
This patch ensures that we store in the addon db the url that has triggered an xpi file to install,
when available (e.g. when the xpi file installation has been triggered from a website using the
installTrigger or mozAddonManager APIs, or when a webpage is navigated to an xpi file url).

The url collected is never sent as part of the addons telemetry events, but in a follow up patch
it is going to be included in the data submitted for an abuse report of the related addon.

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

--HG--
extra : moz-landing-system : lando
2020-02-11 19:52:26 +00:00
Glenn Watson bc6823edf8 Bug 1579235 - Part 2 - Refactor some of the tile map handling code. r=nical,Bert
Simplify some of the logic related to handling multiple
compositor surfaces in future, specifically:

* Only rebuild the tiles map when the tile rect changes.
* Remove need for tiles_to_draw array.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 18:08:16 +00:00
Doug Thayer 6f92e32415 Bug 1613733 - Enable fast shutdown at last cycle collection r=froydnj
I think this is ready. We see no late write checks coming in from this
period in telemetry, and it's early in the cycle, so I think the best
time to enable this is now.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 20:00:55 +00:00
Tomislav Jovanovic 9f1210036d Bug 1493620 - Skip forcing about:blank in windowless browsers for background pages r=rpl,kmag
Differential Revision: https://phabricator.services.mozilla.com/D62568

--HG--
extra : moz-landing-system : lando
2020-02-13 19:20:50 +00:00
Tom Ritter 362986be19 Bug 1599226 - Suppress Hazard Analysis through nsJSPrincipals::isSystemOrAddonPrincipal r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D62771

--HG--
extra : moz-landing-system : lando
2020-02-13 19:10:14 +00:00
Tom Ritter 87c65e049e Bug 1599226 - Change Ion-for-Trusted-Principals into Jits-for-Trusted-Principals r=jandem
Because Tor disables both the Ion Jit and the Baseline Jit, we want
to enable both of them for trusted principals; not just Ion.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 19:09:41 +00:00
Tom Ritter 5f0a267184 Bug 1599226 - Refactor Ion.h/cpp into JitContext.h/cpp r=jandem
We need to move IsBaseLineJitEnabled into BaselineJit.h.
Then we need to include BaselineJit.h from Ion.h.

HOWEVER, lots of things include Ion.h and we create an include
loop with BaselineJit.h. Fortunately; however, the reason lots
of things include Ion.h is to get at the JitContext that's
defined in Ion.h - and it doesn't need to be.

So we move JitContext and a few other things into a separate
header and include that instead of Ion.h

Depends on D61076

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

--HG--
extra : moz-landing-system : lando
2020-02-13 19:08:33 +00:00
Tom Ritter 67489f798f Bug 1599226 - Allow enabling Ion selectively on addon and system principal r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D61076

--HG--
extra : moz-landing-system : lando
2020-02-13 19:07:35 +00:00
Coroiu Cristina f5c5103075 Backed out changeset cb57df7ef0c2 (bug 1607341) for build bustage on a CLOSED TREE 2020-02-13 21:25:43 +02:00
Lina Cambridge cd37e1646e Bug 1607341 - Ensure the bookmarks mirror passes millisecond timestamps for `bookmark-added`. r=LougeniaBailey
The legacy `nsINavBookmarkObserver` notifications use microsecond
timestamps that are rounded to the nearest millisecond, while the
new `bookmark-added` Places event uses milliseconds directly. This
commit fixes that, and also changes the store to use the given
`localTimeSeconds` as the current time, instead of querying the
current system time. This, in turn, lets tests set deterministic
last modified times, which is useful for comparing `lastModified`
timestamps.

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

--HG--
extra : moz-landing-system : lando
2020-02-13 18:54:23 +00:00
caroline 80467b2116 Bug 1609504 - Move function create data to parse info. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D61575

--HG--
extra : moz-landing-system : lando
2020-02-12 04:43:51 +00:00