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
Marco Bonardo e3889e8f7f Bug 1573753 - Copy the urlbar value when pageproxystate is invalid and there's no result. r=adw
When copying from the input field, when the value has already been confirmed
by the user (either by picking a result or Enter), we cannot use the selected
result information, because it has already been cleared by _loadURL setting
the value to the final one.
If the page already finished loading, pageproxystate is valid and we can use
currentURI, but if the page takes a long time to load, or the load is canceled,
we need a fallback, because we don't want to interrupt the copy operation.

In this case, the current value can be either a valid url or a search string.
If it's a valid url, we can just go through the usual URI handling, trying to
make it nicer. After all, we'd do the same just after the page is done loading.
Otherwise, we fallback to the currently selected value.

This works also if the user is still in the process of selecting a result
and tries to copy from the input field, because on result selection we set
either a valid url or a non-url.

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

--HG--
extra : moz-landing-system : lando
2019-10-29 13:32:52 +00:00
.cargo Bug 1586996 - Use upstream winapi instead of froydnj's aarch64 branch. r=glandium 2019-10-23 05:55:49 +00:00
.vscode
accessible Bug 1584283 - Stop using xul:wizard as a root element and migrate consumers to xul:window[role=dialog] with the wizard as the only child r=surkov. On a CLOSED TREE 2019-10-17 21:25:53 +00:00
browser Bug 1573753 - Copy the urlbar value when pageproxystate is invalid and there's no result. r=adw 2019-10-29 13:32:52 +00:00
build Bug 1332689 - Remove clang 3.9 compat code for the clang-plugin. r=andi 2019-10-28 06:55:00 +00:00
caps Bug 1588461 - Added OA StripAttributes flag for privateBrowsingId. r=johannh,ckerschb 2019-10-24 14:18:54 +00:00
chrome Bug 1585156 - Remove useless inclusions of nsIDOMWindow.h and nsIDOMWindowUtils.h r=smaug 2019-09-30 22:06:47 +00:00
config Bug 1579761 - Add missing dependencies on .cargo/config. r=mshal 2019-10-25 23:55:50 +00:00
devtools Bug 1590093 - Lazy load console components. r=Honza. 2019-10-29 10:46:51 +00:00
docshell Bug 1396309, try to make file_fragment_handling_during_load.html less racy, r=peterv 2019-10-28 20:18:24 +00:00
dom Bug 1592226 - Only build 'AbortOrientationPromises' when MOZ_WIDGET_ANDROID is defined r=smaug 2019-10-29 13:08:37 +00:00
editor Bug 1591297 - Fix/remove a couple sanitizer tests now that we don't parse -moz-binding. r=hsivonen 2019-10-29 08:32:06 +00:00
extensions Bug 1591803 - Part 2: Rename nsIPermissionManager.enumerator to all and turn it into an Array; r=johannh 2019-10-29 01:56:25 +00:00
gfx Bug 1589114 [Watland] Set widget EGL window size for WebRender, r=sotaro 2019-10-29 09:00:26 +00:00
gradle/wrapper
hal Bug 1585156 - Remove useless inclusions of nsIDOMWindow.h and nsIDOMWindowUtils.h r=smaug 2019-09-30 22:06:47 +00:00
image Bug 1583044: Make nsMozIconURI serializeable. r=valentin 2019-10-21 14:16:49 +00:00
intl Bug 1591490 - Use the NS_IS_SURROGATE_PAIR macro everywhere. r=Ehsan 2019-10-27 05:05:51 +00:00
ipc Bug 1567209 - CleanupForPid locking r=jld 2019-10-25 05:17:54 +00:00
js Bug 1591711 - Fix incorrect calculation of non-incremental GC trigger r=allstarschh 2019-10-28 21:16:04 +00:00
layout Bug 1591297 - Remove -moz-binding, nsStyleDisplay::mBinding and similar. r=hiro 2019-10-26 11:37:33 +00:00
media Bug 1590984 - Use poll() instead of select() in WebRTC code r=drno 2019-10-28 23:26:12 +00:00
memory Bug 1587066 - Use native abort() for ThreadSanitizer. r=jseward 2019-10-09 14:27:21 +00:00
mfbt Bug 1426865 - Fix formatting of macros in RecordReplay. r=jwalden 2019-10-27 22:34:11 +00:00
mobile Bug 1590779 - Remove social-tracking-protection-digest256 in preferences and GeckoView; r=englehardt,droeh 2019-10-28 21:45:31 +00:00
modules Bug 1591297 - Remove -moz-binding, nsStyleDisplay::mBinding and similar. r=hiro 2019-10-26 11:37:33 +00:00
mozglue Bug 1592120: Add flag to Authenticode::GetBinaryOrgName to skip trust verification and use it in untrusted modules processing; r=mhowell 2019-10-28 21:58:49 +00:00
netwerk Bug 1590447 - Fix FTP hang with RETR/STOR. r=michal 2019-10-25 08:03:14 +00:00
nsprpub Bug 1591887 - NSPR_4_24_BETA1. r=jcj 2019-10-28 18:35:18 +00:00
other-licenses
parser Bug 1585119 - Re-enable yet more mochitests on android; r=geckoview-reviewers,snorp 2019-10-22 20:10:27 +00:00
python Bug 1587079 - disable structured log when using requests.get(...) for Coverity analysis. r=bastien 2019-10-29 09:23:09 +00:00
remote Bug 1591216 - Minor corrections to Remote Agent documentation; r=remote-protocol-reviewers,ato 2019-10-28 10:16:54 +00:00
security No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM 2019-10-28 13:17:59 +00:00
services No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM 2019-10-28 13:17:59 +00:00
servo Bug 1591297 - Remove -moz-binding, nsStyleDisplay::mBinding and similar. r=hiro 2019-10-26 11:37:33 +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 1592072 - [iris firefox] Update Taskcluster to the latest rev in iris_firefox 2019-10-28 20:58:45 +00:00
testing Backed out changeset 79be8382d57a (bug 1587627) for bc failures on browser_all_files_referenced.js . CLOSED TREE 2019-10-29 14:06:44 +02:00
third_party Bug 1590143 - Update encoding_c and encoding_c_mem. r=m_kato 2019-10-24 11:12:33 +00:00
toolkit Backed out changeset 3534c1bfbd8e (bug 1590212) as per Itiel`s request. CLOSED TREE 2019-10-29 14:11:43 +02:00
tools Bug 1563355 - Remove AboutNetErrorSetAutomatic and use RPM in aboutNetError.js to communicate with AboutNetErrorHandler.jsm. r=johannh 2019-10-28 20:38:45 +00:00
uriloader Bug 1589327 - Remove some other various fennec-dependent code. r=snorp,botond 2019-10-18 18:49:49 +00:00
view Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-10-06 18:29:55 +00:00
widget Bug 1591968 - Put window.mozPaintCount behind a default-off pref. r=bzbarsky 2019-10-29 10:25:53 +00:00
xpcom Bug 1583466 - [Linux] Load policies per user from system, r=mkaply,mossop 2019-10-29 08:58:29 +00:00
xpfe/appshell Bug 1580462 - Store iframe's FeaturePolicy in browsingContext to inherit cross origin document. r=baku,farre 2019-10-23 19:39:00 +00:00
.arcconfig
.clang-format
.clang-format-ignore Bug 1570370 - Part 9: Move UnicodeExtensionsGenerated.cpp into LanguageTagGenerated.cpp. r=jwalden 2019-10-11 19:26:33 +00:00
.cron.yml Bug 1590150 - Turn off ESR60 cron jobs. r=tomprince 2019-10-22 21:21:49 +00:00
.eslintignore Backed out 5 changesets (bug 1556854) for mda failures on /test_media_selection.html CLOSED TREE 2019-10-24 13:47:37 +03:00
.eslintrc.js Bug 1556854 - Enable ESLint for dom/media/test/ - Manually enable remaining rules. r=jya 2019-10-24 08:58:37 +00:00
.flake8 Backed out changeset a4ed297ed157 (bug 1520463) for raptor failures complaining about StringIO 2019-10-19 15:02:15 +03:00
.gdbinit
.gdbinit_python
.git-blame-ignore-revs
.gitattributes
.gitignore
.hg-annotate-ignore-revs
.hg-format-source
.hgignore
.hgtags No bug - Tagging mozilla-central 585fe45563356a10a9d53cddfeda2bd699e46dd5 with FIREFOX_BETA_71_BASE a=release DONTBUILD CLOSED TREE 2019-10-14 16:42:11 +00:00
.lldbinit
.mailmap
.prettierignore
.prettierrc
.taskcluster.yml Bug 1580622: Disable python bytecode generation in the decision task; r=nalexander on a CLOSED TREE 2019-10-07 22:48:48 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py
aclocal.m4
AUTHORS
build.gradle Bug 1580356 - Remove Fennec (Firefox for Android). r=snorp,mshal 2019-10-04 20:55:11 +00:00
Cargo.lock Bug 1590143 - Update encoding_c and encoding_c_mem. r=m_kato 2019-10-24 11:12:33 +00:00
Cargo.toml Bug 1584401 - build osclientcerts in-tree on Windows. r=jcj,kjacobs 2019-09-18 10:27:50 -07:00
client.mk
client.py
CLOBBER Bug 1583269 - Part 5: Updating ICU requires a clobber. r=jwalden 2019-10-19 01:40:06 +00:00
configure.in
configure.py
GNUmakefile
gradle.properties
gradlew
gradlew.bat
LEGAL
LICENSE
mach Bug 1581224 - convert mach uuid to be compatible with both python2/3 r=Callek 2019-10-21 16:33:00 +00:00
Makefile.in
moz.build
moz.configure Backed out changeset ed90ca2fb5a8 (bug 1585370) for toolchain bustages. CLOSED TREE 2019-10-12 06:29:06 +03:00
mozilla-config.h.in
old-configure.in Bug 1586739 - Upgrade to SQLite 3.30.1. r=mak 2019-10-15 15:29:31 +00:00
package-lock.json
package.json
README.txt
settings.gradle Bug 1580356 - Remove Fennec (Firefox for Android). r=snorp,mshal 2019-10-04 20:55:11 +00:00
substitute-local-geckoview.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.