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
Перейти к файлу
Michael Comella 034b23ff41 Bug 1173147 - Explicitly show Android chooser when there is more than one intent URI match in pb. r=sebastian
After this changeset series, the expected flow for web links is:
  * If not pb, open the Intent URI
  * If pb and no matching applications, open about:neterror
  * If pb and one matching application, show this dialog
  * If pb and > 1 matching application, show the Android system chooser

When the user explicitly chooses to share (and thus should infer they're
exiting Private Browsing), we don't show the dialog.

Custom URIs sort of work: I tested `mailto` and it worked as expected but `tel`
does not work as expected (i.e. it doesn't show the dialog). Perhaps there's an
explicit "Open dialer" code path. To figure this out, I tested this patch
against my Intent URI test page [1].

Decisions around explicitly showing the Android chooser:
When there are multiple application matches to an Intent URI, we
want to show the Android Intent Chooser. However, we have no way
of distinguishing regular tabs from private tabs to the chooser.
Thus, if a user chooses "Always" in regular browsing mode, the
chooser will not be shown and the URL will be opened. Therefore we
explicitly show the chooser (which notably does not have an "Always"
option).

[1]: https://people.mozilla.org/~mcomella/test/uri.html

--HG--
extra : commitid : 1cCVQe5jmNx
extra : rebase_source : 146766c2ac5cf8814288377453253debc2ff3f8a
2015-09-23 14:48:28 -07:00
accessible Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
addon-sdk Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE 2015-10-07 14:03:21 +02:00
b2g Bug 1132452 - Remove useless JS files from FxOS simulator addon. r=jryans 2015-10-08 07:17:43 -07:00
browser Bug 1212171 - Change for referencing a different object Component.utils. instead of Cu. r=mak 2015-10-08 06:53:00 +02:00
build Bug 1207194 - Temporarily hardcode targetSdkVersion to 22 in AndroidManifest.xml. r=nalexander 2015-10-08 17:57:48 +02:00
caps Merge b2ginbound to central, a=merge 2015-10-07 11:04:26 -07:00
chrome Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
config Bug 957911 - Remove config/configobj.py. r=gps 2015-10-08 17:13:41 +09:00
db/sqlite3 Bug 1209875 - Get rid of XULPPFLAGS. r=gps 2015-10-01 07:30:48 +09:00
devtools Bug 1157789 - Add a test for the Inspector's collapse/expandAll context menu items. r=janx 2015-10-07 11:33:00 +02:00
docshell Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
dom Merge m-c to fx-team 2015-10-08 16:11:56 +02:00
editor Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
embedding Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
extensions Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
gfx Backed out changeset bfb9436756a0 (bug 1207245) so I can merge inbound a=backout 2015-10-07 10:19:43 -07:00
hal Backed out changeset 1f51d1614b9a (bug 1207245) 2015-10-07 10:19:31 -07:00
image Backed out changeset 1f51d1614b9a (bug 1207245) 2015-10-07 10:19:31 -07:00
intl Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
ipc Backed out changeset 1f51d1614b9a (bug 1207245) 2015-10-07 10:19:31 -07:00
js Backed out changeset 1f51d1614b9a (bug 1207245) 2015-10-07 10:19:31 -07:00
layout Merge b2ginbound to central, a=merge 2015-10-07 11:04:26 -07:00
media Backed out changeset 1f51d1614b9a (bug 1207245) 2015-10-07 10:19:31 -07:00
memory Backed out changeset 1f51d1614b9a (bug 1207245) 2015-10-07 10:19:31 -07:00
mfbt Backed out changeset 1f51d1614b9a (bug 1207245) 2015-10-07 10:19:31 -07:00
mobile Bug 1173147 - Explicitly show Android chooser when there is more than one intent URI match in pb. r=sebastian 2015-09-23 14:48:28 -07:00
modules Bug 1210033 - Add on-screen keyboard diagnostic information to about:support. r=masayuki r=felipe 2015-10-08 11:51:47 -04:00
mozglue Backed out changeset 1f51d1614b9a (bug 1207245) 2015-10-07 10:19:31 -07:00
netwerk Backed out changeset 1f51d1614b9a (bug 1207245) 2015-10-07 10:19:31 -07:00
nsprpub Bug 1191269, set NSPR version to final tag, no code change, DONTBUILD 2015-08-19 18:05:33 +02:00
other-licenses bug 1198226 - Move HOST_{C,CXX}FLAGS to moz.build HOST_{CFLAGS,CXXFLAGS,DEFINES}. r=mshal 2015-09-08 11:35:43 -04:00
parser Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
probes Bug 1041795 - Disable system libs when generating DTrace probes. f=sfink f=ginn.chen 2014-11-04 02:01:00 +01:00
python Bustage fix for bug 1210687 on a CLOSED TREE. r=me 2015-10-08 17:28:36 +09:00
rdf Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
security Backed out changeset 1f51d1614b9a (bug 1207245) 2015-10-07 10:19:31 -07:00
services Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE 2015-10-07 14:03:21 +02:00
startupcache Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
storage Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
testing merge mozilla-inbound to mozilla-central a=merge 2015-10-08 15:26:54 +02:00
toolkit Bug 1210033 - Add on-screen keyboard diagnostic information to about:support. r=masayuki r=felipe 2015-10-08 11:51:47 -04:00
tools Backed out changeset 1f51d1614b9a (bug 1207245) 2015-10-07 10:19:31 -07:00
uriloader Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
view Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
webapprt Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE 2015-10-07 14:03:21 +02:00
widget Bug 1210033 - Add on-screen keyboard diagnostic information to about:support. r=masayuki r=felipe 2015-10-08 11:51:47 -04:00
xpcom Backed out changeset 1f51d1614b9a (bug 1207245) 2015-10-07 10:19:31 -07:00
xpfe Backed out changeset 91d4539e00ce (bug 1207245) 2015-10-07 10:19:19 -07:00
xulrunner Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
.clang-format Bug 961541 - Make Clang-Format ignore all comments. r=mystor 2015-06-26 12:38:44 -07:00
.clang-format-ignore
.eslintrc Bug 1203520 - We need a DevTools ESLint plugin containing our ruleset r=gps 2015-09-30 14:44:48 +01:00
.gdbinit Backed out changeset 047d21f101de (bug 846018) 2014-11-13 17:11:25 -05:00
.gitignore Bug 1203520 - We need a DevTools ESLint plugin containing our ruleset r=gps 2015-09-30 14:44:48 +01:00
.hgignore Bug 1203520 - We need a DevTools ESLint plugin containing our ruleset r=gps 2015-09-30 14:44:48 +01:00
.hgtags No bug - Tagging mozilla-central fcef8ded82219c89298b4e376cfbdfba79a1d35a with FIREFOX_AURORA_43_BASE a=release DONTBUILD CLOSED TREE 2015-09-21 10:11:56 -04:00
.lldbinit
.ycm_extra_conf.py Bug 1162714 - Don't let YCM generate machc. r=ehsan 2015-05-07 13:48:00 +02:00
AUTHORS Bug 992096 - Implement Sub Resource Integrity [1/2]. r=baku,r=ckerschb 2015-08-12 20:19:11 -07:00
Android.mk
CLOBBER Bug 1212764 - "Clobber needed for bug 957911" r+a=me on a CLOSED TREE 2015-10-08 01:49:00 +02:00
GNUmakefile Bug 794723 - Add a default makefile which wraps mach. r=gps 2015-02-06 10:26:00 -08:00
LEGAL
LICENSE
Makefile.in Bug 1209403 - Build xpidl stuff in the faster make backend. r=gps 2015-09-30 11:51:49 +09:00
README.txt No bug, Update README.txt for ftp changes, r=bustage-check CLOSED TREE 2015-08-30 21:53:27 +12:00
aclocal.m4 Bug 1205012 - Allow rust source code in SpiderMonkey; r=mshal 2015-09-18 13:55:29 -07:00
client.mk Fixup for bug 1188766 for valgrind bustage on a CLOSED TREE. r=me 2015-08-11 07:45:36 +09:00
client.py
configure.in merge mozilla-inbound to mozilla-central a=merge 2015-10-06 12:01:35 +02:00
mach Bug 1058923 - Package mach in tests.zip; create bootstrap script for test package, r=gps 2015-05-01 12:20:55 -04:00
moz.build Bug 1134110 - other-license/android is unnecessary if Android minimum version is 11 or later. f=esawin, r=sworkman 2015-05-14 15:38:18 +09:00
mozilla-config.h.in Bug 1167474 - Remove ELFHACK_BUILD hack. r=mshal 2015-05-26 16:17:55 +09:00

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:

    http://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:

    http://developer.mozilla.org/en/docs/Creating_a_patch
    http://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 http://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.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    http://nightly.mozilla.org/