Commit Graph

25512 Commits

Author SHA1 Message Date
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
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
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
Jim Chen
46eaff60e5 Bug 1434925 - Skip drawing hidden toolbar elements; r=rbarker
Apparently a toolbar element can be zero-sized when we try to draw it to
the bitmap. We should just skip drawing in that case.

MozReview-Commit-ID: LlFQX5uN20h

--HG--
extra : rebase_source : cc3ba0cce8157274ef758530888629d4d372d0c0
2018-02-08 13:55:15 -05:00
Jim Chen
243a24b3e1 Bug 1435499 - Guard against OOM when getting toolbar pixels; r=rbarker
Guard against OOM errors when getting toolbar pixels, and send a failure
message back to compositor when OOM happens.

MozReview-Commit-ID: FooZlE979DD

--HG--
extra : rebase_source : 98104304d20c26f4764c14e07c1edbb1e52b649f
2018-02-08 13:23:35 -05:00
Dylan Roeh
5f5a90ae77 Bug 1434126 - Call GeckoSession.closeWindow() from onDestroy() in CustomTabsActivity and WebAppActivity. r=snorp 2018-02-08 12:15:08 -06:00
Narcis Beleuzu
d299fdd9b4 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-08 21:36:33 +02:00
Andrew McCreight
b7bb86d0d4 Bug 1436184 - Remove definitions of Ci, Cr, Cc, and Cu from httpd.js and .sjs files. r=florian
MozReview-Commit-ID: IKKb9zr2OSf

--HG--
extra : rebase_source : 72d949405c18e6d421422e7865182352eee0c407
2018-02-06 15:03:13 -08:00
Jim Chen
a361be5f80 Bug 1326101 - 2. Fix some GeckoBundle bugs; r=snorp
Fix some GeckoBundle tests uncovered by the new unit test.

MozReview-Commit-ID: FEKryW81R2y
2018-02-08 13:36:22 -05:00
Jim Chen
397b87dfe2 Bug 1326101 - 1. Add unit test for GeckoBundle; r=snorp
Add a unit test for GeckoBundle, which tests GeckoBundle more thoroughly
than testEventDispatcher. This also lets us remove the Parcelable test
from testEventDispatcher.

MozReview-Commit-ID: Gn48Zw4Rvx5
2018-02-08 13:36:22 -05:00
Jim Chen
50ae81a660 Bug 1433322 - 3. Run GeckoView unit tests with 'mach android test'; r=nalexander
Run unit tests under geckoview/ when running 'mach android test'. This
also lets us run those tests on Taskcluster.

The test report parser for 'mach android test' had a bug where the input
directory was wrong. As a result, we weren't producing test output at
all. This patch fixes the input directory, and outputs an error if no
reports are found at all to avoid this bug in the future.

MozReview-Commit-ID: IiswQaSPCr0
2018-02-08 13:36:22 -05:00
Jim Chen
338a932c87 Bug 1433322 - 2. Mass move GeckoView unit tests to under geckoview/; r=nalexander
These tests involve GeckoView classes, so move them to under geckoview/.
We use a custom test runner for Fennec unit tests, but I didn't notice
any problems when using standard test runners (e.g. MockitoJUnitRunner),
so I changed these tests to use standard runners.

MozReview-Commit-ID: 7JMhqJqahTC

--HG--
rename : mobile/android/app/src/test/java/org/mozilla/gecko/permissions/TestPermissions.java => mobile/android/geckoview/src/test/java/org/mozilla/gecko/permissions/TestPermissions.java
rename : mobile/android/app/src/test/java/org/mozilla/gecko/util/NetworkUtilsTest.java => mobile/android/geckoview/src/test/java/org/mozilla/gecko/util/NetworkUtilsTest.java
rename : mobile/android/app/src/test/java/org/mozilla/gecko/util/TestContextUtils.java => mobile/android/geckoview/src/test/java/org/mozilla/gecko/util/TestContextUtils.java
rename : mobile/android/app/src/test/java/org/mozilla/gecko/util/TestDateUtil.java => mobile/android/geckoview/src/test/java/org/mozilla/gecko/util/TestDateUtil.java
rename : mobile/android/app/src/test/java/org/mozilla/gecko/util/TestFileUtils.java => mobile/android/geckoview/src/test/java/org/mozilla/gecko/util/TestFileUtils.java
rename : mobile/android/app/src/test/java/org/mozilla/gecko/util/TestFloatUtils.java => mobile/android/geckoview/src/test/java/org/mozilla/gecko/util/TestFloatUtils.java
rename : mobile/android/app/src/test/java/org/mozilla/gecko/util/TestIntentUtils.java => mobile/android/geckoview/src/test/java/org/mozilla/gecko/util/TestIntentUtils.java
rename : mobile/android/app/src/test/java/org/mozilla/gecko/util/TestStringUtils.java => mobile/android/geckoview/src/test/java/org/mozilla/gecko/util/TestStringUtils.java
rename : mobile/android/app/src/test/java/org/mozilla/gecko/util/TestUUIDUtil.java => mobile/android/geckoview/src/test/java/org/mozilla/gecko/util/TestUUIDUtil.java
2018-02-08 13:36:22 -05:00
Jim Chen
ff9b633e5e Bug 1433322 - 1. Move publicsuffix utils to under Fennec; r=nalexander
The publicsuffix utils are not used in GeckoView and more importantly,
their accompanying asset is only included in Fennec and not GeckoView.
Therefore, it makes sense to move the utils to Fennec.

MozReview-Commit-ID: A5jhiqURUdB

--HG--
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/util/publicsuffix/PublicSuffix.java => mobile/android/base/java/org/mozilla/gecko/util/publicsuffix/PublicSuffix.java
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/util/publicsuffix/PublicSuffixPatterns.java => mobile/android/base/java/org/mozilla/gecko/util/publicsuffix/PublicSuffixPatterns.java
2018-02-08 13:36:21 -05:00
Noemi Erli
919e711783 Backed out changeset fa7b76f98931 (bug 1434126) for Deleting file '.gradle.deps'bustages on a CLOSED TREE 2018-02-08 19:10:40 +02:00
shindli
0fcb667b73 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-08 12:13:08 +02:00
Ciure Andrei
8dd2a49ca4 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-02-08 00:33:37 +02:00
Delphine Lebédel
ccdfd8d197 Bug 1430952 - Add 'tl', 'km' and 'meh' to Fennec all-locales for single-locale builds, r=flod
MozReview-Commit-ID: FApINlDzv3d

--HG--
extra : rebase_source : bcfec7f2dbe3c97d5d96aa40c674efc8df511d7a
2018-02-07 16:21:37 -08:00
Mark Banner
606beee3f2 Bug 1230369 - Manually fix some remaining instances of Ci/Cc/Cu definitions and switch Components.* to using the shorthand in some places. r=florian
MozReview-Commit-ID: 9SmoR9RlvZE

--HG--
extra : rebase_source : 054e14150921615ed67415ddb91b45169cc868d4
2018-02-07 09:24:15 +00:00
Dylan Roeh
cb9419b55e Bug 1434126 - Call GeckoSession.closeWindow() from onDestroy() in CustomTabsActivity and WebAppActivity. r=snorp 2018-02-07 09:15:12 -06:00
Thom Chiovoloni
b43432e557 Bug 1389233 - Record outgoing batches in the android sync ping r=Grisha
MozReview-Commit-ID: JUHSMluUE8q

--HG--
extra : rebase_source : 70616ba96961c53ccbd0cf27830ebb3ad061dd52
2018-01-31 16:13:19 -05:00
Andreea Pavel
7c97cadaf2 Backed out changeset 1889332abc68 (bug 1436271) for android test failure on a CLOSED TREE 2018-02-07 21:09:19 +02:00
Andrew Gaul
7ae797fc80 Bug 1436271: Replace calls to String.getBytes(String) with String.getBytes(Charset) r=nalexander
Also replace calls to String(byte[], String) with String(byte[], Charset).  This
removes some cannot-happen exception handling.
2018-02-06 22:12:33 -08:00
Dylan Roeh
1c29a391df Bug 1432624 - Left-truncate and ellipsize domain in custom tabs to reduce phishing risk. r=snorp 2018-02-07 09:23:47 -06:00
Jeremy Lempereur
9e6a7ee1f9 Bug 1249596 - Part 1: Remove FHR client id migration code on Android. r=nalexander
Removed FHR client id migration code on the Android side.

MozReview-Commit-ID: X9QKtbh6r3

--HG--
extra : rebase_source : f5587789f6980aecc4309dc329eb051650ad4c6f
2018-01-31 23:50:53 +01:00
Cameron McCormack
73774a4b98 Bug 1435666 - Part 4: Remove nsIDOMXPathEvaluator. r=bz
MozReview-Commit-ID: 2nZmbJ9mdwI

--HG--
extra : rebase_source : 3acc54ac7726de2ff00a9b7ddadfcb7e28f573eb
2018-02-05 13:05:45 +08:00
Cameron McCormack
234b89c117 Bug 1435666 - Part 3: Remove nsIDOMXPathResult. r=bz
MozReview-Commit-ID: 9j6dUlanNTi

--HG--
extra : rebase_source : 9a790516379441d4e048009bcacdd26e93fde6ae
2018-02-05 11:39:18 +08:00
Cameron McCormack
70af884bbd Bug 1435666 - Part 2: Remove nsIDOMTimeEvent. r=bz
MozReview-Commit-ID: F2fYWhUKzyp

--HG--
extra : rebase_source : 4dc8397fe050262463d37a9829130c0af707f4ba
2018-02-05 10:31:43 +08:00
Cameron McCormack
a3eee241b4 Bug 1435666 - Part 1: Remove nsIDOMSVGElement. r=bz
MozReview-Commit-ID: Hlfnu3pXC0n

--HG--
extra : rebase_source : b50343bbebe2044442af4491f7c97209ad8d4fc0
2018-02-04 17:40:57 +08:00
Andrew McCreight
5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Narcis Beleuzu
84cea84b12 Merge inbound to mozilla-central. a=merge 2018-02-06 11:54:42 +02:00
Jan Henning
563537e684 Bug 1415277 - Part 2 - Only load the selected tab when restoring multiple tabs. r=esawin
The same situation applies when restoring recently closed tabs. In this case, we
can also display a nicer title for those lazily-loaded tabs by making use of the
session store data.

MozReview-Commit-ID: AJiEkTEVAUz

--HG--
extra : rebase_source : a36e0bb0cd4e3e8d62368f1ee5f51ad0c080027c
2018-02-02 21:15:28 +01:00
Jan Henning
8210e8b17e Bug 1415277 - Part 1 - Only load the selected tab when opening multiple tabs. r=esawin
Processing the contents of the tab queue will open a potentially large number of
tabs. To avoid overloading the device we should therefore only load the new
foreground tab and leave the rest to be loaded on demand, when the user selects
one of them.

MozReview-Commit-ID: 9cjoLPRscRl

--HG--
extra : rebase_source : b32f46507156cf38460cd89a8cde09a8f7a51505
2018-02-02 21:11:02 +01:00
Jan Henning
ea811fe9a1 Bug 1392996 - Part 2 - Enable view-source word-wrapping by default in Fennec. r=snorp
MozReview-Commit-ID: FpQNzbS9ixY

--HG--
extra : rebase_source : 8a79f883fec07635810ac7fd94aa1bfe157c1c28
2018-01-27 22:58:33 +01:00
Noemi Erli
3d09e55d55 Merge inbound to mozilla-central. a=merge 2018-02-03 11:52:03 +02:00
Andreea Pavel
5cb4690609 Backed out 6 changesets (bug 1423229) for failing browser chrome at browser/base/content/test/siteIdentity/browser_bug1045809.js and firefox functional at testing/firefox-ui/tests/functional/security/test_mixed_script_content_blocking.py TestMixedScriptContentBlocking.test_mixed_content_page and mochitest devtools at devtools/client/webconsole/test/browser_webconsole_block_mixedcontent_securityerrors.js on a CLOSED TREE
Backed out changeset 2ee49f44e617 (bug 1423229)
Backed out changeset 30d1575f5b16 (bug 1423229)
Backed out changeset 39d76cb8c73e (bug 1423229)
Backed out changeset 8ff1f049ac96 (bug 1423229)
Backed out changeset c86887b7f327 (bug 1423229)
Backed out changeset 5417194f3778 (bug 1423229)
2018-02-03 01:12:45 +02:00
Delphine Lebédel
9c2a68ffc5 Bug 1431564 - [meh] Search engine setup for Firefox Mobile for Mixteco Yucuhiti, r=flod
MozReview-Commit-ID: 8LHUIxaioW5

--HG--
extra : rebase_source : 97a1780d2a5f5903b620b20a4f21d08f8a9ae2ba
2018-02-02 10:38:09 -08:00
Florian Quèze
2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Boris Zbarsky
0e718778d9 Bug 1434819 part 9. Remove nsIDOMNodeFilter. r=qdot
MozReview-Commit-ID: JsxGp9HQ2ak
2018-02-01 14:26:13 -05:00
Csoregi Natalia
5a9ee59e75 Merge inbound to mozilla-central. a=merge 2018-02-01 20:11:41 +02:00
Nathan Froyd
38a5bb5c84 Bug 1412006 - part 3 - add an Android NDK repackaging task; r=dustin,nalexander; f=glandium
We'd like to install the NDK through the Android SDK manager.  But we
can't pin versions of the NDK with the SDK manager, and so Google
can silently upgrade the NDK on us.  Since that is undesirable, this is
the next best thing.

With the toolchain task in hand, we can make all the relevant tasks
depend on the toolchain task and remove the download of the NDK from
tooltool as well.
2018-02-01 09:59:23 -05:00
Delphine Lebédel
fb4aad3168 Bug 1430957 - [tl] Search engine setup for Firefox Mobile for Tagalog, r=flod
MozReview-Commit-ID: D4iqh0OT6WD

--HG--
extra : rebase_source : aa554dea772a29226df41e9c5cea46e2180addcc
2018-01-31 15:48:17 -08:00
Jan Henning
3a1892a89a Bug 832990 - Part 2 - Save and restore menu item caches via savedInstanceState. r=Grisha
MozReview-Commit-ID: 6x5BDqhwabS

--HG--
extra : rebase_source : ac208a2eee5d26b9da765101ddf439a50087df9c
2018-01-25 20:47:16 +01:00
Jan Henning
f54aff1972 Bug 832990 - Part 1 - Make MenuItemInfo classes parcelable. r=Grisha
Longer term, the MenuItemInfo handling needs to be moved out of BrowserApp in
order to solve bug 1414084 [1], but the easier short term solution is to just
save the cached menu data via the savedInstanceState. This means that
MenuItemInfo and friends have to be made parcelable.


[1] Because of GeckoView, add-ons may load (and attempt to add menu items) while
BrowserApp isn't even alive.

MozReview-Commit-ID: HzPe7ZKbJOj

--HG--
extra : rebase_source : a38d3119c863ca48fdbd068b634c76681a3bfd34
2018-01-25 20:20:35 +01:00
Jan Henning
ae39e15f59 Bug 832990 - Part 0 - Improve comment wording. r=Grisha
Since custom tabs and PWAs were moved to GeckoView, we're down to one
GeckoApp-based activity again.

MozReview-Commit-ID: 1zO6JTDptpp

--HG--
extra : rebase_source : 1e65963fddeb53a3522422a902bdfbb3408a251a
2018-01-25 20:46:27 +01:00
Eugen Sawin
eff510dfb1 Bug 1423229 - [6.0] Add missing file to build config on a CLOSED TREE. r=bustage 2018-02-02 23:17:35 +01:00