Commit Graph
20591 Commits
Author SHA1 Message Date
Michael Comella 45b9e77392 Bug 1403755: Rm code to insert blanks into top sites. r=liuche
This code was being mistakenly activated when getting top sites for Activity
Stream.

This is the first removal of old top sites code and will mean we can't go back
to old top sites by flipping the `ActivityStream.isEnabled` flag. Since we're
planning to ship AS, this shouldn't matter.


MozReview-Commit-ID: 9VB0RqNHmE0
2017-09-28 14:09:48 -07:00
James Willcox 8ade88318b Bug 1405021 - Use web app origin as default scope r=droeh
MozReview-Commit-ID: EwxR6mQITmy
2017-10-02 13:34:54 -05:00
James Willcox 109dde5502 Bug 1400334 - Guard against no theme color in standalone webapp r=nechen
MozReview-Commit-ID: C9LfdSvujS9
2017-10-02 13:24:45 -05:00
Grigory Kruglov a6a51edbc3 Bug 1405430 - Use a brand name instead of hard-coded 'Firefox' r=flod
MozReview-Commit-ID: KfkPdGlw5hV
2017-10-03 14:31:19 -04:00
Michael Comella 12245a2234 Bug 1405404: Add 'de' to list of pocket whitelisted locales. r=liuche
This is used in multi-locale builds, e.g. [1] where all German is "de" but in
[2], we have a separate l10n repo for en-GB.

[1]: https://hg.mozilla.org/releases/l10n/mozilla-beta/de
[2]: https://hg.mozilla.org/releases/l10n/mozilla-beta/en-GB

MozReview-Commit-ID: CXw9aFH9psz
2017-10-03 10:29:49 -07:00
Sebastian Hengst f0d2b77364 Backed out changeset 0bf07287d614 (bug 1405404) for failing android-test. r=backout 2017-10-03 20:18:57 +02:00
Michael Comella 1f31432fbb Bug 1405404: Add 'de' to list of pocket whitelisted locales. r=liuche
This is used in multi-locale builds, e.g. [1] where all German is "de" but in
[2], we have a separate l10n repo for en-GB.

[1]: https://hg.mozilla.org/releases/l10n/mozilla-beta/de
[2]: https://hg.mozilla.org/releases/l10n/mozilla-beta/en-GB

MozReview-Commit-ID: CXw9aFH9psz
2017-10-03 10:29:49 -07:00
Jing-wei Wu d05cfc3d9e Bug 1402882 - Update firstrun welcome image for nightly/beta/release. r=nechen
MozReview-Commit-ID: AzV4Sl8iGc5
2017-10-03 15:18:04 +08:00
Michael Comella ae4d889f67 Bug 1404460: Add test for pocket locale enabling. r=liuche
MozReview-Commit-ID: LHdQuICvVjE
2017-10-02 18:36:41 -07:00
Michael Comella 142347f994 Bug 1404460: Hide Pocket preference if Pocket not available in locale. r=liuche
When changing locales, an open dialog will not refresh but clicking on the
"Top sites" preference again (to display the dialog) will show the correct
dialog for the current locale.

MozReview-Commit-ID: 6UJvDIJZJtc
2017-10-02 17:35:03 -07:00
Michael Comella d6f46d0110 Bug 1404460: Add POCKET_ENABLED_TO_LOCALE to asUserPrefs telemetry. r=liuche
After speaking with liuche, we decided it'd be better to add a bit to determine
this rather than combining it with the isPocketEnabled field (which would be
loss of data) or cross-referencing the locale of the submitted event when
checking the Pocket value during telemetry analysis (which is hard to get right
and likely to get out of date).

MozReview-Commit-ID: JKFrdEsEbyp
2017-10-02 17:01:10 -07:00
Michael Comella cfb27ca682 Bug 1404460: Only show Pocket stories in specified locales. r=liuche
Ideally, we'd centralize all queries as to which options are user specified.
However, I wanted to do the smallest change so we can uplift so I filed
bug 1405161 for this centralization.

I opted not to include the "de" locale that is included on desktop because it
does not appear we ever get the "de" locale on Firefox for Android [1].

I tested this patch by changing the system locale between locales with Pocket
on my device (en-US, en-GB, de-DE) and locales without Pocket (ko-KR). The
locale switching system makes this refresh automatically without extra code.

I also intend to test via the in-app locale switcher but that will take time
because I can't do artifact builds with multi-locale so I'm pushing this for
review before I'm finished.

Follow-up changes:
- Add to telemetry
- Hiding the preference in the undesired locales.
- A test for isPocketEnabledByLocaleInner (useful to document how this is
intended to work for locales with variants, different scripts, etc.)

[1]: https://sql.telemetry.mozilla.org/queries/4613#table

MozReview-Commit-ID: 7AVQ8fWub8I
2017-10-02 15:59:42 -07:00
Wes Kocher 69734038a4 Merge m-c to autoland, a=merge CLOSED TREE
MozReview-Commit-ID: HeJwJwwTzhQ
2017-10-02 16:26:42 -07:00
Wes Kocher faa6e08cb7 Merge inbound to central, a=merge
MozReview-Commit-ID: CvJ9hmTQBcR
2017-10-02 16:22:37 -07:00
James Willcox 85ddcd8eb0 Back out bug 1395841 - Part 2 for breaking PWA shortcut installation r=me
This reverts commit eadc939a6ecf5eaff2a233f7015e814cc76a33ed.

MozReview-Commit-ID: 2V2oF1PC5cf
2017-10-02 14:14:52 -05:00
James Willcox 80a50c5440 Bug 1404478 - For reals send the right CPU ABI in the core ping r=jchen
MozReview-Commit-ID: 9tM8723iqMH
2017-10-02 13:12:43 -05:00
Eugen Sawin 0d5b12c7be Bug 1316934 - [3.1] Add JNI for AudioManager properties. r=snorp 2017-10-02 17:56:17 +02:00
Atanas Minkov 7d646d59e2 Bug 1386990 - "change" event listener no longer required for tracking form input in session store r=JanH
MozReview-Commit-ID: 1MhuLbvInl6
2017-10-01 03:26:58 +03:00
Wes Kocher 39bf51e12f Merge m-c to inbound, a=merge
MozReview-Commit-ID: 9KMX1mdjylD
2017-09-29 14:48:25 -07:00
Kyle Machulis 4dae9895ed Bug 1403795 - Remove nsIDOMHTMLButtonElement; r=bz
Removes the XPCOM interface for nsIDOMHTMLButtonElement, replacing it
with binding class usage.

MozReview-Commit-ID: CzqRb7lI28W
2017-09-29 11:57:19 -07:00
Sebastian Hengst 1445303a01 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 2gWLO0vz64b
2017-09-29 13:30:42 +02:00
Sebastian Hengst da2c9895eb Backed out changeset 13e001aa0253 (bug 1395841) for altering strings without using new string ids. r=backout a=backout
MozReview-Commit-ID: 1kApJcrN9hS
2017-09-29 12:50:16 +02:00
Jing-wei Wu 44ead57786 Bug 1403869 - Update 'about.png' for 57 Nightly. r=nechen
MozReview-Commit-ID: IyFV77oBwRD
2017-09-28 17:23:39 +08:00
Grigory Kruglov e21b3d82b6 Bug 1404124 - Pickle account right after it's created r=eoger
This is a relative of Bug 988605, with an exception that instead of going the whole way
and ensuring pickled data is kept up-to-date as Nick proposed, this patch simply ensures that
we pickle as soon as possible, with a goal of eliminating pickle races. The end goal is to kill
off pickling entirely, and so the assumption here is that this workaround is good enough
in the meantime.

MozReview-Commit-ID: 7IjRH7KE2Z9
2017-09-28 18:44:59 -04:00
Wes Kocher 0b96efb195 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 6RdWW73Lc0A
2017-09-28 17:16:12 -07:00
Wes Kocher 4253ce7dce Merge inbound to m-c a=merge
MozReview-Commit-ID: 7zOjePOWzOM
2017-09-28 16:56:44 -07:00
Jing-wei Wu 0dc0d47033 Bug 1384870 - Show 'Folder updated' in snack bar after editing a bookmark folder. r=nechen
MozReview-Commit-ID: GVRDKvMzop7
2017-09-28 14:57:49 +08:00
Jing-wei Wu e0837ab039 Bug 1403437 - Use MenuUtils#safeSetVisible to hide '.*_add_to_launcher' safely. r=nechen
MozReview-Commit-ID: iraSQCSvPw
2017-09-28 11:27:46 +08:00
Grigory Kruglov 2e6029fa59 Bug 1403787 - Register FxA device with a default client name if we fail to obtain one r=eoger
MozReview-Commit-ID: 85uXkFhMPFG
2017-09-28 17:43:28 -04:00
Jim Chen 6730afafc3 Bug 1385124 - Close tab when new tab redirects to external app; r=sebastian
When a site opens link in a new tab that redirects to an external app,
we should close the new (empty) tab and return to the previous page.

MozReview-Commit-ID: KXWA2d26RBh
2017-09-27 16:47:13 -04:00
Jim Chen 504ef9a3da Bug 1384829 - 4. Add test case to testInputConnection; r=esawin
Add a test case to testInputConnection that makes sure GeckoEditable's
Editable interface still behaves correctly even after disconnecting from
Gecko due to a blur.

MozReview-Commit-ID: 7Z6Kpv2tpRy
2017-09-28 00:14:19 -04:00
Jim Chen 20d621e20c Bug 1384829 - 3. No longer ignore certain exceptions; r=esawin
Bug 817386 added code to ignore IndexOutOfBoundsException when using
GeckoEditable because the code wasn't mature enough back then, and there
were many race conditions. I think the situation is a lot better now, so
we can try removing that code and see if we still need it. We can always
add it back if we do.

MozReview-Commit-ID: 4pirfaUuSNu
2017-09-28 00:14:18 -04:00
Jim Chen efcfdc5ce2 Bug 1384829 - 2. Add more user-friendly debugging output; r=esawin
Translate non-ASCII characters into hex instead of trying to print them
out.

MozReview-Commit-ID: 1aABRy6J1nm
2017-09-28 00:14:18 -04:00
Jim Chen c3b0ea72ac Bug 1384829 - 1. Always perform shadow text actions; r=esawin
We want to always perform actions on the shadow text side even if a
particular GeckoEditable instance is disconnected from Gecko, because
there could be other users of Editable that still expect the object to
perform valid actions.

MozReview-Commit-ID: 48OIEaPZqUE
2017-09-28 00:14:18 -04:00
Hugh Wu ced2b1fd15 Bug 1381747 - Removed browser.display.history.maxresults from mobile.js. r=JanH
MozReview-Commit-ID: EBfNr65hiaR
2017-09-15 18:23:11 -04:00
Jing-wei Wu 053565febb Bug 1395841 - Part 2: Support creating a shortcut from page option in menu. r=nechen
When page option 'add page shortcut' is clicked, creating a shortcut(not PWA) on launcher.
Also make sure that heavy tasks are executed in background thread.

MozReview-Commit-ID: 8KtwdXENtEd
2017-09-28 10:57:48 +08:00
Jing-wei Wu 1910af33a9 Bug 1395841 - Part 1: Change page option strings fom 'add to home screen' to 'add page shortcut'. r=nechen
MozReview-Commit-ID: 9fFN9aYEI3v
2017-09-27 17:31:30 +08:00
Jing-wei Wu 570eb68ecc Bug 1399378 - Update Fennec logo icons for 57 beta/release. r=nechen
MozReview-Commit-ID: CUy4RSuiRnD
2017-09-28 17:08:56 +08:00
Wes Kocher 298f5fe735 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 9qR4QYHAi2x
2017-09-28 17:08:09 -07:00
Jim Chen bb603fedf6 Bug 1258106 - Extend testEventDispatcher timeout; r=me
Extend timeout for testEventDispatcher to 40 seconds and fix a bug where
the wrong mode is used for event callback tests. r=me for trivial
test-only fix.

MozReview-Commit-ID: JiyW8lFW8kg
2017-09-28 18:26:06 -04:00
Eugen Sawin 819117dad6 Bug 1394520 - [3.0] Translate null-URI to "about:blank" for URI loading requests. r=snorp 2017-09-28 22:45:59 +02:00
Eugen Sawin e4ca8fdc98 Bug 1394520 - [2.1] Add support for external URI loading with e10s in GeckoView. r=snorp 2017-09-28 22:45:41 +02:00
Eugen Sawin b732ac6ad1 Bug 1394520 - [1.2] Extend nsIBrowserDOMWindow to support content window creation without URI loading with e10s. r=smaug 2017-09-28 22:45:24 +02:00
Mike Shal 3383b336e3 Bug 1402012 - Update buildconfig.py to use PartialConfigEnvironment; r=glandium
By using the PartialConfigEnvironment, the clients of buildconfig will
depend on config.statusd/ files instead of config.status directly.
Clients can access substs and defines using buildconfig.substs['FOO'] or
buildconfig.defines['BAR'], and then collect file-level dependencies for
make using buildconfig.get_dependencies(). All GENERATED_FILES rules
already make use of this because file_generate.py automatically includes
these dependencies (along with all python modules loaded).

As a result of this commit, re-running configure will no longer cause
the world to be rebuilt. Although config.status is updated, no build
steps use config.status directly and instead depend on values in
config.statusd/, which are written with FileAvoidWrite. Since those
files are not official targets according to the make backend, make won't
try to continually rebuild the backend when those files are out of date.
And since they are FileAvoidWrite, make will only re-run dependent steps
if the actual configure value has changed.

As a result of using JSON to load data from the config.statusd
directory, substs can be unicode (instead of a bare string type).
generate_certdata.py converts the subst manually to a string so the
value can be exported to the environment without issue on Windows.

Additionally, patching the buildconfig.substs dict no longer works, so
the unit-symbolstore.py test was modified to patch the underlying
buildconfig.substs._dict instead.

The other files that needed to be modified make use of all the defines
for the preprocessor. Those that are used during 'mach build' now use
buildconfig.defines['ALLDEFINES'], which maps to a special
FileAvoidWrite file generated for the PartialConfigEnvironment.

MozReview-Commit-ID: 2pJ4s3TVeS8
2017-08-24 22:52:01 -04:00
Grigory Kruglov 7018d4f86f Bug 1404543 - Update copy and default values for 'sync over wi-fi' pref r=nalexander
Switching key name/default value means that we'll drop this pref for some _very_ early
adopters of this feature on the nightly channel, but that's why it's a nightly channel.

MozReview-Commit-ID: KtQmmFFPDPR
2017-10-02 15:25:40 -04:00
Michael Kaply 29efd66cd3 Bug 1401282 - Don't assume the intent has an action. r=snorp
MozReview-Commit-ID: LYayQCljEP4
2017-09-29 16:12:38 -05:00
Jan Henning ad5e3a4d55 Bug 1403693 - Fix IDN conversion during theme installation. r=jwu
MozReview-Commit-ID: 9WshGSu4FQJ
2017-09-27 21:43:57 +02:00
Kyle Machulis 81f5e88ac1 Bug 1402180 - Remove nsIDOMHTMLAreaElement; r=bz
Removes the XPCOM interface for nsIDOMHTMLAreaElement, replacing it
with binding class usage.

MozReview-Commit-ID: IaX4JFTPZn6
2017-09-21 17:52:28 -07:00
Michael Comella be0952a0e2 Bug 1402026: Correct formatting for AS telemetry bulleted lists. r=liuche
Apparently, if you don't have whitespace above the bulleted list, it won't
format as a list.

MozReview-Commit-ID: LiLpSNScBxR
2017-09-27 15:10:02 -07:00
Michael Comella 60a22dd7f9 Bug 1402026: Add interaction extra to AS telemetry. r=liuche
MozReview-Commit-ID: EOr8Z8KRPGq
2017-09-27 15:07:28 -07:00