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

25850 Коммитов

Автор SHA1 Сообщение Дата
Margareta Eliza Balazs 210797c4c1 Merge inbound to mozilla-central. a=merge 2018-04-04 12:43:55 +03:00
Ciure Andrei 5ffac2bcd3 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-04-04 00:58:50 +03:00
Jim Chen b0cfc1d30c Bug 1451128 - Fix bugs in fixed toolbar support in BasicSelectionActionDelegate; r=jchen
Small fixes related to fixed toolbar support in BasicSelectionActionDelegate,

1) Change the order of menu items to match Android.

2) Clear selection when dismissing the toolbar.

3) Work around an Android bug where the menu is initially empty.

MozReview-Commit-ID: BQ6pgbBbc9e

--HG--
extra : rebase_source : f1f4337059eaef2608c9ac91c58cde817374d42f
2018-04-03 17:42:33 -04:00
Chris AtLee f6faa1ea52 Bug 1442330: Remove android old-id builds r=jlorenzo
MozReview-Commit-ID: 9o3iXM5oHQM

--HG--
extra : rebase_source : c851970eb629285ee741dec0c177e4a0d9c674e0
2018-03-29 17:19:33 -04:00
Jan Henning 1e4b7fbdc7 Bug 1450076 - Add more keyboard shortcuts for opening new tabs. r=jchen
We cannot open completely new windows on mobile, but we sort of mimic desktop
by having Ctrl + N/Ctrl + Shift + P always open a new normal/private tab,
whereas for Ctrl + T the kind of tab opened will now depend on the currently
selected tab.

MozReview-Commit-ID: KmPCcnn79OH

--HG--
extra : rebase_source : 9a120de03816d2d140e5cb877b3996326491747b
2018-03-29 21:05:47 +02:00
Jan Henning 5f4f5b8698 Bug 1179698 - Part 1 - Put input focus on the URL bar when opening a new tab via keyboard. r=jchen
MozReview-Commit-ID: 2iZkO8FDB3R

--HG--
extra : rebase_source : dd2d89441eaf66fdb34e02163534431e99bc1a03
2018-03-29 20:55:11 +02:00
Jan Henning d707e8f0cb Bug 1179698 - Part 0 - Remove superfluous true/false ternary operator. r=jchen
Somehow I must have overlooked that during review, but if I'm touching something
in the neighbourhood I might just as well clean this up.

MozReview-Commit-ID: 95gnzSebGyf

--HG--
extra : rebase_source : 3f68ad9ecbdfea74dfc0ae6f4d65e3a90fe08081
2018-03-29 20:51:07 +02:00
Andrew McCreight e80864c94c Bug 1438688, part 3 - Remove XPT files from the packaging process. r=glandium
Now that XPT files are not loaded from files at runtime, code for
packaging XPT files can be removed.

This means that a couple of test XPIDL interfaces will get shipped in
builds to users that weren't before, but I don't think that matters
much.

This also puts XPT files into the local objdir for the XPIDL makefile,
instead of dist/bin, because they are no longer part of the
distribution.

MozReview-Commit-ID: 7gWj8KWUun3

--HG--
extra : rebase_source : 65bac47c2cd1a20b3c675a01b44a25a1d2d3ab7a
2018-03-05 14:27:29 -08:00
Jim Chen 5eb3667b33 Bug 1446202 - 2. Don't pass pointer events to datetime inputs; r=jchen
Like the way we treat select fields, don't pass pointer events to
date/time input fields either.

MozReview-Commit-ID: Eucfbu6MizX

--HG--
extra : rebase_source : 1887ca9911ee192c6c016ff2cfb7d621d8122be9
2018-04-02 23:26:11 -04:00
Jim Chen b8e6f0675d Bug 1446202 - 1. Return correct locale string to Gecko; r=droeh
Locale.toString() doesn't return the correct locale format that Gecko
expects, so reformat the locale string before returning. (for example,
Locale.toString() returns "en_US_POSIX#Latn" whereas Gecko expects
"en-Latn-US-POSIX"). The incorrect locale format was preventing intl
code (and the datetime box) from initializing.

MozReview-Commit-ID: JmDYkDj31pL

--HG--
extra : rebase_source : 545e8f4e57e1e0086d3afb862c9dfa82ff89345f
2018-04-02 23:25:27 -04:00
Jim Chen 5c7894b988 Bug 1441279 - 5. Use BasicSelectionActionDelegate in GeckoView by default; r=snorp
Use BasicSelectionActionDelegate for GeckoView sessions by default, if
there is no existing delegate.

MozReview-Commit-ID: 1lrEav4esKh

--HG--
extra : rebase_source : b6ac3e689e2401eba419e12c7bc76354188b4d0a
2018-04-02 17:13:46 -04:00
Jim Chen 45f75bd1b5 Bug 1441279 - 4. Add BasicSelectionActionDelegate; r=snorp
Add a standard implementation of SelectionActionDelegate that uses
Android action mode for displaying selection actions.

MozReview-Commit-ID: Iv497bXDzMh

--HG--
extra : rebase_source : 1c889e5538e49620cf8ae12b6d34f09def236d59
2018-04-02 17:13:46 -04:00
Jim Chen c99d04e491 Bug 1441279 - 3. Add selection action handler in GeckoSession; r=esawin
Add a handler for selection action delegate in GeckoSession that calls
the callback methods.

MozReview-Commit-ID: C2mMHHheTJT

--HG--
extra : rebase_source : c9804fdfc80377b477e084d69a8b6034f75c95b3
2018-04-02 17:13:45 -04:00
Jim Chen 474f97832a Bug 1441279 - 2. Add selection action JS modules; r=esawin,snorp
Add JS modules for listening to accessible caret events, and relaying
those events to Java.

MozReview-Commit-ID: JPLTMzK7Nzn

--HG--
extra : rebase_source : 394cc9b74f53dc2c1ca2fb6062747c37d1d5b582
2018-04-02 17:13:45 -04:00
Jim Chen 2b57a55d1b Bug 1441279 - 1. Add SelectionActionDelegate interface; r=esawin,snorp
Add a SelectionActionDelegate interface for handling text selection.

MozReview-Commit-ID: I37Hm6nphJx

--HG--
extra : rebase_source : 2bca7ef076aaac72d3e21993b0fa3008d02c49a5
2018-04-02 17:13:45 -04:00
Dorel Luca f24505d99e Backed out 7 changesets (bug 1438688) for android xpcshell failures on builds/worker/workspace/build/tests/bin/components/test_necko.xpt
Backed out changeset 8786eabb61a4 (bug 1438688)
Backed out changeset e05ec1e08b46 (bug 1438688)
Backed out changeset 4c437ba9d984 (bug 1438688)
Backed out changeset 2f243bca1af3 (bug 1438688)
Backed out changeset 4da0e1839353 (bug 1438688)
Backed out changeset 186f916dcc7a (bug 1438688)
Backed out changeset 08b1a5f904e4 (bug 1438688)
2018-04-03 02:30:53 +03:00
Andrew McCreight fc09560f06 Bug 1438688, part 3 - Remove XPT files from the packaging process. r=glandium
Now that XPT files are not loaded from files at runtime, code for
packaging XPT files can be removed.

This means that a couple of test XPIDL interfaces will get shipped in
builds to users that weren't before, but I don't think that matters
much.

This also puts XPT files into the local objdir for the XPIDL makefile,
instead of dist/bin, because they are no longer part of the
distribution.

MozReview-Commit-ID: 7gWj8KWUun3

--HG--
extra : rebase_source : 6f7d4fd1d6cdea2c14866705a2dc972eb5f43382
2018-03-05 14:27:29 -08:00
Yura Zenevich 7aa93938b5 Bug 1449212 - adding enabled accessibility services information to core ping. r=sdaswani
MozReview-Commit-ID: 3dwvGvya5Xk
2018-04-03 15:44:35 -04:00
Jan Henning b761a2d765 Bug 1449504 - Part 1 - Truncate overly long text before sharing via an Intent. r=jchen
At least on some devices, there seems to exist some sort of intermediate danger
zone where the intent is no longer large enough to be rejected outright by the
OS, but still big enough to render Firefox inoperable through some sort of
resource exhaustion.

From Android 6.0 onwards, this doesn't matter as otherwise we would have crashed
anyway, but on previous Android versions a much too large intent will simply be
ignored, so if we truncate, but not enough, this actually makes matters worse.

The value used in this patch was chosen by attempting to share the whole
contents of planet.mozilla.org on a Samsumg S3 Mini running Android 4.1.2.
90k characters led to resource exhaustion and the screen turning black, while
85k characters still worked. On a more modern phone, even larger amounts (e.g.
100k characters, like Chrome) worked. Therefore, to have some additional margin,
a maximum limit of 80k characters will be used.

MozReview-Commit-ID: 6etHe0KUgig

--HG--
extra : rebase_source : 5f712da6cf53572dfa5c755ef097a5961a0be891
2018-03-28 22:52:14 +02:00
Jan Henning 15af7a4d5a Bug 1449504 - Part 0 - Cleanup unused imports. r=JanH
MozReview-Commit-ID: FTcXEZVgU2M

--HG--
extra : rebase_source : 388807a744f181205d932b3ea02498875b2d03b8
2018-03-28 22:43:05 +02:00
Csoregi Natalia 0a851c299c Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-31 14:07:52 +03:00
Csoregi Natalia c68e5af1fa Backed out changeset feea08fbd0fc (bug 1446202) for Android mochitest failures. CLOSED TREE 2018-03-31 14:02:22 +03:00
Oriol Brufau ee03bec4b8 Bug 1445316 - Optimize tabs.query with 'active', 'currentWindow', 'highlighted', 'index', 'lastFocusedWindow' or 'windowId' r=mixedpuppy,rpl
MozReview-Commit-ID: L5i129iC44W

--HG--
extra : rebase_source : 3e3a6c4afdf76b81029ab20c95983dbd4a3a31cd
2018-03-13 20:52:58 +01:00
Narcis Beleuzu 908c89757f Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-31 01:26:35 +03:00
Narcis Beleuzu 6968664045 Merge autoland to mozilla-central. a=merge 2018-03-31 01:18:06 +03:00
Narcis Beleuzu 2d0803379f Merge inbound to mozilla-central. a=merge 2018-03-31 00:49:19 +03:00
Jim Chen f355ba25fc Bug 1446528 - Only set resource URI redirect in parent process; r=snorp
Calling setResourceSubstitutions in the child process was causing an
error that prevented the prompt code from initializing in the child
process.

MozReview-Commit-ID: 9bE7jvglPPw

--HG--
extra : rebase_source : 87e622d52b97407aab7ec98d576b97b40c83bc5c
2018-03-30 16:05:09 -04:00
Noemi Erli ef3e8fa4db Backed out changeset eed14f951a09 (bug 1449624) for Android Nightly bustages a=backout 2018-03-30 16:25:25 +03:00
James Willcox 7fd45c210e Bug 1437701 - Add GeckoSession.ContentDelegate.onExternalResponse() r=esawin,droeh
This can be used to allow the app to handle downloads.

MozReview-Commit-ID: DlCNcP3quoO
2018-03-30 11:31:04 -05:00
James Willcox f3b7a7781f Bug 1437701 - Add GeckoBundle.getLong() r=esawin
MozReview-Commit-ID: K8qWKsP9HE9
2018-03-30 11:30:57 -05:00
James Willcox e659648f12 Bug 1437701 - Add ContentDelegate test r=esawin
MozReview-Commit-ID: 7iMbtMlApaC
2018-03-30 11:30:49 -05:00
Jim Chen ba3351522a Bug 1446202 - Return correct locale string to Gecko; r=droeh
Locale.toString() doesn't return the correct locale format that Gecko
expects, so reformat the locale string before returning. (for example,
Locale.toString() returns "en_US_POSIX#Latn" whereas Gecko expects
"en-Latn-US-POSIX"). The incorrect locale format was preventing intl
code (and the datetime box) from initializing.

MozReview-Commit-ID: JmDYkDj31pL

--HG--
extra : rebase_source : c9d1f4d042f1d0fae230e7389e057948fb41d3d9
2018-03-30 16:05:10 -04:00
Ciure Andrei 68bc832e63 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-30 01:09:21 +03:00
Ciure Andrei 5d841a3421 Merge inbound to mozilla-central. a=merge 2018-03-30 01:06:18 +03:00
Randall Barker fc6227cd10 Bug 1449829 - Prevent calling getPid() on null IChildProcess r=jchen
MozReview-Commit-ID: 32LuYFqL47n
2018-03-29 09:39:07 -07:00
Nick Alexander 2776177b56 Bug 1449624 - Make single-locale repacks use correct locale. r=mshal
This was an oversight in the landing of Bug 1443208.  We need to set
AB_CD explicitly for the invoked target.

MozReview-Commit-ID: 29lQXYiOf6a

--HG--
extra : rebase_source : 6070a803e952f15a787aab27aae488e7a148b1a9
2018-03-20 17:00:38 -07:00
Christoph Kerschbaumer a929955d1f Bug 1439713 - Change nsIContentPolicy shouldLoad to take an <uri, loadInfo> pair instead of the various args. r=bz 2018-03-29 12:16:23 +02:00
ui.manish ca709a63db Bug 1429396 - Remove toolkit/content/global/XPCNativeWrapper.js r=mconley 2018-03-28 09:53:33 +02:00
Cosmin Sabou 7e663b9fa5 Backed out changeset d345b546edce (bug 1440789) for Android nightly build bustages. a=backout 2018-03-28 16:59:28 +03:00
Margareta Eliza Balazs ecdbb83fa1 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-28 01:00:31 +03:00
Margareta Eliza Balazs adebb06ac1 Merge inbound to mozilla-central. a=merge 2018-03-28 00:48:11 +03:00
James Willcox a08e02c1bc No bug, delete unused and obsolete BaseGeckoViewTest.java r=me DONTBUILD
MozReview-Commit-ID: EqyVjpTVNf5
2018-03-27 16:32:01 -05:00
James Willcox c51b826591 No bug, fix some copyright headers r=me DONTBUILD
MozReview-Commit-ID: JWT8f1pI6ZK
2018-03-27 16:31:48 -05:00
Eugen Sawin 994b2f05f2 Bug 1440592 - [4.3] Allow load delegation when opening windows before requesting a new session. r=snorp 2018-03-27 22:35:17 +02:00
Matthew Finkel 64d273c0bd Bug 1440789 - Create built_in_addons.json at package-time on mobile r=nalexander
--HG--
extra : rebase_source : 307839988addee10fa6e2d73978b0b6430b64564
2018-03-02 05:38:32 +00:00
Dylan Roeh b052d2bcc6 Bug 1448583 - Call onCanGoBack/Forward for non-top-level location changes. r=snorp 2018-03-27 10:03:30 -05:00
Franziskus Kiefer 806baa5430 Bug 1415279 - Move error strings for certError and netError pages to frontend, r=johannh,keeler,Honza,snorp
This patch moves all TLS error string handling to the frontend.
Dev-tools doesn't show the same error code as the page does anymore but only the error code as string.
All logging of these error messages has been removed.

Bug #: 1415279

Differential Revision: https://phabricator.services.mozilla.com/D607

--HG--
extra : rebase_source : 61e2d94cb21ef4c02b81448531609205c85a9707
2018-03-27 13:31:52 +02:00
Dylan Roeh 67733dd37f Bug 1448163 - Return after responding in onLoadRequest in Custom Tabs and PWAs. r=esawin 2018-03-26 13:44:48 -05:00
Matt Brubeck 941918fd02 Bug 1446542 - Handle contextmenu events on about:logins on Android. r=mbrubeck
MozReview-Commit-ID: HF6zLJLNvzu

--HG--
extra : rebase_source : 84a9dec7c95ad49f6b7d5b39b9330a201f6bef89
2018-03-16 14:17:02 -07:00
Bogdan Tara 39d9b048b9 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-27 12:16:26 +03:00