Граф коммитов

20377 Коммитов

Автор SHA1 Сообщение Дата
Jim Chen fcea6181e7 Bug 1272557 - Delay initializing PushService and DLC; r=snorp
Delay initialization of PushService and DLC in GeckoApplication to after
the Gecko:Ready message. That way, hopefully they give up some CPU time
to other initialization tasks.
2016-05-27 14:29:46 -04:00
Jim Chen 2772cc3e2b Bug 1275371 - Add test for shift+backspace; r=esawin 2016-05-27 14:29:15 -04:00
Ryan VanderMeulen dd7d068db8 Backed out changeset 7323e625d203 (bug 1238128) for various test failures on a CLOSED TREE. 2016-05-26 21:38:35 -04:00
Boris Zbarsky 98aa24ddc7 Bug 1275704 part 3. Remove the nsXPConnect::ReportAllJSExceptions mechanism, since it's dead code now. r=bholley 2016-05-26 19:39:03 -04:00
Thom Chiovoloni 2ac6c74c3a Bug 1238128 - Ensure that the details passed to WebChannelMessageToChrome is a string, with a whitelist for messages from existing users r=Margaret,markh,MattN
MozReview-Commit-ID: DpdJ5bUcBdQ

--HG--
extra : rebase_source : 69753093e4e7506572329a50ee1be73d2ba4285d
2016-05-06 12:23:42 -04:00
Chris Manchester 44e4ff1fb6 Bug 1275721 - Remove --enable-android-resource-constrained. r=mshal
MozReview-Commit-ID: DqL0KCkbj9r

--HG--
extra : rebase_source : 18ed93ef68ecdfbd85fb4c13c39283932c38290c
2016-05-26 11:13:58 -07:00
Michael Comella 10648eb845 Bug 1271000 - Add explanation of potential test failures in TestClientsEngineStage. r=sebastian
MozReview-Commit-ID: 98KOJvB3IXC

--HG--
extra : rebase_source : abecf108e663c0cce5aa443509e99ad04fd93b3f
2016-05-25 11:03:55 -07:00
Sebastian Hengst 5a4685ed2f Backed out changeset a38fb5ad3684 (bug 1247047) 2016-05-25 18:31:55 +02:00
Sebastian Hengst b83d99d00b Backed out changeset fac238070399 (bug 1247047) 2016-05-25 18:31:48 +02:00
Sebastian Hengst 66a50c6061 Backed out changeset bbd294728ecc (bug 1247047) 2016-05-25 18:31:40 +02:00
Sebastian Kaspari 8cb678bf6b Bug 1247047 - Update releng manifests to use new SDK. r=ahunt
MozReview-Commit-ID: D3cbfRAhe5l

--HG--
extra : rebase_source : a8bbe3b8bbc38279bc9e65f1345bb4bbf3539bc5
2016-05-23 20:55:41 +02:00
Sebastian Kaspari abdc8c2da2 Bug 1247047 - Remove play-services-{analytics,appindexing}, no longer required by play-services-ads 8.4.0. r=ahunt
MozReview-Commit-ID: KowZ2gjzs8a

--HG--
extra : rebase_source : 40a9a4309891063b3ca9b4b2e89133d051d6563e
2016-05-23 17:56:05 +02:00
Sebastian Kaspari 164ed8d6be Bug 1247047 - Add play-services-measurement, required by play-services-gcm 8.4.0. r=ahunt
MozReview-Commit-ID: 4T65x2u3LmZ

--HG--
extra : rebase_source : 76665608e6d884538977e4ca1261e36a9fc5540e
2016-05-23 17:51:27 +02:00
Carsten "Tomcat" Book de96ed94a7 Merge mozilla-central to fx-team 2016-05-25 15:21:01 +02:00
Carsten "Tomcat" Book c715836c7f merge mozilla-inbound to mozilla-central a=merge 2016-05-25 15:04:00 +02:00
Jan Henning 88f8f117d7 Bug 1274390 - Include isPrivate and desktopMode in the session store data used for initialising new tabs. r=sebastian
Restoring a tab from the Recent Tabs panel, which goes via the session store's _restoreTabs() function and ultimately via BrowserApp.addTab() and a Tab:Added message back to the Java UI requires the value for isPrivate to be present in the session store data for the respective tab - if it isn't, we end up sending isPrivate as "undefined", which breaks the process of adding the new tab in our UI.

When the session store collects the full tab data for a browser, it always includes the values for isPrivate and desktopMode, therefore we now include those values in the basic session store data we use in initialising a new tab object, too.

MozReview-Commit-ID: 5BZ9PL7xDWA

--HG--
extra : transplant_source : %01%8B%E7%1Asg%FF%D8%DC%07%21Ly%F4%9A9Q%B9%00O
2016-05-21 19:41:07 +02:00
Bhavin Dave 1dd6ff80f3 Bug 893836 - Update Android menu contents to sentence case. r=margaret 2016-05-23 09:20:00 -04:00
Andrzej Hunt 82b51acd43 Bug 1246159 - Add histogram probe for disk space used by reader view cache r=mcomella
MozReview-Commit-ID: 4r1yvWZ4lid

--HG--
extra : rebase_source : 7e7e66460409e51884e409713db2b7b30d88d48f
2016-05-12 13:37:58 -07:00
Andrzej Hunt 177caafc15 Bug 1246159 - Pre: implement SavedReaderViewHelper.getBytesUsed r=mcomella
MozReview-Commit-ID: EJ81q6f515q

--HG--
extra : rebase_source : 98902d97e0495d132be3eaffb6ba36a2a7a8a10b
2016-05-24 15:01:17 -07:00
Andrzej Hunt 2b97ce68b0 Bug 1246159 - Pre: import cleanup r=me
MozReview-Commit-ID: 9PxTKEV2pH5

--HG--
extra : rebase_source : 3f54b9697a8b69c8dcf42a93e93e89d2009dbb9c
2016-05-23 08:11:42 -07:00
Sebastian Kaspari aaab192fc8 Bug 1274955 - Extract Android dependency versions. r=glandium
MozReview-Commit-ID: FXwWjWIXke4

--HG--
extra : rebase_source : 8532dd6049bc411990547888600d1a394d8fbc14
2016-05-23 13:20:43 +02:00
Andrzej Hunt c1794a0e7c Bug 1267467 - Strip about:reader when storing URIs in history r=margaret
MozReview-Commit-ID: JbUBMVNFdU9

--HG--
extra : amend_source : 5f2a41567dd1155188e09f691ae6099892ea3a09
2016-05-10 15:33:33 -07:00
Ray Lin e084e2d68f Bug 1091241 - Make add-on details look like a page. r=Margaret
MozReview-Commit-ID: CrTHzKYrxU6

--HG--
extra : rebase_source : 074cf6cc004811f389c02efcb314e9972e0791d4
2016-05-12 14:43:50 +08:00
James Willcox f583ffbc0e Bug 1270522 - Guard against a null view in GeckoLayerClient.sendResizeEventIfNecessary(). r=rbarker
--HG--
extra : rebase_source : 4bd7b70151e4593391b91e41eeb5c9f8532feef1
2016-05-23 06:41:00 -04:00
Mike Hommey b47ba46ecf Bug 1274497 - Avoid running adb every time we run make on Android builds. r=gps
As seen in bug 1274273, the build system is running adb uselessly.
Moreover, on automation, adb doesn't even run, because it requires a
more recent glibc than available, adding confusing error messages to the
logs.
2016-05-25 08:43:49 +09:00
Andrzej Hunt 21ccc189ed Bug 1267467 - Don't filter out reader view pages when storing history r=jchen
MozReview-Commit-ID: VnQuAMAkBL

--HG--
extra : amend_source : 02ed08bd5febc68ea63ff067009d3f1782686088
2016-05-06 13:46:24 -07:00
Andrzej Hunt da861c32d2 Bug 1270880 - Make first reader-view prompt independent of first reader-view-bookmark prompt r=sebastian
MozReview-Commit-ID: 34MmPdoZCzL

--HG--
extra : rebase_source : 8bc9e24c1bd3e3198beaccdd65f87acd6973ea9e
extra : amend_source : d5a16a28549e65ea1336bbf8b1ec48ad5a27cc88
extra : histedit_source : 3d2d17a2406a8d23c53a956884c03ad626db7953
2016-05-10 10:50:06 -07:00
Andrzej Hunt 52a27309a0 Bug 1270880 - Show bookmarking helper UI first time reader view is used r=sebastian
Note: this is currently an experiment, which was previousl de-facto disabled.

MozReview-Commit-ID: 3BfyMD6E3b3

--HG--
extra : rebase_source : 60513a9e78ab88c51f5c28f6ac8d26d0c52b72b7
extra : histedit_source : ff3c66aa8740df5c0fc873f60adb16819265a431
2016-05-10 10:36:47 -07:00
Andrzej Hunt b002b31088 Bug 1270880 - Check switchboard when showing experiment, not in onCreate r=sebastian
Switchboard might not have any data during onCreate, instead we should query
switchboard when actually deciding whether to show the prompt.

MozReview-Commit-ID: DdulFoWHiF9

--HG--
extra : rebase_source : 0f47a6ae7bccbe0b6ccd88396aa6467df9945ba6
extra : histedit_source : 092b80cf6b096b5b175c24f5d35377aecceaf168
2016-05-10 10:58:22 -07:00
Andrzej Hunt 4ac8128302 Bug 1270880 - Pre: import cleanup r=me
MozReview-Commit-ID: 5dcnr3WZ3Me

--HG--
extra : rebase_source : a0ffda2f98ff50227b8edfcc5b0df30acaccea8d
2016-05-10 10:37:02 -07:00
Michael Comella fc9ec09c75 Bug 1269924 - Move telemetry upload to NetworkUtils.isConnected. r=grisha
The concept of "background data" (as it exists in the Android options menu)
doesn't exist in the Android APIs - I think it should be covered under
isConnected. Thus, I removed our `isBackgroundDataEnabled` method.

One other network consideration, however: we may want to consider stopping
uploads on roaming.

In the previous implementation, we did not queue the ping for upload if
the network was not connected (in order to conserve disk space). However,
this doesn't allow us to see all of the days the user interacted with
the device (e.g. for engagement) so in this implementation, we always
queue the ping and stop in the UploadService if we're not connected.

MozReview-Commit-ID: 1mjnHq3l7Jj

--HG--
extra : rebase_source : 4640aad21783f8e8edc568ea341a6e910a066d01
2016-05-19 11:54:54 -07:00
Michael Comella ee1be4d654 Bug 1268606 - Correct action bar style for url bar. r=liuche
MozReview-Commit-ID: 7mCwUzR7rqE

--HG--
extra : rebase_source : 59a68f638154b2f9b722a79a6238a47a74262657
2016-05-23 19:15:46 -07:00
Carsten "Tomcat" Book 3cab03a461 Merge mozilla-central to fx-team 2016-05-24 15:15:55 +02:00
Carsten "Tomcat" Book cb4337c62c merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver_oop.html => dom/presentation/tests/mochitest/file_presentation_non_receiver.html
rename : dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe_oop.html => dom/presentation/tests/mochitest/file_presentation_non_receiver_inner_iframe.html
rename : dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe_oop.html => dom/presentation/tests/mochitest/file_presentation_receiver_inner_iframe.html
2016-05-24 14:52:23 +02:00
Michael Comella 252b6ec614 Bug 1274727 - Use toString method for search engine identifiers. r=bnicholson
These values are what are actually used UI telemetry (perhaps because the enums were added after the strings?). They're also a little less obnoxious than the enum names.

MozReview-Commit-ID: K5i2Hr4DR4J

--HG--
extra : rebase_source : 5750fe71960616ad8014b473c6a5d99c2d3b2dc3
2016-05-23 15:26:26 -07:00
Michael Comella f42408cb87 Bug 1274433 - Construct TelemetryDispatcher on background thread. r=ahunt
MozReview-Commit-ID: 6H5Wp4uzNQb

--HG--
extra : rebase_source : 108d30fed9802bf7e2bfb3d35aca1126c808e1b6
2016-05-20 18:00:22 -07:00
Jim Chen 7ff874f7ba Bug 1270870 - Check profile when delivering pending push message; r=nalexander
For pending push messages, we used to check for correct profile when the
message is received, but it's better to check for correct profile when
the message is delivered to Gecko.

This fixes a crash in headless mode that the previous patches
introduced.
2016-05-24 01:11:16 -04:00
Jim Chen 236d468faf Bug 1270870 - Fix testGeckoProfile; r=snorp
Fix testGeckoProfile to compile and pass following the guest profile
changes.
2016-05-24 01:11:16 -04:00
Jim Chen 635b1b611a Bug 1270870 - Use shared prefs to keep guest mode setting; r=snorp
This patch restores the previous behavior of restoring to guest mode if
Fennec is killed during a guest session. Instead of using a separate
lock file or an Intent argument, this patch uses shared prefs to keep
the guest mode setting.

The patch also introduces the behavior that, for headless mode, the
profile must agree with the guest mode setting. For example, in guest
mode, push messages under a regular profile will not be processed; this
is necessary to avoid profile mismatches.
2016-05-24 01:11:16 -04:00
Jim Chen b2f8c1d77f Bug 1270870 - Simplify guest profile management; r=snorp
Treat the guest profile as a custom profile with a special profile
directory. This lets us get rid of a lot of the guest profile handling
code. This patch does not attempt to restore to guest mode if Fennec is
killed during a guest session. A later patch will fix that behavior.

Patch renames GeckoProfile.getFromArgs to GeckoProfile.initFromArgs,
because the method now has possible side-effects (i.e. deleting stale
guest profiles). The new name also differentiates the method from the
GeckoProfile.get family of methods. initFromArgs now always returns a
profile (using the default profile if necessary), to make it easier for
its callers.
2016-05-24 01:11:16 -04:00
Jim Chen 953c2c7b71 Bug 1270870 - Create specified profile directory if necessary; r=snorp
When getting a profile with a specific profile directory, we used to
require the directory to already exist. This patch makes sure the
directory is created if necessary. It lets us treat the guest profile as
an ordinary custom profile at a specific location.
2016-05-24 01:11:16 -04:00
Jim Chen 9159053a5b Bug 1270870 - Don't get profile in GeckoApp when launching; r=snorp
Let GeckoThread manage the active profile, and don't get the profile in
GeckoApp. This also avoids possible main-thread IO.
2016-05-24 01:11:16 -04:00
Cesar Valiente 2c5e3332f6 Bug 1272506 - Change GeckoApp.ONE_DAY_MS to be initialized with the TimeUnit class. r=mcomella 2016-05-14 11:42:04 +02:00
guillaume cd71b8ee5b Bug 1264599 - "GeckoPreferences: Remove CheckBoxPrefSetter and TwoStatePrefSetter". r=sebastian 2016-05-23 03:41:00 +02:00
Victor Ng 649e0d92c0 Bug 1272057 - "API17 guard is required to use Location::getElapsedRealtimeNanos()". sr=hschlichting
--HG--
extra : rebase_source : 94560988dd664c9ae2d680c6f5963e951967fdd5
2016-05-19 13:27:00 +02:00
Nick Alexander 3eed392f10 Bug 1274956 - Pre: Make it easier to test Adjust locally. r=mcomella
This does a few things.  First, it makes non-official builds use the
Adjust sandbox.  Second, I observe that the fake sandbox key no longer
sends anything, so it's no longer valuable; this patch instead
requires an Adjust token if install tracking is enabled, since we
can't provide a default any more.  Third, it removes a spurious
default in configure.in; without this default, builders can easily
enable Adjust locally using the following in their mozconfig:

ac_add_options --with-adjust-sdk-keyfile=/path/to/adjust-sdk.keyfile
export MOZ_INSTALL_TRACKING=1

With the default, the "export" had no impact, because it was
overwritten immediately.

MozReview-Commit-ID: Cn62fmrgwJL

--HG--
extra : rebase_source : 3b817c815043e0339e65125f6d6963ddd3f4570e
2016-05-23 13:42:09 +02:00
Sebastian Kaspari 68ecc4e66c Bug 1271352 - Update static catalog to match online version. r=margaret
MozReview-Commit-ID: 9ZKk95zHmrd

--HG--
extra : rebase_source : c9d3eedaccfcbe49118a102af9acea4072d59c01
extra : histedit_source : eb8f7a3a9b0ccf4fdaf0d627975d9810c67ff87e
2016-05-16 10:15:18 -07:00
Sebastian Kaspari 7d64948770 Bug 1271352 - DLC Sync: Update kinto endpoint and CDN base domain. r=margaret
MozReview-Commit-ID: 8TbsANSzpZZ

--HG--
extra : rebase_source : b28399a5da495258a8abc67c01dc90e9803a6a01
extra : histedit_source : a1e41e7779f9701f11dc31b37296a4929632d9be
2016-05-16 09:59:14 -07:00
Sebastian Kaspari e670771049 Bug 1272340 - ToolbarDisplayLayout: Handle about:reader URLs. r=margaret
This patch changes two things:
* Check if the URL is http/https after stripping the about:reader URL.
* Always call updateAndColorTitleFromFullURL() as fallback for URL formatting (like in previous versions)

MozReview-Commit-ID: 1Zgf12FsOQe

--HG--
extra : rebase_source : d23c2d2d2392be9ae6e9fdaf8d560d5af07f387d
2016-05-13 10:57:57 +02:00
billel 02e5be4023 Bug 1271577 - FloatingToolbarTextSelection: Remove Log.w() call. r=sebastian
MozReview-Commit-ID: CQPeFsjJmfk

--HG--
extra : amend_source : 899352c7894660d068f746b3d64affd5167d14a1
2016-05-23 09:56:04 +02:00