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

22131 Коммитов

Автор SHA1 Сообщение Дата
Krishna 69547a9027 Bug 1318544 - DLC: Only download known content if it is actually excluded from the APK r=sebastian
MozReview-Commit-ID: E3X9u2MkRpX

--HG--
extra : rebase_source : 65b98e87382b5d6cc25ad7eed07d42a9c72dd6e3
2016-12-04 23:17:44 +08:00
Sebastian Kaspari 65cf5887e7 Bug 1334562 - DLC: Start study action from BrowserApp.onCreate() and never in automation. r=ahunt
Previously we started the DLC service from GeckoApplication. The reason for that was that we wanted to
download content like fonts as early as possible so that they are available the next time we display
a website.

However we do not know whether we are running in automation until the BrowserApp activity is launched.
This patch will start the service from BrowserApp.onCreate() now if we are not running in automation.

MozReview-Commit-ID: C3Ob6S3yve4

--HG--
extra : rebase_source : 3dbe64f6cbc0a90149e9c46849d4b68e5674b532
2017-01-30 17:41:38 +01:00
Wes Kocher e457683b2d Merge m-c to autoland, a=merge
MozReview-Commit-ID: BipzgOEInZh
2017-01-30 15:54:34 -08:00
Wes Kocher 584127af5f Merge inbound to central, a=merge
MozReview-Commit-ID: 4GYZ5Pzy7BY
2017-01-30 15:44:58 -08:00
Benjamin Smedberg 270de3f511 Bug 1333826 - Remove all references to MOZ_AUTOMATION_SDK, r=mshal
MozReview-Commit-ID: CuTK1hn0pVl

--HG--
extra : rebase_source : 4581c71360ccd81505079ee9e068ed2ca0431a6a
2017-01-25 12:30:49 -05:00
Florian Quèze bdc1ffa608 Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
Phil Ringnalda 5d4072a82c Merge m-i to m-c, a=merge 2017-01-28 13:09:00 -08:00
Wes Kocher 4cf8a40463 Merge m-c to autoland, a=merge
MozReview-Commit-ID: J5UyPvoy89k
2017-01-27 16:39:56 -08:00
Sebastian Kaspari e13030aa3e Bug 1325264 - Update wording of 'disconnect from sync' dialog. r=Grisha
MozReview-Commit-ID: 1xsc0Q1upf5

--HG--
extra : rebase_source : efdb1d121d0a433aecfd05876ed95efce792469b
2017-01-27 18:11:44 +01:00
jwu 5b02eb2870 Bug 1237956 - Use temporary folder instead of modifying the filename while uploading, r=sebastian
MozReview-Commit-ID: 3MQWkPOIRGB

--HG--
extra : rebase_source : 3f7994ee1124e98139c8d4079129b2262c0524b3
2017-01-25 15:56:23 +08:00
Grigory Kruglov 04becc33ae Bug 1325303 - Adjust A-S telemetry docs to reflect greater use of action_position r=sebastian
MozReview-Commit-ID: IUDMovBjzjg

--HG--
extra : rebase_source : 4f6718e01d50b4e13b28366d26e206f6c65b7d7a
2017-01-27 12:17:31 -08:00
Grigory Kruglov 771195ba7b Bug 1325303 - A-S Telemetry: track position of highlights for menu interactions r=sebastian
MozReview-Commit-ID: GXl5asf2rEq

--HG--
extra : rebase_source : 9aa7ee95ed9fe563e31a276b6c0438faa72e9918
2017-01-26 23:14:08 -08:00
Grigory Kruglov e14db054b4 Bug 1325303 - A-S Telemetry: track positions of Top Site items for tile and menu interactions r=sebastian
MozReview-Commit-ID: B4XpqpwfjMi

--HG--
extra : rebase_source : 93d70efb5410f8af8f977fa2310f8d0c55d16bd0
2017-01-27 12:13:13 -08:00
Andrew Swan 30deceecf8 Bug 1203330 Part 1 Fix SingletonEventManager r=kmag
This patch adds the ability to run SingletonEventManager handlers in
different modes: sync, async, raw (no exception handling, arg cloning,
or asynchrony), or asyncWithoutClone. When you call the handler,
you're required to specify which variant you want.

Existing uses of SingletonEventManager are all converted to async calls.
Note that some of them were previously synchronous, but it didn't appear
to be necessary.

Also added a callOnClose for SingletonEventManager when the last listener
is removed.

MozReview-Commit-ID: ATHO97dWf3X

--HG--
extra : rebase_source : bf02d79e3fbab84892be8a7e52ea7a1caf2e003d
2017-01-26 20:00:33 -08:00
Phil Ringnalda 9447dfdbd4 Backed out 3 changesets (bug 1203330) for failures in test_delay_update_webextension.js
CLOSED TREE

Backed out changeset 2d42350d209a (bug 1203330)
Backed out changeset 3a12c51c3eca (bug 1203330)
Backed out changeset 31fac390e15d (bug 1203330)
2017-01-26 19:13:11 -08:00
Carsten "Tomcat" Book dca07ffc3a merge mozilla-central to mozilla-inbound 2017-01-27 11:16:17 +01:00
Florian Quèze b11907c7aa Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws. 2017-01-27 10:51:03 +01:00
Florian Quèze 2cf30507bd Bug 1334261 - script-generated patch to remove more newURI null parameters, r=jaws. 2017-01-27 10:51:02 +01:00
Florian Quèze be4dbae285 Bug 1334199 - script-generated patch to omit getComputedStyle's second argument when it's falsy, r=jaws. 2017-01-27 10:51:02 +01:00
Wes Kocher 8fa84ca644 Merge inbound to central, a=merge
MozReview-Commit-ID: BZgxmhS6OtM
2017-01-26 16:19:05 -08:00
Wes Kocher 7365007b83 Merge autoland to central, a=merge
MozReview-Commit-ID: EnErkgbuNge
2017-01-26 16:08:33 -08:00
Wes Kocher c3cc3b6407 Backed out 13 changesets (bug 1296767) for xpcshell failures a=backout CLOSED TREE
Backed out changeset 41ed77788333 (bug 1296767)
Backed out changeset 1c0c9289b532 (bug 1296767)
Backed out changeset 50294db1d871 (bug 1296767)
Backed out changeset 26c065f79c54 (bug 1296767)
Backed out changeset 0362a78d6978 (bug 1296767)
Backed out changeset 4e71cf94e4ee (bug 1296767)
Backed out changeset f6f59447d22a (bug 1296767)
Backed out changeset 6c9b792cc296 (bug 1296767)
Backed out changeset 46a52b10a868 (bug 1296767)
Backed out changeset 5d70d87d2a8f (bug 1296767)
Backed out changeset 8219686be6a2 (bug 1296767)
Backed out changeset 0a989b0cea67 (bug 1296767)
Backed out changeset 9f59a0b75c1f (bug 1296767)

MozReview-Commit-ID: 2XBNsd8JrZL

--HG--
extra : amend_source : 1afafaa8127fcebac31ce1d7743dc16872fa0522
2017-01-26 11:16:12 -08:00
Justin Wood d01d00bce4 Bug 1333921 - Taskcluster Android l10n nightlies broken due to missing API key. r=mshal a=bustage
MozReview-Commit-ID: CxiqFKZZpaz

--HG--
extra : source : ea60d075a998cf5037cd9c31bf5ee8d0719bd816
2017-01-26 09:37:14 -05:00
Phil Ringnalda 39e57631eb Merge m-c to m-i 2017-01-25 20:48:39 -08:00
Eugen Sawin 714ebcecb4 Bug 1323429 - [2.1] Remove the context reference from Clipboard. r=jchen 2017-01-26 15:52:21 +01:00
Jim Chen caaf58697a Bug 1333589 - 3. Convert SiteIdentityPopup observers to events; r=sebastian
Convert the "Permissions:*" and "Session:Reload" observers to events
that go through GlobalEventDispatcher.
2017-01-25 18:57:32 -05:00
Jim Chen 174b21ef30 Bug 1333589 - 2. Convert SiteIdentityPopup events to bundle events; r=sebastian
Convert the events used in SiteIdentityPopup to bundle events. UI thread
events are used because the listeners perform operations on the UI
thread.
2017-01-25 18:57:31 -05:00
Jim Chen a8edf60a6c Bug 1333589 - 1. Use GeckoBundle for DoorHanger.OnButtonClickListener; r=sebastian
Convert the onButtonClick method to provide GeckoBundle as the response.
2017-01-25 18:57:31 -05:00
Jim Chen f6a51590a8 Bug 1333588 - Convert PageActions events to bundle events; r=sebastian
Convert events used in PageActions to bundle events. UI thread events
are used because the listeners require the UI thread. The observer
notifications from Java to Gecko are converted to events as well.
2017-01-25 18:57:31 -05:00
Jim Chen 2e56d7739e Bug 1333586 - Convert AccountsHelper events to bundle events; r=sebastian
Convert events used in AccountsHelper to bundle events. Most events are
kept as Gecko thread events, but a couple events that start activities
are converted to UI thread events.
2017-01-25 18:57:31 -05:00
Jim Chen a396212751 Bug 1333581 - Convert IntentHelper events to bundle events; r=sebastian
Convert events used in IntentHelper to bundle events. UI thread events
are used for most events because the listeners perform operations on
Intent objects, which is best done on the UI thread. For
"Intent:GetHandlers", use a Gecko thread event because it's possible we
want a synchronous callback response.
2017-01-25 18:57:31 -05:00
Jim Chen 296c0b8b43 Bug 1330439 - 4. Convert home panel observers to events; r=sebastian
Convert nsIObserverService observers used in home panels to events that
go through EventDispatcher.
2017-01-25 18:53:58 -05:00
Jim Chen dfcdeb5ce1 Bug 1330439 - 3. Convert HomePanelsManager events to bundle events; r=sebastian
Convert events used in HomePanelsManager to bundle events. Background
thread events are used because HomePanelsManager processes panel changes
in the background thread. Changing to background thread events also lets
us make the change queue a simple ArrayList instead of a
ConcurrentLinkedQueue, because there is no longer multiple threads
involved.
2017-01-25 18:53:58 -05:00
Jim Chen 768eb3905e Bug 1330439 - 2. Convert HomeBanner events to bundle events; r=sebastian
Convert the events in HomeBanner to bundle events. "HomeBanner:Shown" is
removed in favor of using a callback.
2017-01-25 18:53:58 -05:00
Jim Chen 6738ee9866 Bug 1330439 - 1. Convert PanelInfoManager events to bundle events; r=sebastian
Convert the "HomePanels:Data" event to a GeckoBundle/BundleEventListener
event. UI thread event is used because the listener invokes the callback
on the UI thread.
2017-01-25 18:53:58 -05:00
Jim Chen a1a65941ef Bug 1330411 - 2. Convert FindInPageBar events to bundle events; r=sebastian
Convert events used in FindInPageBar to GeckoBundle/BundleEventListener
events. UI thread events are used because the listener performs UI
operations. FindInPageBar also sends some events like "FindInPage:Find"
from Java to Gecko; those events will be converted in another bug.
2017-01-25 18:53:58 -05:00
Jim Chen 59b3ffa09c Bug 1330411 - 1. Convert ActionBarHandler observers to events; r=sebastian
Convert observers in ActionBarHandler.js to events that go through
WindowEventDispatcher. "TextSelection:Get" now replies through the
callback interface rather than a "TextSelection:Data" event. The patch
also adds new lazy-loading events in browser.js to replace the
lazy-loading observers that ActionBarHandler relied on.
2017-01-25 18:53:58 -05:00
Jim Chen 9a9702cab0 Bug 1330409 - Convert CastingApps events to bundle events; r=sebastian
Convert the events used in MediaCastingBar and ChromeCastPlayer to
GeckoBundle/BundleEventListener events. UI thread events are used
because the listener performs operations on the UI thread.
2017-01-25 18:53:57 -05:00
Grigory Kruglov 4f96795b02 Bug 1331091 - Document behaviour of special "experiment" telemetry sessions r=liuche
MozReview-Commit-ID: KKT2maMyDqj

--HG--
extra : rebase_source : 338e6b7cdde9cf61c1e2b7ab74d02d68c512363a
2017-01-25 12:28:41 -08:00
Tooru Fujisawa ddd36fec56 Bug 1332245 - Move nsScriptError from js/xpconnect to dom/bindings. r=bz
--HG--
rename : js/xpconnect/idl/nsIScriptError.idl => dom/bindings/nsIScriptError.idl
rename : js/xpconnect/src/nsScriptError.cpp => dom/bindings/nsScriptError.cpp
rename : js/xpconnect/src/nsScriptErrorWithStack.cpp => dom/bindings/nsScriptErrorWithStack.cpp
2017-01-28 00:42:47 +09:00
Edouard Oger 0c915a6f46 Bug 1296767 part 1 - Remove J-PAKE from Sync. r=markh
MozReview-Commit-ID: iD4OJv436i

--HG--
extra : rebase_source : 1653284a3b2e014719a7eb37588f99df868e2060
2017-01-10 13:47:24 -05:00
Tomer Cohen 4ea01a8b63 Bug 1335010 - mobile/android/themes/core/config.css uses float: inline-* r=sebastian
MozReview-Commit-ID: A9yYnF5U2f0

--HG--
extra : rebase_source : 3e6bf0cb49bea547d57dde152bc37844b44dfe14
2017-01-30 15:48:38 +02:00
Jan Henning de6d526e3c Bug 1062859 - Part 1 - Restore scroll position when going back through bookmark folders. r=ahunt
When going down one folder level, we store the current scroll position of the list view and then scroll to the top of the list, so that we always show a child folder starting from the beginning. When navigating back up to its parent, we then restore the previously stored scroll position.

MozReview-Commit-ID: 9C2RMXrlUm1

--HG--
extra : rebase_source : 7ec5a3f1d602db9454efa52603e0f50704c1418d
2017-01-22 22:02:35 +01:00
Jan Henning 9ae155958c Bug 1062859 - Part 0 - Bookmarks panel cleanups. r=ahunt
Fix up javadoc so it matches the actual function parameter and remove unneeded imports.

MozReview-Commit-ID: I91NuqLlpL1

--HG--
extra : rebase_source : 13366049ee9fe1487b3cf24f4e6f610f66bee5ee
2017-01-23 19:23:55 +01:00
Andrzej Hunt 68b1cebd29 Bug 1120441 - Don't try to show tab-history panel if app has been shutdown r=sebastian
Showing the tab history panel involves a gecko call to retrieve tab history. This
can be slow, meaning we have no idea what state the app will be in when the tab
history data is returned. Thus we need to protect the code that shows the tab
history fragment against a number of scenarios to avoid crashes in those cases
where the app might be shutting down:

1. If onSaveInstanceState() has been called (which might happen before or after onPause(),
   and might be linked to app shutdown - but the docs don't appear to give any guarantees),
   fragment transactions cannot be performed. We protect against this by accepting loss
   of state in fragment transactions.
2. If the Activity has been completely destroyed, trying to perform a fragment transaction
   will likewise fail. We protect against this by not even trying to perform the transaction
   if we definitively know that the Activity is being shut down (ie isFinishing()).

In both of these cases, we simply must accept that we're potentially losing UI state: i.e.
a user could request the tab history panel via long-back-press, followed by exiting the app;
we now end up never ever showing the panel. This scenario doesn't seem like a major loss - and
fixing this issue properly would require significant investment (i.e. we would need to either
cache tab history on frontend side, or cache the tab-history panel request - and it's not clear
users will still care about seeing the panel the next time they open firefox).

MozReview-Commit-ID: JsAK1By8yqn

--HG--
extra : rebase_source : 9a3b64d2829a969e4de2775c2714874aa8708031
2017-01-18 22:09:20 +01:00
Jan Henning db207e8e6c Bug 1333567 - Send the notification expected by the session store when restarting, too. r=sebastian
Since bug 1228593, the mobile session store
- once again flushes its data when we are quitting, to make sure the latest state (including any potential cleaning of history/tabs) is flushed to disk
- ignores windows/tabs closing as a byproduct of shutdown

The latter point is dependent on a new shutdown notification introduced in that bug. Because we forgot to add that notification to the restart code used for add-on updates, in that case the session store currently doesn't enter shutdown mode and therefore records the window being closed during shutdown before flushing its data to disk, which means that all open tabs are lost.

MozReview-Commit-ID: LgtdQoYwacM

--HG--
extra : rebase_source : 1bf6c544d9e25961a0e64236678ca5938e8a69fe
2017-01-25 20:31:30 +01:00
Carsten "Tomcat" Book 65f7bfd24d Merge mozilla-central to autoland 2017-01-30 16:21:32 +01:00
Andrzej Hunt 121fe4fced Bug 1325375 - Make PopupContextMenu visible on Android 4 Asus tablets r=sebastian
MozReview-Commit-ID: 1XSiiyQPAXb

--HG--
extra : rebase_source : 6d04d2642129b6e4e5822bd5580b2ff53145a011
2017-01-24 12:28:57 -08:00
Edouard Oger 2458eff863 Bug 1333494 - Bump Android Sync tab records TTL to 21 days. r=Grisha
MozReview-Commit-ID: DpuIkqPlztd

--HG--
extra : rebase_source : b869f21a78b5de1001d58777e8604faaa05b66d3
2017-01-24 13:25:09 -05:00
Carsten "Tomcat" Book 58b6101373 Merge mozilla-central to autoland 2017-01-26 12:37:41 +01:00