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

628620 Коммитов

Автор SHA1 Сообщение Дата
Neil Deakin 0e5b436454 Bug 1513332, add some null-pointer checks on elements in XULListboxAccessible, r=marcoz 2018-12-17 20:02:11 -05:00
Makoto Kato 631a33d252 Bug 1497682 - Part 3. Add junit test. r=droeh
Summary:
Add autofill hint test if using Android 8+.

Depends on D12881

Reviewers: droeh

Reviewed By: droeh

Bug #: 1497682

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

--HG--
extra : rebase_source : c4458b62d48434fe9d19f8ded04f2bc2666647ff
extra : histedit_source : 5ff01309b49965ff008e431059368ca0f05d56e6
2018-12-18 18:05:36 +09:00
Makoto Kato e305b5ca33 Bug 1497682 - Part 2. Don't set inputType to all <input type=text>. r=droeh
Summary:
LastPass will fill password to all input elements which InputType is
TYPE_CALSS_TEXT and TYPE_TEXT_VARIATION_WEB_EDIT_TEXT and has no AutofillHint.
And it will fill username when InputType and AutofillHint is nothing in
<input type="text">.

Actually, current implementation of GeckoView sets InputType only for
<input type="text">, so LastPass fills password to all <input type="text">

So as workaround, we should set InputType and AutofillHint when input element
presumes username fields.

Depends on D12880

Reviewers: droeh

Reviewed By: droeh

Bug #: 1497682

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

--HG--
extra : rebase_source : b5ab3deadf0dd67bbdb1aa7e7656fe677c6670c4
2018-12-18 17:20:10 +09:00
Makoto Kato cfca5fc60d Bug 1497682 - Part 1. Add API to recognize username field and password field from a field in form. r=MattN
Summary:
I would like to get username fields etc from form or input element in form.

Since LoginManagerContent._getFormFields has "_" prefix (it means private
member) and LoginManagerCotnent.getFieldContext doesn't return elements,
I would like to add simple API for it.

Reviewers: MattN

Bug #: 1497682

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

--HG--
rename : toolkit/components/passwordmgr/test/unit/test_getFormFields.js => toolkit/components/passwordmgr/test/unit/test_getUserNameAndPasswordFields.js
extra : rebase_source : b4a354231b85371144ccc0fff76f948ae0d09278
2018-12-17 13:29:47 +09:00
Brindusan Cristian 5b64326d97 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-12-18 11:54:05 +02:00
Brindusan Cristian 13788edbab Merge inbound to mozilla-central. a=merge 2018-12-18 11:50:37 +02:00
Andrea Marchesini 975c1db894 Bug 1512047 - Deprecate AddSearchProvider, r=mkaply 2018-12-18 08:56:19 +01:00
Jon Coppeard c1891f84d7 Bug 1514520 - Gray unmarking shouldn't check whether barriers are enable as it can be called from within the GC r=sfink 2018-12-18 07:14:56 +00:00
Jon Coppeard bf16d881ed Bug 1514704 - Attribute initial gray marking time to correct stats phase r=sfink 2018-12-18 07:13:59 +00:00
Henri Sivonen 9405805403 Bug 1514728 - Fix bogus subspanning when sniffing a local file with more than 4 MB of ASCII. r=emk. 2018-12-18 08:45:29 +02:00
Nick Alexander f138f58d97 Bug 1498406 - Part 3: Purge unused ANDROID_BUILD_TOOLS_VERSION. r=froydnj
We don't care anymore: the Gradle build fetches an appropriate version
of the build-tools package, and the one build-tool we actually use --
zipalign -- isn't version sensitive.

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

--HG--
extra : moz-landing-system : lando
2018-12-18 03:28:56 +00:00
Nick Alexander 47d6187d14 Bug 1498406 - Part 2: Don't check for Android platform in configure. r=froydnj
There's no need -- it will be fetched by Gradle when needed.  The only
wrinkle is that the user might be asked to confirm license agreements,
which could be a hassle (and could cause problems in CI, but there we
install relevant platforms in advance).

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

--HG--
extra : moz-landing-system : lando
2018-12-18 03:29:16 +00:00
Nick Alexander a79bace97e Bug 1498406 - Part 1: Don't check for javac, javah, jar. r=froydnj
The build system no longer invokes these directly: they're all fetched
and invoked by Gradle and its plugins.

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

--HG--
extra : moz-landing-system : lando
2018-12-17 23:04:14 +00:00
WR Updater Bot c96d792515 Bug 1514944 - Update webrender to commit b0e4a13491f9f780222d3aa374fa8f0c07508e73 (WR PR #3426). r=kats
https://github.com/servo/webrender/pull/3426

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

--HG--
extra : moz-landing-system : lando
2018-12-18 01:37:05 +00:00
WR Updater Bot ed308cbc4b Bug 1514943 - Update webrender to commit 82286fdca3d27ef31640667de7b81e82be1555e2 (WR PR #3427). r=kats
https://github.com/servo/webrender/pull/3427

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

--HG--
extra : moz-landing-system : lando
2018-12-18 01:35:18 +00:00
WR Updater Bot 0000d47534 Bug 1514735 - Update webrender to commit 4de718f9ea3435c099cabafc02e8b51da539bc62 (WR PR #3428). r=kats
https://github.com/servo/webrender/pull/3428

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

--HG--
extra : moz-landing-system : lando
2018-12-18 01:32:52 +00:00
Blake Kaplan b7296f0f06 Bug 1514844 - Remove the per-process notification cache. r=asuth
This assumes that all of the notifications for a given origin must be in the
same process. With this patch, we'll always go back to the parent process to
get the notifications. Up next is limiting our search in the parent process to
only the notifications we're looking for.

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

--HG--
extra : moz-landing-system : lando
2018-12-17 22:18:59 +00:00
Blake Kaplan e131893a41 Bug 1514844 - Fix notification events in service workers. r=asuth
The current code assumes that it can get the ServiceWorkerManager in the child
process to send a message to the proper service worker. That isn't true, we
need to ask the parent to do it for us.

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

--HG--
extra : moz-landing-system : lando
2018-12-18 00:42:53 +00:00
Ricky Rosario 1371950808 Bug 1514352 - Add "hidden focus" functionality to URLbar r=adw
Adds hiddenFocus() and removeHiddenFocus() methods and some CSS selector tweaking to enable focusing without visible changes.

MozReview-Commit-ID: Dq66TET4AVR

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

--HG--
extra : moz-landing-system : lando
2018-12-18 00:38:21 +00:00
Barret Rennie b3a3c41e3b Bug 1514393 - Correct formatting in nsJPEGEncoder.cpp r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D14771

--HG--
extra : moz-landing-system : lando
2018-12-17 23:50:23 +00:00
Kartikaya Gupta 9b1aa15d7e Bug 1514818 - Guard against sending UpdateZoomConstraints if the IPC channel is not open. r=botond
This might just push the crash to one of the other methods. If it does,
that will confirm that this is the right thing to be guarding against,
and we can extend the guard to any other methods that need it. If the
crash goes away entirely, that's good too and might be because
UpdateZoomConstraints is somehow "special" (it has been found to be
special in the past because at one point it was the first IPDL message
to get sent over some channel).

Depends on D14787

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

--HG--
extra : moz-landing-system : lando
2018-12-17 23:44:16 +00:00
Kartikaya Gupta eb3a6ab710 Bug 1514818 - Introduce the mIPCOpen boilerplate to APZCTreeManagerChild. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D14787

--HG--
extra : moz-landing-system : lando
2018-12-17 23:44:14 +00:00
Lina Cambridge d46281dce9 Bug 1514909 - Update the last sync time from X-L-M instead of X-W-T after a batch upload. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D14806

--HG--
extra : moz-landing-system : lando
2018-12-17 23:34:04 +00:00
Jim Blandy 689eea27da Bug 1510768: Move SpiderMonkey promise interface into its own header. r=arai
Move js/src/jsapi.h declarations related to promises and job queues into their
own public header file, js/public/Promise.h. Change the compilation units that
need these declarations to #include the new header.

There should be no changes to the actual functionality here, simply moving the
code to a new file, and removing the "JS" prefix from some typedefs which are
now in the JS namespace.

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

--HG--
extra : moz-landing-system : lando
2018-12-17 23:21:04 +00:00
Dennis Schubert 3a160e5189 Bug 1487401 - Remove mobile UA override for eBay. r=twisniewski,kmag,miketaylr
Differential Revision: https://phabricator.services.mozilla.com/D14717

--HG--
extra : moz-landing-system : lando
2018-12-17 21:38:49 +00:00
Agi Sferro e75266a619 Bug 1502118 - Enforce GV lints with apilint. r=snorp
This makes it so that apilints lints with "GV" codes are enforced and will fail
the build.

Depends on D13882

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

--HG--
extra : moz-landing-system : lando
2018-12-17 22:32:11 +00:00
Agi Sferro ba1aba5810 Bug 1502118 - Make FinderResult non-final for testing. r=snorp,esawin
This allows mocking for embedders.

Depends on D13881

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

--HG--
extra : moz-landing-system : lando
2018-12-17 22:31:59 +00:00
Agi Sferro e03913bdda Bug 1502118 - Add threading annotations to remaining APIs. r=snorp
Depends on D13880

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

--HG--
extra : moz-landing-system : lando
2018-12-17 22:31:46 +00:00
Agi Sferro 4e6222e74d Bug 1502118 - Add @UiThread to all Delegate interfaces. r=snorp,esawin
Differential Revision: https://phabricator.services.mozilla.com/D13880

--HG--
extra : moz-landing-system : lando
2018-12-17 22:31:29 +00:00
Hiroyuki Ikezoe f0fe14fe8d Bug 1514679 - Drop `aFirstPass` from ReflowScrolledFrame. r=botond
It hasn't been used since bug 300030.

Depends on D14715

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

--HG--
extra : moz-landing-system : lando
2018-12-17 21:54:41 +00:00
Hiroyuki Ikezoe d864a9f8f1 Bug 1514679 - Move vScrollbarActualWidth inside the if block where the value is used. r=botond
Depends on D14714

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

--HG--
extra : moz-landing-system : lando
2018-12-17 21:54:24 +00:00
Hiroyuki Ikezoe 0a0f595df0 Bug 1514679 - Use layers::ScrollDirection instead of boolean. r=botond
Depends on D14713

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

--HG--
extra : moz-landing-system : lando
2018-12-17 21:54:11 +00:00
Hiroyuki Ikezoe f46451eef5 Bug 1514679 - Drop `aVertical` from GetScrollbarMetrics. r=botond
The argument has never been used since the function the function was introduced
in bug 240276.

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

--HG--
extra : moz-landing-system : lando
2018-12-17 21:53:59 +00:00
Edouard Oger 37b79a2c14 Bug 1513781 - Use cached keys in FxA commands registration. r=vladikoff,rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D14782

--HG--
extra : moz-landing-system : lando
2018-12-17 21:44:42 +00:00
Tooru Fujisawa dc7c5aedef Bug 1513450 - Do not ignore .rej/.orig files. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D14286

--HG--
extra : moz-landing-system : lando
2018-12-17 21:41:01 +00:00
Emilio Cobos Álvarez 63179c8b0f Bug 1514449 - Use NonNegative more in the border code. r=boris,#style
This ended up not being so small of a patch as I'd have thought, since it
propagated a bit. But most of it is mechanical. Interesting part is
NonNegativeNumberOrPercentage and the actual uses of the NonNegative stuff and
during parsing.

This looks like it'd fix a few correctness issues during interpolation for all
the types except for BorderRadius and co (which handled it manually).

I should write tests for those in a different patch.

Depends on D14672

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

--HG--
extra : moz-landing-system : lando
2018-12-17 21:35:14 +00:00
Emilio Cobos Álvarez d9fc919cd1 Bug 1514449 - Cleanup some conversion code dealing with NonNegative. r=boris,xidorn,#style
I'm about to introduce another use of it and I don't want to repeat the same
copy-pasta again.

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

--HG--
extra : moz-landing-system : lando
2018-12-16 09:13:49 +00:00
Julian Descottes e046e9a177 Bug 1502346 - Retrieve ::slotted rules in InspectorUtils getCSSStyleRules;r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D14759

--HG--
extra : moz-landing-system : lando
2018-12-17 21:33:40 +00:00
Mike Conley 677e974dac Bug 1503796 - Add a regression test to ensure that the initial process type is set correctly. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D14757

--HG--
extra : moz-landing-system : lando
2018-12-17 21:20:49 +00:00
Mike Conley 351f5497f6 Bug 1503796 - Convert XPCOM arrays and strings from nsBrowserContentHandler to JS arrays and strings earlier when opening browser windows. r=Gijs
This also makes it so that the initial browser tab setup code can handle a JS array
as the URI(s) to load during start-up. If it's an array, the first element of that
array is inspected to determine what process type the initial browser tab should
be in.

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

--HG--
extra : moz-landing-system : lando
2018-12-17 21:21:57 +00:00
Daosheng Mu f059c66d62 Bug 1496615 - Part 4: Make OpenVR use action-based input API. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D14635

--HG--
extra : moz-landing-system : lando
2018-12-17 20:46:40 +00:00
Daosheng Mu 460045ce38 Bug 1496615 - Part 3: Enable OpenVR action input in Nightly. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D14634

--HG--
extra : moz-landing-system : lando
2018-12-17 20:41:17 +00:00
Daosheng Mu 533d248449 Bug 1496615 - Part 2: Add controller action binding files. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D14633

--HG--
extra : moz-landing-system : lando
2018-12-17 20:38:09 +00:00
Daosheng Mu 35f06c3565 Bug 1496615 - Part 1: update openvr to 1.0.17. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D14631

--HG--
extra : moz-landing-system : lando
2018-12-17 20:36:28 +00:00
Chris Manchester 52a8c0a4ed Bug 1514402 - Don't use clang with android rt libs for regular android builds. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D14641

--HG--
extra : moz-landing-system : lando
2018-12-17 20:49:44 +00:00
Kris Maglione 778252994f Bug 1513366: Part 5 - Migrate extension process script to a JSM. r=aswan
This simplifies things all around, and gets rid of one more unnecessary
component registration.

--HG--
rename : toolkit/components/extensions/extension-process-script.js => toolkit/components/extensions/ExtensionProcessScript.jsm
extra : rebase_source : 7ceb6ada0730f8241bbd5ddbd889a320da22b1b1
2018-12-12 17:58:19 -08:00
Chris H-C c50e366300 bug 1512503 - Instrument about:telemetry for pageloads r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D14266

--HG--
extra : moz-landing-system : lando
2018-12-12 17:02:36 +00:00
Jean-Yves Avenard 25657ee569 Bug 1513511 - P2. Ensure all frames are decoded. r=bryce
vp9 streams contains superframes. Ensure they are all properly handled.

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

--HG--
extra : moz-landing-system : lando
2018-12-17 20:30:46 +00:00
Jean-Yves Avenard 0855e7a7da Bug 1513511 - P1. Use new FFmpeg decode API with recent FFmpeg version. r=bryce
In libavcodec 58 and later, the old avcodec_decode_video2 is broken and only return the first visible frame found after a VP9 super-frame.

This resulted in some YouTube videos for about 10% of the frames to never be returned.

Only the new API properly behaves so we upgrade our code to use it.

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

--HG--
extra : moz-landing-system : lando
2018-12-17 17:29:13 +00:00
Logan Smyth f6b29a07c4 Bug 1510463 - Allow adding breakpoints without pausing. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D13737

--HG--
extra : moz-landing-system : lando
2018-12-17 19:20:05 +00:00