Commit Graph

582398 Commits

Author SHA1 Message Date
Jonathan Kew
10215d3497 Bug 1440411 - Remove the obsolete gfx.font_loader.families_per_slice pref (no longer used by any code). r=jrmuizel 2018-02-22 20:55:39 +00:00
Jonathan Kew
d9de89cb70 Bug 1439954 - Make gfxPlatform::ForceGlobalReflow when called in a content process trigger reflows only within that process; it should not try (and fail, with an assertion) to affect the parent or other content processes. r=jrmuizel 2018-02-22 20:55:36 +00:00
Ioana Crisan
abf91f5026 Bug 1410818 - Add a test to verify the menu options for a default top site. r=Mardak 2018-02-22 15:25:45 +02:00
Paolo Amadini
c6d3def00e Bug 1439358 - Part 8 - Change how visibility is controlled so knownViews can be removed. r=Gijs
MozReview-Commit-ID: 9dVZ1cOto8O

--HG--
extra : rebase_source : be13ed8d5c72b0e018dd0d27ef1fd3b7293bef48
2018-02-22 15:28:15 +00:00
Paolo Amadini
7a2372af52 Bug 1439358 - Part 7 - Close the main view synchronously before opening it in a different panel. r=Gijs
This also updates the AppMenu mozscreenshots module to work with the Photon main menu.

MozReview-Commit-ID: FciQH815F95

--HG--
extra : rebase_source : 5c129b0d4aa824bbe899066f2bb197106d1c0408
2018-02-22 11:25:10 +00:00
Paolo Amadini
a623dbe5af Bug 1439358 - Part 6 - Decouple view events from view visibility. r=Gijs
This stops redundant ViewHiding and late ViewShown events from being dispatched when the panel is closed during a ViewShowing event or a transition, and stops dispatching ViewHiding events when a view becomes invisible but is still open.

The panelMultiView property on "panelview" nodes is now set to null when the view is closed, indicating that the view can be immediately reused in a different panel. The Places view had to be updated so it doesn't rely on this property during the PanelMultiViewHidden event.

MozReview-Commit-ID: B1yU6si3eD3

--HG--
extra : rebase_source : 440ddc3eabcbe9d0f02a172f8adf047c66ca53ac
2018-02-22 14:20:11 +00:00
Paolo Amadini
3ffdb38d61 Bug 1439358 - Part 5 - Handle panel hiding during ViewShowing events. r=Gijs
The ViewHiding event is now dispatched consistently, regardless of whether the ViewShowing event is canceled or the panel is closed during the event. This is done by a new _openView helper, while the logic that is specific to each of the showMainView, showSubView, and goBack functions has been moved out of the _showView function.

MozReview-Commit-ID: 5WvW6THWbyb

--HG--
extra : rebase_source : 666c5744843f5197ab5130212096a1c83a2e3983
2018-02-22 17:11:25 +00:00
Paolo Amadini
5ef12b919b Bug 1439358 - Part 4 - Open views before the transition and close them after it. r=Gijs
This allows the openViews array to reflect the state of the navigation more accurately, paving the way for further simplification of the code. The showSubView function will now fail early when it's called with a view that is already open, so the rest of the code doesn't have to take this case into consideration.

MozReview-Commit-ID: 1VoIImxVTDN

--HG--
extra : rebase_source : b483f9c7e2782f070f5694d85a91a0bfefff5457
extra : source : 7ce7a10fd212989eee76b482632eac9b985d4b2e
2018-02-22 13:39:09 +00:00
Paolo Amadini
92a511a1a2 Bug 1439358 - Part 3 - Always raise ViewShowing events and don't update the "current" property. r=Gijs
The ViewShowing event is now called earlier and unconditionally, since we don't set the "current" attribute and call showMainView while the panel is closing anymore.

It is already the case that the ViewShowing event handlers don't depend on the "current" property, so we don't need to keep track of it before ViewShown events are dispatched.

MozReview-Commit-ID: Ii4SN03KjwW

--HG--
extra : rebase_source : 5e994fa4d54b2805b5eb10d9471bbb25bd21f24c
2018-02-19 11:17:52 +00:00
Paolo Amadini
f37e407659 Bug 1439358 - Part 2 - Don't use the "current" property when restoring focus from the blocked downloads subview. r=Gijs
MozReview-Commit-ID: ASmmdQMctr5

--HG--
extra : rebase_source : 7d990c407e63e6c5a2db3c644e84da7f243e9909
2018-02-22 12:20:53 +00:00
Paolo Amadini
660eb79aeb Bug 1439358 - Part 1 - Support "panelview" elements located anywhere in the document. r=Gijs
The showSubView public method now aligns with its callers and doesn't return a Promise anymore. The showMainView method still returns a Promise because at the moment it is used externally for asynchronous cleanup.

MozReview-Commit-ID: FcnEx5f5HKh

--HG--
extra : rebase_source : dc0a8e5267b7211c7ee3e2216bd1dc0cabdbd4bd
extra : intermediate-source : 9cc3eafb24f3936eb8ccb359f2f04e9839ae9ff2
extra : source : 7ce7a10fd212989eee76b482632eac9b985d4b2e
2018-02-12 16:44:00 +00:00
Benjamin Bouvier
1e98fe5231 Bug 1435317: Bounds check index+size before index for SIMD memory accesses; r=nbp
MozReview-Commit-ID: HsL3tZdw5Uj

--HG--
extra : rebase_source : 7ddb03f570709ffd5350f3bf0910cd9e3b19979f
extra : amend_source : 7ea51f676d8d373a8968f5e36a056205269644ff
2018-02-22 16:41:15 +01:00
dragan.mladjenovic
360d468d72 Bug 1428453 : Fix mips32/mips64 simulator build; r=luke
MozReview-Commit-ID: DazA0vkisNI

--HG--
extra : amend_source : 86fd84e3c2b294e1f625ac3f6fcfca286b129ef3
2018-02-22 18:14:04 +01:00
Ruturaj K. Vartak
8929757453 Bug 1439242 - Headers filter in netmonitor broken. r=honza.
--HG--
extra : rebase_source : abb0ccdd0fb776eeaad3718b760e9a708ba97167
2018-02-21 21:01:00 +02:00
Dragan Mladjenovic
66b87757fb Bug 1434843 : [MIPS] Emulate FCRS Cause bits; r=
--HG--
extra : rebase_source : c427610ee1cf8e9c58dee9d022c8a911560543c8
2018-01-30 15:36:57 +01:00
Dragan Mladjenovic
b5584a5bd9 Bug 1434843 : [MIPS] Use FCSR to detect inexact conversion to integer; r=yuyin
--HG--
extra : rebase_source : f31917135ecea9cda79aef86c3f9c4038a391227
2018-02-01 10:15:19 +01:00
Dragan Mladjenovic
0bb7d5d8b2 Bug 1434843 : [MIPS] Make clampDoubleToUint8 less branchy; r=yuyin
--HG--
extra : rebase_source : dca1d71f9085586c471ad1215812c2601cd8c67a
2018-02-01 10:10:34 +01:00
Dragan Mladjenovic
10aa4b8e60 Bug 1434843 : [MIPS] Cleanup MacroAssembler::branchTruncate*MaybeModUint32 ; r=yuyin
--HG--
extra : rebase_source : 93d52244772c4a6f790fd6cbf4cbd49200ce8131
2018-02-01 10:02:44 +01:00
Dragan Mladjenovic
29c0ac6422 Bug 1434843 : [MIPS] Cleanup wasm truncate ; r=yuyin
--HG--
extra : rebase_source : bbad115eb58545d3c4637b59e10e809bcbd67f82
2018-02-01 09:58:48 +01:00
Dragan Mladjenovic
c8244f2b53 Bug 1434843 : [MIPS] Remove SecondScratchDoubleReg; r=yuyin
--HG--
extra : rebase_source : 7df5db6f8852aa35dc2f16f6d47157af243d7883
2018-02-01 09:49:46 +01:00
Joel Maher
a88222fd76 Bug 1437425 - disable ares6 on osx. r=rwood 2018-02-22 11:43:11 -05:00
Joel Maher
52c88de2a4 Bug 1438292 - add JetStream benchmark to talos. r=rwood 2018-02-22 11:43:02 -05:00
James Willcox
bf50533bd6 No bug, followup for linting failures r=me
MozReview-Commit-ID: At5TO40eKhJ
2018-02-22 09:52:14 -06:00
Dorel Luca
38d47e8876 Merge mozilla-central to mozilla-inbound
--HG--
extra : rebase_source : bba716d2df74c82b65cafc84d8bcc41c8d9fdbde
2018-02-22 17:39:38 +02:00
Dorel Luca
bd05e3853c Backed out 3 changesets (bug 1436904) for many crashes see bugs: 1440281, 1440302, 1440303, 1440313. a=backout
Backed out changeset 27f0762d4472 (bug 1436904)
Backed out changeset 27640f52e188 (bug 1436904)
Backed out changeset 2b4d117c27dc (bug 1436904)
2018-02-22 17:28:59 +02:00
James Willcox
a47a1c6678 Bug 1291387 - Make mochitest and reftest work against TestRunnerActivity r=gbrown,jchen
Pass --appname org.mozilla.geckoview.test to 'mach mochitest' or
'mach reftest'. This runs the tests without e10s currently.

MozReview-Commit-ID: 7TIvA3zRCw2
2018-02-22 09:18:37 -06:00
James Willcox
75c6e9c7ff Bug 1291387 - Handle errors when using EventDispatcher.sendRequestForResult in GeckoView JS modules r=jchen
MozReview-Commit-ID: EOLO59ZbTOR
2018-02-22 09:18:36 -06:00
James Willcox
ef799498f8 Bug 1291387 - Reply with an error in GeckoSessionHandler when no listener registered r=jchen
This eliminates a race where the JS side thinks it has a listener, and
expects a reply, but will never get one because it was unregistered
while the message was in-flight. GeckoSessionHandler dispatches
on the Android UI thread, which is where listeners are set/unset, so
we do not need any synchronization.

MozReview-Commit-ID: 5W3hsQ1cmb7
2018-02-22 09:18:36 -06:00
James Willcox
158da574a3 Bug 1291387 - Log GeckoThread state transitions r=jchen
It may be nice to also log failed state transitions, but we seem to have too
many of those for it to be very useful right now.

MozReview-Commit-ID: 7z4UMyWQp2F
2018-02-22 09:18:35 -06:00
James Willcox
2562ac0bd4 Bug 1422019 - Stand up initial GeckoView tests r=nalexander,jchen
This adds a new geckoview_test module, which contains a
test runner Activity. We can then use JUnit4 + Espresso to
exercise the GeckoView APIs (such as GeckoSession).

MozReview-Commit-ID: FEMAZhpasLW
2018-02-22 09:18:35 -06:00
Nick Alexander
f994854ec0 Bug 1422019 - Fix errors in |mach android archive-geckoview|. r=snorp
MozReview-Commit-ID: Gzbv1Y6agsM
2018-02-22 09:18:34 -06:00
Nick Alexander
872fdab41b Bug 1422019 - Fix diagnostic requiring |mach package|. r=snorp
No idea when this broke -- probably the transition to Gradle 4 -- but
this seems to work.  As suggested at
https://discuss.gradle.org/t/copy-task-how-to-fail-on-no-source/25581/2.

MozReview-Commit-ID: 8oGazgLZT3J
2018-02-22 09:18:34 -06:00
James Willcox
9ba68c37c5 Bug 1422019 - Make resource://android/asset work again with GeckoView r=jchen
MozReview-Commit-ID: FYD4cOaNBza
2018-02-22 09:18:33 -06:00
James Willcox
5201ec1c4f Bug 1439747 - Add GeckoSession.ContentListener.onCloseRequest() r=jchen,droeh
MozReview-Commit-ID: CPUVfe1LKDW
2018-02-22 09:18:33 -06:00
James Willcox
e7c0c03f32 Bug 1432485 - Add GeckoSession.NavigationListener.onNewSession r=jchen,esawin
This allows apps to decide which GeckoSession should handle a load that
will be in a new window (e.g., window.open()).

MozReview-Commit-ID: BkJM93489Ga
2018-02-22 09:18:32 -06:00
Dorel Luca
6ad641c5c4 Merge mozilla-inboud to mozilla-central. a=merge 2018-02-22 11:59:54 +02:00
Tim Taubert
ea6e54236f Bug 1433015 - Turn AllocReplacement gtests into death tests r=froydnj 2018-02-22 10:27:42 +01:00
Tim Taubert
e7bbf534a6 Bug 1439805 - Implement CredentialsContainer.preventSilentAccess() r=jcj,smaug
Reviewers: jcj, smaug

Reviewed By: jcj, smaug

Bug #: 1439805

Differential Revision: https://phabricator.services.mozilla.com/D629
2018-02-22 14:36:08 +01:00
Andrea Marchesini
11e5ad9105 Bug 1439677 - Console.assert() should print the stack to stdout, r=bgrins 2018-02-22 08:50:02 +01:00
Andrea Marchesini
370acd6950 Bug 1439686 - Console API should print logs on stdout when used by chrome code and if browser.dom.window.dump.enabled is true, r=bgrins 2018-02-22 08:49:51 +01:00
Daniel Stenberg
14fc881f71 bug 1438947 - mutex nsHostRecord::mTrrA[AAA] accesses r=valentin
... and remove Cancel() from nsHostRecord::RemoveOrRefresh since we
don't need to cancel TRR resolves due to network changes.

MozReview-Commit-ID: Akuhpzgg4N5
2018-02-22 04:22:00 +02:00
Xidorn Quan
b56fe8d244 Bug 1440141 part 3 - Avoid invoking GetAsGecko when old style system is disabled. r=emilio
MozReview-Commit-ID: CisRhBr83jc

--HG--
extra : rebase_source : 92eb1810fb57e0677a65aab2f6aa3d1e257b22da
2018-02-22 11:53:07 +11:00
Xidorn Quan
c70b3f5dad Bug 1440141 part 2 - Move some headers around. r=dholbert
MozReview-Commit-ID: LvzU9ara8KV

--HG--
extra : rebase_source : 7731c649141dad3c257f5a154235682d07a65df4
2018-02-22 11:52:31 +11:00
Xidorn Quan
f66a5d4e41 Bug 1440141 part 1 - Move GeckoStyleContext::TakeRef to nsStyleContextInlines.h so that header doesn't depend on the Inlines.h. r=emilio
MozReview-Commit-ID: GdARP4HUAIY

--HG--
extra : rebase_source : 02ff6c6840f0989aa09c94022e42e0144fa4b5bc
2018-02-22 11:51:38 +11:00
Dragan Mladjenovic
0e6a5a7dba Bug 1440226 : [MIPS64] Fix Baseline stack alignment asserts ; r=jandem 2018-02-21 18:09:41 +01:00
Thomas Wisniewski
8d2ee99353 Bug 1439022 r=baku
MozReview-Commit-ID: HSKAPIXUrtz

--HG--
extra : amend_source : 5c6b3e29de5ac96d85e771a7341375a919b66d13
2018-02-21 22:20:37 -05:00
Dorel Luca
9b2f91981c Backed out 6 changesets (bug 888600) for Valgrind and build bustge on a CLOSED TREE
Backed out changeset 7c8317f4ad48 (bug 888600)
Backed out changeset 5b990735f1ad (bug 888600)
Backed out changeset 9eafe225b804 (bug 888600)
Backed out changeset 16af80d6cd93 (bug 888600)
Backed out changeset a109987af625 (bug 888600)
Backed out changeset 0949dba396ad (bug 888600)
2018-02-22 13:56:43 +02:00
Tim Taubert
a18371e7d3 Bug 1406471 - Fix WebAuthn WPT bustage for .getClientExtensionResults() r=me 2018-02-22 12:30:49 +01:00
Jan de Mooij
1b615bcea0 Bug 1437862 part 4 - Ensure guardObjectType has different object and scratch registers. r=nbp 2018-02-22 12:05:58 +01:00
Dragan Mladjenovic
07ba32be55 Bug 1440224 : [MIPS] Preserve FCSR state during wasm interrupt ; r=lth 2018-02-21 18:44:39 +01:00