Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Go to file
Drew Willcoxon ee7630f333 Bug 1524718 - Replace context.autofillValue with result.autofill, and autofill results when they're selected. r=mak
We should replace the context.autofillValue property with a result.autofill property. When the view selects results, it already notifies the input about it by calling input.setValueFromResult(). So we can modify setValueFromResult to check for the presence of result.autofill and thereby get autofill "for free".

result.autofill is an object: { value, selectionStart, selectionEnd }

This is going to help me implement bug 1521702.

One potentially cool thing about doing autofill this way is that any result can now trigger autofill, not only the heuristic result, and do it easily. Of course the user isn't typing when they select a non-heuristic result, so it's probably not fair to call that "autofill", but the result can trigger the selection aspect of autofill. As one example, that might be interesting for search suggestions: Type "foo", key down to the "foobar" suggestion, and the "bar" substring is automatically selected.

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

--HG--
extra : moz-landing-system : lando
2019-02-07 00:30:04 +00:00
.cargo Bug 1525219 - use version of lmdb-sys with fix for Android build issue r=glandium,froydnj 2019-02-06 21:01:19 +00:00
.vscode Bug 1514820 - Recommend a VSCode extension for IDL language highlighting r=jya 2018-12-18 19:43:33 +00:00
accessible Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-02-04 19:10:18 +00:00
browser Bug 1524718 - Replace context.autofillValue with result.autofill, and autofill results when they're selected. r=mak 2019-02-07 00:30:04 +00:00
build Bug 1522609 - Pass compilers and flags down to cargo on sanitizer/fuzzying/ccov builds. r=ted 2019-02-06 03:05:52 +00:00
caps Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8 2019-01-30 17:26:25 +00:00
chrome Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8 2019-01-30 17:26:25 +00:00
config Bug 1512541 - Don't force-include mozilla-config.h in rust-built C/C++ code. r=mshal 2019-02-06 21:02:20 +00:00
db Bug 1523851 - Remove system sqlite compile option tests. r=mak 2019-01-31 09:58:29 +00:00
devtools Bug 1522663 - Stop referencing sourceClient.isBlackboxed. r=loganfsmyth 2019-02-06 05:04:37 +00:00
docshell Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-02-05 18:59:13 +02:00
dom bug 1516956 keep AudioContext alive from AudioWorklet r=baku 2019-01-31 07:16:31 +00:00
editor Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8 2019-01-30 17:26:25 +00:00
embedding Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-01-24 08:11:00 +00:00
extensions Bug 1512990 - Part 4 - remove declarations of Recv/Answer methods from IPDL protocol base class; r=froydnj 2019-02-06 15:58:43 +00:00
gfx Bug 1522714 - Update APZCTreeManager::ComputeTransformForNode() with changes corresponding to the AsyncCompositionManager changes for containerless scrolling. r=kats 2019-02-06 22:10:04 +00:00
gradle/wrapper
hal Bug 1523974 - Map PROCESS_PRIORITY_BACKGROUND_PERCEIVABLE to BELOW_NORMAL_PRIORITY_CLASS on Windows. r=gsvelto 2019-02-04 22:54:05 +00:00
image Bug 1524313 - ImageCacheKey should use the right method to check if a window is 3rd party, r=Ehsan 2019-01-31 17:51:58 +00:00
intl Bug 1522066 - Disable unused ICU code during build. r=froydnj,m_kato 2019-01-31 12:22:10 +00:00
ipc Bug 1512990 - Part 4 - remove declarations of Recv/Answer methods from IPDL protocol base class; r=froydnj 2019-02-06 15:58:43 +00:00
js Bug 1525346 followup. Fix the assertEnteredPolicy failure to reopen the CLOSED TREE. 2019-02-06 15:51:28 -05:00
layout Bug 1523980 Revoke special testpilot permissions r=kmag 2019-02-06 22:21:01 +00:00
media Bug 1510548 - Suppress MSVC warning C4024 for libdav1d. r=cpeterson 2019-02-06 06:19:23 +00:00
memory Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8 2019-01-30 17:26:25 +00:00
mfbt Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-02-04 19:10:18 +00:00
mobile Bug 1523980 Revoke special testpilot permissions r=kmag 2019-02-06 22:21:01 +00:00
modules Bug 1523980 Revoke special testpilot permissions r=kmag 2019-02-06 22:21:01 +00:00
mozglue Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
netwerk Bug 1522786 - Remove unused class member mHasQueryString r=mayhemer 2019-02-06 18:16:59 +00:00
nsprpub
other-licenses Bug 1523118 atk: Implement scrollsubstringto ATK API. r=surkov 2019-01-26 20:38:53 +01:00
parser Merge mozilla-inbound to mozilla-central. a=merge 2019-01-30 23:54:54 +02:00
python Bug 1518175 - Update bootstrap.py for ElementaryOS. r=froydnj 2019-02-06 17:18:04 +00:00
security Bug 1512990 - Part 4 - remove declarations of Recv/Answer methods from IPDL protocol base class; r=froydnj 2019-02-06 15:58:43 +00:00
services No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM 2019-02-04 14:04:25 +00:00
servo Bug 1440384 - Generate combined transform just once. r=boris 2019-02-04 23:14:41 +01:00
startupcache Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
storage Bug 1523851 - Remove system sqlite compile option tests. r=mak 2019-01-31 09:58:29 +00:00
taskcluster Bug 1525703 - remove repetitive debugging line r=aki 2019-02-06 21:01:17 +00:00
testing Bug 1525477 - Remove unreachable block of code in wpt/browser.py r=jgraham 2019-02-06 10:29:45 +00:00
third_party Bug 1525219 - use version of lmdb-sys with fix for Android build issue r=glandium,froydnj 2019-02-06 21:01:19 +00:00
toolkit Bug 1445739 - stop invalidating the startup cache when extensions change, r=kmag 2019-02-07 00:08:25 +00:00
tools Bug 1525409 - Rework the IOMarkerPayload structure to include better information; r=gerald 2019-02-06 14:45:29 +00:00
uriloader Bug 1512990 - Part 4 - remove declarations of Recv/Answer methods from IPDL protocol base class; r=froydnj 2019-02-06 15:58:43 +00:00
view Bug 1503745: Make widgets with empty bounds consistently hide themselves. r=karlt 2019-02-04 06:51:50 +00:00
widget Bug 1485266 - Use stand-ins for native colors when RFP is enabled r=heycam 2019-02-06 08:45:44 +00:00
xpcom Backed out 2 changesets (bug 1492629) for failures in mozJSComponentLoader.cpp 2019-02-06 03:27:24 +02:00
xpfe/appshell Bug 1478124: Part 8b - Update DocShell module to use a static component manifest. r=bzbarsky 2018-12-16 17:27:58 -08:00
.arcconfig
.clang-format Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
.clang-format-ignore Bug 1508115 - Web Authentication - Support Windows Hello r=keeler,jcj,baku 2019-01-21 01:10:44 +00:00
.cron.yml Bug 1514087: [taskgraph] Add an option to not optimize target tasks in cron graphs; r=dustin 2018-12-26 14:43:34 +00:00
.eslintignore Bug 1508985 - Enable ESLint for dom/tests/browser (manual changes) r=Standard8,qdot 2019-01-22 21:26:02 +00:00
.eslintrc.js Bug 1515942 - Enable ESLint for gfx/ (manual fixes). r=kats 2018-12-27 09:45:01 +00:00
.flake8 Bug 1519307 - Add a new project to build useful parts of breakpad independently. r=froydnj 2019-01-11 16:01:15 +00:00
.gdbinit
.gdbinit_python
.git-blame-ignore-revs Merge mozilla-inbound to mozilla-central. a=merge 2019-01-22 05:56:10 +02:00
.gitignore
.hg-annotate-ignore-revs Bug 1508324 - Generate list of past changesets to be skipped for blame. r=me NPOTB DONTBUILD 2018-12-27 18:08:25 -02:00
.hg-format-source
.hgignore
.hgtags No bug - Tagging mozilla-central 5d9c5aa981a5b824e6132c923c2f201b3fa49397 with FIREFOX_NIGHTLY_66_END a=release DONTBUILD CLOSED TREE 2019-01-28 04:56:31 -08:00
.lldbinit
.mailmap
.taskcluster.yml Bug 1524358 - get commit message locally, rather than from task parameters r=tomprince 2019-02-01 23:27:48 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py Bug 1522135 - Make .ycm_extra_conf.py work with python3. r=jgraham 2019-01-24 13:51:28 +01:00
aclocal.m4 Bug 1519603 - Manually inline AC_OUTPUT_SUBDIRS and MOZ_RUN_ALL_SUBCONFIGURES. r=nalexander 2019-01-14 18:37:06 +00:00
AUTHORS
build.gradle Bug 1524529 Update Play Services Cast to 16.0.0 r=VladBaicu 2019-02-04 12:44:13 +00:00
Cargo.lock Bug 1525219 - use version of lmdb-sys with fix for Android build issue r=glandium,froydnj 2019-02-06 21:01:19 +00:00
Cargo.toml Bug 1525219 - use version of lmdb-sys with fix for Android build issue r=glandium,froydnj 2019-02-06 21:01:19 +00:00
client.mk
client.py
CLOBBER
configure.in
configure.py Bug 1520394 - Don't invoke js subconfigure as a separate process. r=nalexander 2019-01-16 23:42:12 +00:00
GNUmakefile
gradle.properties
gradlew
LEGAL
LICENSE
mach
Makefile.in Bug 1507334 - Remove '10' argument to profileserver.py; r=firefox-build-system-reviewers,chmanchester#firefox-build-system-reviewers 2019-01-10 01:34:39 +00:00
moz.build Bug 1507334 - Add mozconfigs for 3-stage PGO; r=firefox-build-system-reviewers,chmanchester#firefox-build-system-reviewers 2019-01-10 01:34:49 +00:00
moz.configure Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-02-05 18:59:13 +02:00
mozilla-config.h.in
old-configure.in Bug 1524461 - Run the clock_gettime(CLOCK_MONOTONIC) configure check on OSX. r=froydnj 2019-02-04 23:26:34 +00:00
package-lock.json Bug 1517707. Update ESLint related modules to latest versions. r=mossop 2019-01-04 16:44:49 +00:00
package.json Bug 1517707. Update ESLint related modules to latest versions. r=mossop 2019-01-04 16:44:49 +00:00
README.txt
settings.gradle
test.mozbuild

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on https://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

Nightly development builds can be downloaded from:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://www.mozilla.org/firefox/channel/desktop/#nightly

Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy.