Commit Graph

25556 Commits

Author SHA1 Message Date
Dorel Luca
6ad641c5c4 Merge mozilla-inboud to mozilla-central. a=merge 2018-02-22 11:59:54 +02:00
Eugen Sawin
05eba99d35 Bug 1432235 - [1.2] Move GeckoView API classes to org.mozilla.geckoview. r=snorp,jchen 2018-02-22 00:46:26 +01:00
Grigory Kruglov
09f51f2e63 Bug 1429735 - Pre: cleanup some unused helper methods r=nalexander
MozReview-Commit-ID: vpnFdFYf4V

--HG--
extra : rebase_source : 16b8edf20f862f9f7dbb9feb6124d6d104424bb5
2018-01-23 16:05:11 -05:00
Nick Alexander
5d736e0310 Bug 1439459 - Expose MOZ_ANDROID_GOOGLE_PLAY_SERVICES to AndroidManifest.xml. r=Grisha
This was oversight when landing Bug 1419581, coupled with dedicated
testing by Grisha.  We don't expose all CONFIG values as DEFINES by
default, and I forgot to add the relevant value to the exposure list.

MozReview-Commit-ID: GUYNWampBAJ

--HG--
extra : rebase_source : f946f2630f2e9120d03b05a4677815e73ab6851a
2018-02-20 10:06:13 -08:00
Zibi Braniecki
cd219b53b0 Bug 1431260 - Switch Android code to read multilocale.txt. r=rnewman
MozReview-Commit-ID: 6S4VaAvDako

--HG--
extra : rebase_source : 90bc489755aab0e58a67be16c0114833744c6a0c
extra : source : 3e1d4584acb20b4b0b201fe0d29363010d0dfa7c
2018-02-13 23:42:34 -08:00
Zibi Braniecki
dba8ca857b Bug 1431260 - Switch multilocale.json to multilocale.txt in the build system. r=gps
MozReview-Commit-ID: 6S4VaAvDako

--HG--
extra : rebase_source : 29cc2e3416413363a40e77c10a95db7736497948
2018-02-13 23:42:14 -08:00
Mark Banner
2762cbd5c2 Bug 1439838 - Enable ESLint rule no-unused-vars for the same directories in mobile/android as no-undef. r=JanH
MozReview-Commit-ID: 1popN3tahBx

--HG--
extra : rebase_source : 1cc950c6de7ecf8658f174fb48e6a8afe0a1b1c9
2018-02-21 09:22:03 +00:00
Jim Chen
c35b2c3fb7 Bug 1439610 - Fix origin under e10s in GeckoViewProgress; r=droeh
Use the current principal to get the origin, so things work under e10s.
Also reorganize some of the code in checkIdentity.

MozReview-Commit-ID: 2heqVMQ7vam

--HG--
extra : rebase_source : 7e67d223aaf366115ac2b3e35bfcb56fba9766f2
2018-02-20 14:31:13 -05:00
Mark Banner
aa71c1a3b2 Bug 1439380 - Remove uses of Promise.jsm from mobile/android. r=nechen
MozReview-Commit-ID: KzrWz3K6vva

--HG--
extra : rebase_source : 1b112deaf4b0cea1742ec1742981460513bd6242
2018-02-19 15:50:26 +00:00
Dorel Luca
037478c033 Backed out 9 changesets (bug 1410456) for Mochitest failure on mobile/android/tests/browser/chrome/test_media_playback.html
Backed out changeset 36f6b40dfa88 (bug 1410456)
Backed out changeset 19f3248502d9 (bug 1410456)
Backed out changeset 18ef18999175 (bug 1410456)
Backed out changeset 0ec75a56b4c7 (bug 1410456)
Backed out changeset f7eae1545d5e (bug 1410456)
Backed out changeset d59060ecd24c (bug 1410456)
Backed out changeset f996b9dce4a6 (bug 1410456)
Backed out changeset 1f75636b5bce (bug 1410456)
Backed out changeset c170d37b1a04 (bug 1410456)
2018-02-19 21:45:10 +02:00
Eugen Sawin
327a3bcb38 Bug 1410456 - Allow OMT access to Android system audio properties. r=esawin
MozReview-Commit-ID: DQ8ubHECtBQ

--HG--
extra : rebase_source : 1a6314681b6ad0e00950e5e06d602e2ca2e8348e
2018-02-19 18:28:09 +02:00
Jim Chen
9cf5255ceb Bug 1438682 - 2. Implement dummy closeConnection; r=esawin
closeConnection is a new API introduced in N. We don't really support it
at the moment but we also don't want the default behavior, so we
implement a dummy.

MozReview-Commit-ID: JY1Tl30X2s7

--HG--
extra : rebase_source : a64371a05aed9db957df2a97da5b23c90760cdb1
2018-02-15 18:06:07 -05:00
Jim Chen
a1a66f9c59 Bug 1438682 - 1. Cache initial selection offsets; r=esawin
Getting the selection offsets in onCreateInputConnection can fail
because of us being on a wrong thread. The solution is to cache the last
selection offsets and use those in onCreateInputConnection.

MozReview-Commit-ID: AOlZsuOvzHm

--HG--
extra : rebase_source : 42f35bc60219707fc29db7cc2803f64313806244
2018-02-15 18:06:06 -05:00
Thomas Wisniewski
14c2bbe588 Bug 792808 - Change mobile/android/ to import and instantiate XHRs from global properties rather than using Cc.createInstance(Ci.nsIXMLHttpRequest); r=sebastian
MozReview-Commit-ID: JHIHB11vdWL

--HG--
extra : rebase_source : ac365f5a97f5b2c8ddfcda1d5444dbd4cc6a240e
2017-09-19 12:05:47 -04:00
Timothy Guan-tin Chien
a2a559db3e Bug 1234008 - Recompress some png images with zopflipng r=Dolske,Grisha,jryans
MozReview-Commit-ID: Cr2iMSB04uu

--HG--
extra : rebase_source : 49f69cca3a4f27af1060ed82283b5cc96f717229
2018-01-27 15:57:42 +08:00
Narcis Beleuzu
2d9816273c Merge inbound to mozilla-central. a=merge 2018-02-16 11:49:59 +02:00
Dylan Roeh
8819d6c766 Bug 1432233 - Eliminate GeckoBundles from public APIs in GeckoSession. r=snorp 2018-02-15 12:44:32 -06:00
Margareta Eliza Balazs
55aa0e75d6 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-15 22:43:18 +02:00
Dylan Roeh
5457d433a9 Bug 1438342 - Fix context menu for media elements in GV. r=snorp
We're currently determining whether a node is a media element by checking if the node's classname is HTMLMediaElement; but that's an abstract class and thus the condition is never satisfied. This checks against the concrete HTMLVideoElement and HTMLAudioElement classes instead.
2018-02-14 15:49:52 -06:00
Andreea Pavel
2a7b1dfa56 Merge mozilla-central to autoland. on a CLOSED TREE 2018-02-15 12:34:12 +02:00
Andreea Pavel
74b7ffee40 Merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : js/src/jscompartment.cpp => js/src/vm/JSCompartment.cpp
rename : js/src/jscompartment.h => js/src/vm/JSCompartment.h
rename : js/src/jsscript.cpp => js/src/vm/JSScript.cpp
rename : js/src/jsscript.h => js/src/vm/JSScript.h
extra : amend_source : 9c233cb959c45e401189d089a094f9d141d2b912
2018-02-15 12:24:21 +02:00
Snowrries
6eed2ab7a2 Bug 1435060 - Allow keyword bookmark as search query; r=JanH
Function queryExists added to StringUtils to check
if a given URL allows for arguments.
Tests for said function added to TestStringUtils.
Function loadUrlOrKeywordSearch in BrowserApp.java updated to also pass
the entire entered string along regardless of whether or not the first
words are keyword bookmarks iff there is additional text after the
keyword bookmark, and the keyword bookmark does not accept any input arguments

MozReview-Commit-ID: 2eyi5Botd3F

--HG--
extra : rebase_source : a08dd11a1595051a2dc727cc361cebecc14fa8c8
2018-02-14 03:07:13 -05:00
Dorel Luca
75f385b6d6 Merge mozilla-centra to mozilla-inbound 2018-02-15 00:37:44 +02:00
Dorel Luca
4234703a53 Merge mozilla-inbound to mozilla-central a=merge 2018-02-15 00:23:02 +02:00
Dorel Luca
90035255ae Merge autoland to mozilla-central a=merge 2018-02-15 00:19:43 +02:00
Jim Chen
784142edc5 Bug 1391268 - 4. Display message when APK is corrupt; r=snorp
Display a message on startup when the APK is corrupt. Right now the
"wrong SDK" message is displayed. I think we can potentially reuse that
message for Beta, but we need a different message for Nightly.

MozReview-Commit-ID: 9NEw252Ytkc
2018-02-14 16:56:54 -05:00
Jim Chen
ef4e739d2a Bug 1391268 - 3. Detect corrupt APK when loading libs; r=snorp
On the second pass after failing the first time to load libraries,
enable CRC verification and detect if the APK is corrupt. In that case,
instead of crashing, we send out an event to the application.

MozReview-Commit-ID: 4b97Z8EUHZe
2018-02-14 16:56:54 -05:00
Jim Chen
589e7e1a01 Bug 1391268 - 1. Add call to verify CRC; r=glandium
To reliably detect corrupt APK, this patch adds a GeckoLoader.verifyCRC
call to enable verification of CRC before extracting libs.

MozReview-Commit-ID: 5EpIfwREGIv
2018-02-14 16:56:54 -05:00
L10n Bumper Bot
4be2a1313f no bug - Bumping Fennec l10n changesets DONTBUILD r=release a=l10n-bump
km -> default
meh -> default
tl -> default
2018-02-14 03:40:46 -08:00
Dylan Roeh
c34f6ed90c Bug 1391076 - Update GeckoSession.setActive to focus/blur as appropriate. r=snorp 2018-02-12 12:38:11 -06:00
Jan Henning
ce7ac5c8a9 Bug 1437388 - Don't set different session store write interval while in background. r=esawin
We had some issues with tabs closed shortly before backgrounding Firefox re-
appearing during session restore, however in hindsight bug 1282830 (closing a
zombie tab didn't trigger a session store file write) seems a more likely cause
for that than my initial theory from bug 1256277 comment 6 (tab events
dispatched *just* before backgrounding might be processed only after our
application-background handling), because as far as I can tell the latter theory
actually requires really split-second timing.

With that in mind, the differing, smaller minimum file write interval while in
background can be removed again.

MozReview-Commit-ID: GSQZYKeYME6

--HG--
extra : rebase_source : 598f49df98b7a09d63cd7e0aad6ad079916fad99
2018-02-11 19:43:16 +01:00
Eugen Sawin
0d21e3454c Bug 1436887 - [1.1] Add GeckoView prefs file. r=snorp,jchen 2018-02-14 19:52:20 +01:00
Dorel Luca
dabf7b41ee Merge mozilla-central to autoland. CLOSED TREE
--HG--
extra : amend_source : 021950f3661e3b1d96e768155c5754b7af039f84
2018-02-15 00:35:45 +02:00
Adrian Wielgosik
6c854a7275 Bug 1438270 - Remove nsIDOMDocumentXBL. r=bz
MozReview-Commit-ID: 4TsjUaEdDP2

--HG--
extra : rebase_source : ab61d1832113a8c7b126b8856de59056fcf5ec5e
2018-02-14 20:10:45 +01:00
Nick Alexander
68000223b0 Bug 1437201 - Part 0: Use toolchain clang for host compiler on Android. r=froydnj
MozReview-Commit-ID: DgwfKbjEuIq

--HG--
extra : rebase_source : cdd73c729a063507b841297520cafb8d20a8dc65
2018-02-13 10:32:18 -08:00
Jim Chen
5e9435a262 Bug 1434469 - Add ACCESS_COARSE_LOCATION to list of permissions; r=snorp
Add ACCESS_COARSE_LOCATION to the Fennec and GeckoView list of
permissions. For completeness, also add ACCESS_COARSE_LOCATION to JS
modules that handle runtime permissions.

MozReview-Commit-ID: 8UHaiJcRnq

--HG--
extra : rebase_source : 5a74d4138d6d7b4bf6cf70724f695ff06201c38c
2018-02-13 13:01:18 -05:00
Alex Gaynor
de20b74dc4 Bug 1407693 - Part 2 - when a child process crashes, write extra annotation data to a pre-opened file descriptor instead of creating a new file; r=gsvelto,rbarker
This removes the need for the content process to have permissions to create new
files on macOS, allowing more aggressive sandboxing.

MozReview-Commit-ID: 8agL5jwxDSL

--HG--
extra : rebase_source : 17ebcef3e9d24f3d4e7515e3fae95e65cef76a79
2017-11-27 14:37:34 -06:00
Suhail Alkowaileet
b2174ae597 Bug 1432854 - Fix Tab counter doesn't show native numbers for non-arabic numeral languages r=JanH
MozReview-Commit-ID: 3STmgEGAbJG

--HG--
extra : rebase_source : be198c358e765471c95a7ec678848b04f768111f
2018-02-08 18:26:00 +03:00
Bogdan Tara
5bbbbe17bc Merge inbound to mozilla-central. a=merge 2018-02-10 11:57:47 +02:00
Tim Nguyen
4fd514d97b Bug 1429573 - Remove spinbuttons.xml bindings now that they are unused. r=Paolo
MozReview-Commit-ID: Cbj7vZcrDrL

--HG--
extra : rebase_source : 9b844911072ab2cc526f4ad16838e83f44a230da
2018-02-09 21:54:42 +00:00
Sebastian Hengst
87f465d8f7 merge mozilla-central to mozilla-inbound. CLOSED TREE
--HG--
extra : amend_source : 0e657a5dd4f6c8893d3f5ab7b173e3c4178e9e61
2018-02-10 00:29:53 +02:00
Eugen Sawin
520f595f89 Bug 1434210 - [2.0] Trim selection text for search. r=snorp 2018-02-09 21:35:49 +01:00
Jim Chen
3cb126bc3d Bug 1432160 - Initialize PushService for custom tabs / PWA; r=snorp
We currently initialize PushService on delayed startup, which only
happens when Fennec is launched. This patch makes us also initialize
PushService if needed by web content from custom tabs / PWA, by
listening for the push initialization event in GeckoApplication.

MozReview-Commit-ID: 9CTOEZmOqls

--HG--
extra : rebase_source : ccd7d8e61e1de5de8ded1f6793234eb885c92672
2018-02-08 18:33:19 -05:00
Csoregi Natalia
2d4c080565 Backed out 2 changesets (bug 1429573) for reftest failures /tests/reftest/tests/editor/reftests/xul/number-3.xul. on a CLOSED TREE
Backed out changeset bd6892535d35 (bug 1429573)
Backed out changeset 1c398da94994 (bug 1429573)
2018-02-09 16:56:39 +02:00
Tim Nguyen
96e5c9837c Bug 1429573 - Remove spinbuttons.xml bindings now that they are unused. r=Paolo
MozReview-Commit-ID: 6sb1zcGv4k9

--HG--
extra : rebase_source : 35636617336551fb3aadc8fb321c66b5e5993239
2018-02-09 13:53:49 +00:00
arthur.iakab
f58e902071 Backed out 2 changesets (bug 1429573) for failing reftest on reftest/tests/editor/reftests/xul/number-3.xul on a CLOSED TREE
Backed out changeset 75364898f5f6 (bug 1429573)
Backed out changeset fe69b415f45b (bug 1429573)
2018-02-09 23:27:59 +02:00
Tim Nguyen
9235487cb3 Bug 1429573 - Remove spinbuttons.xml bindings now that they are unused. r=Paolo
MozReview-Commit-ID: D7cMQyriekm

--HG--
extra : rebase_source : 189fe22d8b9619707753773b92f83bbdef3a247a
2018-02-09 19:24:11 +00:00
Cosmin Sabou
bc9a975314 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-02-09 02:32:28 +02:00
Cosmin Sabou
2400be0754 Merge inbound to mozilla-central. a=merge 2018-02-09 02:29:56 +02:00
Jim Chen
e85d442ce0 Bug 1427239 - Always create FormAssistPopup in WebAppActivity; r=droeh
Right now we create FormAssistPopup in WebAppActivity based on whether
the manifest is successfully loaded. We should always create it because
we always try to destroy it in onDestroy().

MozReview-Commit-ID: KskEZmYrDS1

--HG--
extra : rebase_source : bef84833438aa425a154bdf89cfa61dda7d8651d
2018-02-08 13:44:54 -05:00