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
Перейти к файлу
Marco Bonardo c371a80555 Bug 1593964 - part 1 - Stop storing autofilled text in userTypedValue. r=dao
The original fix for Bug 287996 intended to store the url as userTypedValue when
it was confirmed in the UI and about to start loading, but it threw the baby out
with the bathwater. By storing any selection-completed and autofilled value as
userTypedValue, it made impossible to properly return to the typed text.
Currently, if autofill happens, switching back to the tab where it happened
shows the autofilled value instead of what the user typed.
This also makes impossible to reopen the view, because the search string changed.
Because now we properly set userTypedValue in _loadURL, we can remove this old
workaround.
Note though that this breaks selecting a url (without confirmation), switching tab,
then going back to the original tab and expecting the url to be set.
While it's possible to support that case, we think it's more important to go
back to what was typed, and eventually reopen the view. It's also less confusing
for the user, because the shown url has no relation with the currently loaded page.

For similar reasons, blurring the urlbar should restore the user typed value
if we autofilled a value, to avoid overriding the search string with our own.
And because of this, we should not clear the view every time set a value, or we
could clear valid cached results. It's better to do it on an actual input event.

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

--HG--
extra : moz-landing-system : lando
2019-12-03 20:52:15 +00:00
.cargo Bug 1600792 - Fix objc_exception dependency 2019-12-02 22:30:51 +00:00
.vscode Bug 1594520 - Change directory before running mach in .vscode/tasks.json on Windows. r=jya 2019-11-14 10:35:12 +00:00
accessible Bug 1581719: Change QI assertion in AccessibleWrap::GetRemoteIAccessibleFor to a warning. r=MarcoZ 2019-12-02 06:13:55 +00:00
browser Bug 1593964 - part 1 - Stop storing autofilled text in userTypedValue. r=dao 2019-12-03 20:52:15 +00:00
build Bug 1560664 - default to C++17 with optional gnu extensions; r=rstewart 2019-12-03 06:50:13 +00:00
caps Backed out changeset 68ff34ec8e96 (bug 1597704) for causing perma bc3 failures in browser/extensions/formautofill/test/browser/browser_autocomplete_footer.js CLOSED TREE 2019-11-28 16:12:45 +02:00
chrome Bug 1597847 - rename remaining misc xul files: Revert chrome/test/unit/test_bug564667.js back to previous state. a=xpcshell-fix CLOSED TREE 2019-12-03 19:32:41 +01:00
config Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2019-12-02 11:59:11 +00:00
devtools Bug 1595677 - Support dark mode profiler popup in default theme for Win and Mac r=canaltinova 2019-12-03 13:32:12 +00:00
docshell Bug 1598516 - Handle malformed uri load error with an error page. r=kmag 2019-12-03 20:43:24 +00:00
dom Bug 1598516 - Don't crash if NS_NewChannelInternal fails. r=mayhemer 2019-12-03 20:43:33 +00:00
editor Bug 1600362 - Cleanup IntersectionObserver. r=smaug 2019-11-29 20:39:36 +00:00
extensions Backed out 4 changesets (bug 1483631) for failing at browser_temporary_permissions.js on a CLOSED TREE. 2019-12-03 21:57:55 +02:00
gfx Bug 1600539 - Add an API for tagging image descriptors as videos. r=nical 2019-12-03 11:21:16 +00:00
gradle/wrapper Bug 1595926 - Don't use distribution256Sum until Android Studio is fixed. r=snorp 2019-11-14 17:04:32 +00:00
hal Bug 1585156 - Remove useless inclusions of nsIDOMWindow.h and nsIDOMWindowUtils.h r=smaug 2019-09-30 22:06:47 +00:00
image Bug 1600184. Test multipart images that aren't loaded at the toplevel. 2019-11-28 23:09:19 +00:00
intl Bug 1599045 - part 3, Fluent is the status-quo, r=flod 2019-12-03 15:43:45 +00:00
ipc Bug 1470591 - Part 6: Create a fork server process. r=gsvelto 2019-12-03 19:08:10 +00:00
js Bug 1592302: Part 3: Update #includes in new regexp files r=mgaudet 2019-11-15 16:55:17 +00:00
layout Bug 1600855 - Avoid SVG text calling gfxTextRun::GetAdvanceWidth for ranges that cross text frame boundaries. r=longsonr 2019-12-03 06:12:39 +00:00
media Bug 1588233 - P1: Correct the moz-patch for soundtouch. r=padenot 2019-11-26 00:42:34 +00:00
memory Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-11-26 14:35:02 +00:00
mfbt Bug 1590907 - Use a static assert in HashTable that doesn't depend on configure. r=sfink 2019-11-25 21:55:56 +00:00
mobile Bug 1600671 - Improve doc for onLoadRequest. r=droeh 2019-12-03 18:31:26 +00:00
modules Bug 1600855 - Re-enable letter-spacing and word-spacing on SVG text. r=longsonr 2019-12-03 06:13:22 +00:00
mozglue Bug 1420363 - Write crash annotations as JSON r=froydnj,agi 2019-12-02 13:18:35 +00:00
netwerk Bug 1598516 - Add DocumentChannel MOZ_LOGs. r=jya 2019-12-03 20:43:43 +00:00
nsprpub Bug 1591887 - Uplift NSPR 4.24 RTM, only version number changes. r=jcj 2019-12-02 18:27:33 +00:00
other-licenses Bug 1578489 - New Windows installer icon. r=agashlin 2019-09-23 22:00:43 +00:00
parser Bug 1600429 - Add ability to strip conditional CSS rules, only. r=hsivonen 2019-12-03 07:04:50 +00:00
python Bug 1600664 - Download the wasi sysroot during bootstrap for Linux r=firefox-build-system-reviewers,chmanchester 2019-12-03 20:38:35 +00:00
remote Backed out 2 changesets (bug 1600330) for failing at browser_agent.js on a CLOSED TREE. 2019-12-03 21:27:59 +02:00
security Bug 1470591 - Part 2: Provide methods to recreate a delegated forker. r=gsvelto 2019-12-03 19:20:04 +00:00
services Merge autoland to mozilla-central. a=merge 2019-12-02 20:41:12 +02:00
servo Bug 1594241 - Check for border-image-* initial specified values when serializing border shorthand r=emilio 2019-12-03 18:28:32 +00:00
startupcache Bug 1587112 - Make asserts in StartupCache::LoadArchive explicit r=njn 2019-10-22 03:15:18 +00:00
storage Bug 1576593 - P2 - Change the way for tunneling quota information to SQLite; r=janv 2019-10-25 12:02:10 +00:00
taskcluster Bug 1600758 - Add basic ActiveData data to 'mach test-info report'; r=jmaher 2019-12-03 18:56:25 +00:00
testing Backed out 4 changesets (bug 1483631) for failing at browser_temporary_permissions.js on a CLOSED TREE. 2019-12-03 21:57:55 +02:00
third_party Bug 1600792 - Fix objc_exception dependency 2019-12-02 22:30:51 +00:00
toolkit Bug 1598516 - Don't run extension iframes in their own process. r=kmag 2019-12-03 20:44:33 +00:00
tools Bug 1598516 - Make Quitter extension retry sending the quit message in case the background script wasn't ready yet. r=mixedpuppy 2019-12-03 20:44:13 +00:00
uriloader Bug 1600351 - don't release things we don't own, r=barret 2019-11-29 23:15:16 +00:00
view Bug 1597847, rename remaining misc xul files from within /view, /gfx, /extensions, and /testing to .xhtml format r=marionette-reviewers,bgrins,whimboo,gbrown 2019-12-02 19:16:22 +00:00
widget Bug 1595677 - Support dark mode profiler popup in default theme for Win and Mac r=canaltinova 2019-12-03 13:32:12 +00:00
xpcom Bug 1470591 - Part 6: Create a fork server process. r=gsvelto 2019-12-03 19:08:10 +00:00
xpfe/appshell Bug 1600362 - Cleanup IntersectionObserver. r=smaug 2019-11-29 20:39:36 +00:00
.arcconfig
.clang-format
.clang-format-ignore Bug 1592302: Part 1: Import regexp directory from v8 r=mgaudet,mhoye 2019-11-28 18:48:23 +00:00
.cron.yml Bug 1597110 - define in-tree cron job for scheduling action tasks for starting an automatic release. r=mtabara,rail 2019-11-29 15:10:42 +00:00
.eslintignore Bug 1589334 - Enable ESLint for all of devtools/shared (manual changes). r=Standard8,jdescottes,nchevobbe 2019-12-03 08:39:59 +00:00
.eslintrc.js Bug 1597847, rename remaining misc xul files from within /view, /gfx, /extensions, and /testing to .xhtml format r=marionette-reviewers,bgrins,whimboo,gbrown 2019-12-02 19:16:22 +00:00
.flake8 Bug 1583197. Rename 'cold' conditioned profile to 'settled'. r=tarek 2019-11-26 09:06:32 +00:00
.gdbinit
.gdbinit_python Bug 1564314 - Move gdbpp back to python/. r=nalexander 2019-07-11 02:39:31 +00:00
.git-blame-ignore-revs Bug 1572125 - Update .hg-annotate-ignore-revs and .git-blame-ignore-revs to ignore devtools/client/responsive reformatting using Prettier (Bug 1569574) in blame/annotate. r=vporof 2019-08-12 17:27:22 +00:00
.gitattributes Bug 770286: Prevent git LF-to-CRLF autoconversion r=glandium 2019-07-06 02:36:03 +00:00
.gitignore Bug 1588223 - Use many domains in iframes for tabswitch test r=stephendonner,perftest-reviewers,rwood 2019-11-25 18:31:36 +00:00
.hg-annotate-ignore-revs Bug 1572125 - Update .hg-annotate-ignore-revs and .git-blame-ignore-revs to ignore devtools/client/responsive reformatting using Prettier (Bug 1569574) in blame/annotate. r=vporof 2019-08-12 17:27:22 +00:00
.hg-format-source
.hgignore Bug 1588223 - Use many domains in iframes for tabswitch test r=stephendonner,perftest-reviewers,rwood 2019-11-25 18:31:36 +00:00
.hgtags No bug - Tagging mozilla-central 6d3a96d7f2f44e941ef6b61bfa10eed0389b142f with FIREFOX_NIGHTLY_72_END a=release DONTBUILD CLOSED TREE 2019-12-02 11:57:37 +00:00
.lldbinit
.mailmap
.prettierignore Bug 1572332 - Move non-debugger devtools prefs into all.js and firefox.js. r=jdescottes 2019-08-26 01:44:59 +00:00
.prettierrc Bug 1578564 - Workaround a prettier warning so that we can run it on html/xhtml files. r=vporof 2019-09-04 06:59:03 +00:00
.taskcluster.yml Bug 1589706: [firefox-ci] Use AWS Provider-based decision worker; r=Callek 2019-10-24 00:54:12 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py
AUTHORS
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2019-12-02 11:59:11 +00:00
Cargo.lock Bug 1600792 - Fix objc_exception dependency 2019-12-02 22:30:51 +00:00
Cargo.toml Bug 1600792 - Fix objc_exception dependency 2019-12-02 22:30:51 +00:00
GNUmakefile
LEGAL
LICENSE
Makefile.in Bug 1540276: Migrate authenticode signing to autograph r=Callek,mshal 2019-09-30 13:57:32 +00:00
README.txt
aclocal.m4
build.gradle Bug 1580356 - Remove Fennec (Firefox for Android). r=snorp,mshal 2019-10-04 20:55:11 +00:00
client.mk
client.py Bug 1559975 - fix python2 and python3 linter errors for client.py r=ahal 2019-09-11 21:06:34 +00:00
configure.in
configure.py Bug 1593948 - Touch clobber in configure.py instead of clobber.py; r=firefox-build-system-reviewers,chmanchester 2019-11-19 21:49:13 +00:00
gradle.properties Bug 1577814 - Increase Gradle heap size. r=nalexander 2019-08-30 17:13:46 +00:00
gradlew
gradlew.bat
mach Bug 1598839 - run mach environment with python3 r=ahal 2019-11-25 18:27:28 +00:00
moz.build Bug 1591538 - Don't include taskcluster stuff in SM tarball; r=sfink 2019-11-18 08:47:00 +00:00
moz.configure Bug 1470591 - Part 6: Create a fork server process. r=gsvelto 2019-12-03 19:08:10 +00:00
mozilla-config.h.in
old-configure.in Bug 1591887 - Uplift NSPR 4.24 RTM, only version number changes. r=jcj 2019-12-02 18:27:33 +00:00
package-lock.json Bug 1540982 - Upgrade to ESLint 6.2.2 and switch to ECMA version 11 (BigInt support, Dynamic imports). r=mossop 2019-08-27 14:51:29 +00:00
package.json Bug 1540982 - Upgrade to ESLint 6.2.2 and switch to ECMA version 11 (BigInt support, Dynamic imports). r=mossop 2019-08-27 14:51:29 +00:00
settings.gradle Bug 1598010 - Move examples into mozilla-central r=agi 2019-11-22 13:30:57 +00:00
substitute-local-geckoview.gradle Bug 1533465 - Add Gradle script for substituting local GeckoView into downstream consumers. r=sebastian 2019-08-15 21:18:24 +00:00
test.mozbuild

README.txt

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.