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

25545 Коммитов

Автор SHA1 Сообщение Дата
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
Eugen Sawin 1562c50f0d Bug 1423229 - [5.0] Fix linter errors. r=me 2018-02-02 22:56:52 +01:00
Eugen Sawin 85ea608938 Bug 1423229 - [4.0] Add support for category-based tracking lists. r=francois 2018-02-02 22:36:33 +01:00
Eugen Sawin b6234dd422 Bug 1423229 - [3.3] Add example tracking protection listener to geckoview_example. r=snorp 2018-02-02 22:36:30 +01:00
Eugen Sawin 00bfd8902a Bug 1423229 - [2.4] Add GeckoView tracking protection API and module. r=snorp 2018-02-02 22:36:27 +01:00
Nathan Froyd 796f266cda Bug 1435392 - remove ANDROID_NDK_VERSION* variables from Android common mozconfig; r=nalexander
These are wildly out of date, and unused besides.
2018-02-02 16:34:31 -05:00
Eugen Sawin 86a254d584 Bug 1435290 - [1.0] Enable automatic image resizing for Fennec and custom tabs. r=kats 2018-02-02 19:16:51 +01:00
Eugen Sawin 9b75a22227 Bug 1423229 - [3.3] Add example tracking protection listener to geckoview_example. r=snorp 2018-02-05 22:10:34 +01:00
Eugen Sawin 0f8670722d Bug 1423229 - [2.5] Add GeckoView tracking protection API and module. r=snorp 2018-02-05 22:10:34 +01:00
Nick Alexander a8fd11ad6f Bug 1411654 - Post: Cull unused variables; guard more with MOZ_BUILD_MOBILE_ANDROID_WITH_GRADLE. r=maliu
MozReview-Commit-ID: 8EGzVISIEQZ

--HG--
extra : rebase_source : 300f6a6656b87a4b487ec7ec331446b326371665
extra : source : cfad693be9185ae858a29a715b3e5a6d2d3d6fbf
2017-11-14 15:03:52 -08:00
Nick Alexander f452e71db0 Bug 1411654 - Part 5c: Work through ResourceUnused lint issues. r=mcomella
MozReview-Commit-ID: 82rgLEEMQzG

--HG--
extra : rebase_source : 233c8360a8d719f568b31fb60b5f39eded67475d
extra : source : 55776829a744ec20be08d29083c4b39b9519b9b4
2017-11-14 19:20:16 -08:00
Nick Alexander c4499269d8 Bug 1411654 - Part 5b: Work through WrongConstant lint issues. r=mcomella
MozReview-Commit-ID: 6zJ7EMu9rgO

--HG--
extra : rebase_source : d3a228caa4c21ce17184302559f3a8e233fb00b7
extra : source : c5bf85d56fedf600363dda3b077fdf950ba60688
2017-11-14 15:36:49 -08:00
Nick Alexander 6ee03c9306 Bug 1411654 - Part 6: Fix checkstyle. r=mcomella
MozReview-Commit-ID: GPRogNGKQBJ

--HG--
extra : rebase_source : e57845d2202a5b70a4e35b689e71de004beac423
extra : source : c270f97bb0da1347151bb429c81bba0044545da5
2017-11-14 09:49:27 -08:00
Nick Alexander 5493c31710 Bug 1411654 - Part 5: Work through various new lint issues. r=mcomella
MozReview-Commit-ID: AhrT7jbztE3

--HG--
extra : rebase_source : 452574bdf2271f1faa6484b462a6febcf8cef714
extra : source : fde9bf9c14c31c11b4e9279ae7b56b94b5a02d53
2017-11-08 10:11:25 -08:00
Nick Alexander 42f84f5c5d Bug 1411654 - Part 4: Use flavorDimensions to simplify {with,without}GeckoBinaries logic. r=maliu
MozReview-Commit-ID: 2rbsP6A0BY0

--HG--
extra : rebase_source : 7ef95b9c3b7e2aef0c71e7c421acfd9b35e61bb2
extra : source : 01836fd98c6351667c70cfd187cf1e3c437e1f94
2017-11-09 16:47:05 -08:00
Nick Alexander 0a04218739 Bug 1411654 - Part 3: Make each variant handle source from moz.build. r=maliu
The advantage of doing this per-variant is that we can really separate
the 'local' behaviour (re-generate via re-entrant |mach build|
invocations) from the 'official' behaviour (never re-generate via
re-entrance).

This also uses new Android-Gradle plugin 3.0+ APIs to integrate the
generated resources and Java code.

MozReview-Commit-ID: 4pd2iw1nJSb

--HG--
extra : rebase_source : 205080d3822f59bcdd5d3b44de2898ff775f5746
extra : source : 730a70767743b74a7e3a1fcf4018540edfdf30a3
2017-11-09 13:47:46 -08:00
Nick Alexander ea45b76573 Bug 1411654 - Part 2: Update Robolectric to 3.5.1. r=mcomella
There were a few API changes, mostly around explicitly creating
Services/Activities/ContentProvider instances, but they were pretty
easy to address.

Sadly, Robolectric doesn't really work with the new aapt2 processing
in Android-Gradle plugin 3.0+ -- see in particular
https://github.com/robolectric/robolectric/issues/3333#issuecomment-324300418
-- so we have to opt-out of the new implementation for now.  Hopefully
plugin 3.1+ will address these issues, which are widespread.

MozReview-Commit-ID: dlbd32kMs6

--HG--
extra : rebase_source : fe30729161e5dc91ea9173f9b7aaa9135d096791
extra : source : 690e265c684ce70ecb89355314fd1574bb421f0b
2017-11-07 20:26:43 -08:00
Nick Alexander edf219ba3b Bug 1411654 - Part 1: Upgrade to Android-Gradle 3.0+ and build-tools;26.0.2. r=maliu
New Android-Gradle plugins pin the build-tools version, and we want to
be consistent between Gradle and moz.build.

MozReview-Commit-ID: ApWS4rHzPuH

--HG--
extra : rebase_source : 22008e9333b15c594ce26c2a52f67396d6e3ab84
extra : source : f918500d9cf5112b70bc8e0a120df435b02252b7
2017-10-26 11:00:36 -07:00
Nick Alexander e4a0492690 Bug 1411654 - Part 0: Add rudimentary documentation about Gradle integration. r=maliu
This sketches the flavor dimensions.  The important ones are
`audience` and `geckoBinaries`, which I think simplify the situation
greatly.  Coupled with Bug 1417232 centralizing most everything in
`mobile/android/gradle.configure`, the Gradle configuration shouldn't
be so hard to evolve.

MozReview-Commit-ID: DILjVrnLA3F

--HG--
extra : rebase_source : a4ea96a49308f457a406716662d9b64d4ba749fe
extra : source : cec2b8828cc8800fa269d290ce38ea82c454b445
2017-11-15 15:02:18 -08:00
Jim Chen 4a45f5a85e Bug 1411654 - Pre: Fix CustomTabsSecurityPopup package. r=nalexander
MozReview-Commit-ID: ICTdy9WRlwG

--HG--
extra : rebase_source : 36bf354e37ac6aa447acb8f22eeb83358809ef89
extra : intermediate-source : 76085ddd5ac768b3ec8dfe9ca03283630c436681
extra : source : 805627e27bc602593349e7386ce79e7b607e153b
2018-01-09 14:59:55 -05:00
Nick Alexander f6dad2bbde Bug 1411654 - Pre: Remove unused HomeExpandableListView. r=mcomella
This was added for the Remote Tabs panel in Bug 785199.  That code has
now morphed into the combined history panel, which uses a
RecyclerView.

MozReview-Commit-ID: J6KsVCn8mzh

--HG--
extra : rebase_source : 2d8a43b6697367f9fec1db760dd1e36ca12e31d0
extra : source : 2b37201606f5a921d91339e2c8a2ec86885b68e8
2017-11-14 19:32:18 -08:00
Nick Alexander 5bd03d9b73 Bug 1411654 - Pre: Fix checkstyle whitespace error in GeckoHlsPlayer. r=mcomella
MozReview-Commit-ID: 4h1p4J5B8sM

--HG--
extra : rebase_source : 3ac6e71b5b70549ed90d1db0160cd1d1233e66b5
extra : source : d0d513d1c3791cbb7ae24b22699f0663e45943d9
2018-01-04 12:26:11 -08:00
Nick Alexander 6f1f726e36 Bug 1411654 - Pre: Clear icon disk storage in test. r=mcomella
Newer versions of Robolectric seem to have different semantics about
clearing disk caches, so this is necessary.  But for older versions,
it shouldn't hurt, and is slightly more clear than relying on an
implicit clear.

MozReview-Commit-ID: LRcaEPasXj8

--HG--
extra : rebase_source : 4d6bb4916cde61f198004661bed58025e91ffa9c
extra : source : 373c9a71d9451498462594b302b4fe2648431fef
2017-11-07 20:24:04 -08:00
Nick Alexander 34d3e93f29 Bug 1411654 - Pre: Remove unused PerProfileDatabaseProvider. r=mcomella
No idea what is going on with this hierarchy, but this isn't used and
isn't helping anything.

MozReview-Commit-ID: Ir3LxLYHR6M

--HG--
extra : rebase_source : f1726d37fa285de1042fed76a722f941380cbf63
extra : source : 3dc3beab95f83b2f08ff9ff305fdd4b85cc05d9d
2017-11-07 20:18:56 -08:00
Nick Alexander 830afb59cc Bug 1411654 - Pre: Fix dangling resource. r=mcomella
This is just wrong.

MozReview-Commit-ID: EBtKTD07aNu

--HG--
rename : mobile/android/base/resources/values-v17/themes.xml => mobile/android/app/src/main/res/values-v17/themes.xml
extra : rebase_source : c6e58c6be966dd8ace6aa796b5a5e6000ee9c65e
extra : source : 22a861db1573364916ab2c5b6d0c6321ba08ff55
2017-11-08 09:47:48 -08:00
Nick Alexander b45e468335 Bug 1411654 - Pre: Teach |mach gradle| to take GRADLE_FLAGS from the command line. r=maliu
MozReview-Commit-ID: 150llND5h0j

--HG--
extra : rebase_source : 58449c7791d76441dc0068645c7c059877f8cf05
extra : source : d276d3deba053f66d74d258d964cab3fd5358a14
2017-10-25 10:22:42 -07:00
hemant 64d45d0cb9 Bug 1417937 - Remove unnecessary LoadContextInfo.jsm r=standard8
MozReview-Commit-ID: EnY0uKD4UD1

--HG--
extra : rebase_source : c968b273a8a05fb211e0fb1e1601ac1b968ca045
2018-01-31 23:16:46 +05:30
Andreea Pavel d652648d08 Merge mozilla-central to autoland a=merge on a CLOSED TREE
--HG--
rename : dom/media/webrtc/MediaEngine.h => dom/media/webrtc/MediaEnginePrefs.h
extra : rebase_source : 661454de54cac8d23010da02d0c0d68c1856500d
2018-01-31 19:39:52 +02:00
Jan Henning faa05c4265 Bug 1433715 - Make fallback folder icon content-accessible. r=Gijs
The skin used on Firefox for Android doesn't style directory listing, hence we
fall back to using the default icon from gre/res/html. As of bug 863246, this
location is no longer accessible from content as a resource://, hence the file
needs moving into the special content-accessible directory.

MozReview-Commit-ID: obtefafqul

--HG--
extra : rebase_source : 0227487abb4914a11f5749c493d215a1fec45e46
2018-01-28 23:01:42 +01:00
Andreas Pehrson 09f130fe44 Bug 1299515 - Wire up track-disabling logic to frontend APIs. r=jib, r=johannh
This modifies mediaCaptureWindowState() to say whether a camera or microphone is
actively captured or not. Note that this is not the same as the device being
on or off. If we disallow a device from being off while disabled, we still
notify chrome that we're not actively capturing.

MozReview-Commit-ID: B1taormqc3j

--HG--
extra : rebase_source : 292d323c4b9711cc242170f5c5c139bb87658c44
2017-11-17 20:13:06 +01:00
Andrew Swan 1acce175af Bug 1356331 Remove hotfix code from addons manager and related tests r=rhelmer
MozReview-Commit-ID: EjCOOgmXvVH

--HG--
extra : rebase_source : 051c618bd73e7bac41d5dc9339972742b029a879
extra : source : 9af7407fa9309e1fa2dc590309ed2329f02dc61e
2017-12-13 12:33:52 -08:00
Sebastian Hengst 732cb1d98b merge mozilla-inbound to mozilla-central. r=merge a=merge 2018-01-31 00:22:27 +02:00
Kris Maglione 19a956c2c6 Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
MozReview-Commit-ID: 7bVI1iM6hor

--HG--
extra : source : 0b97a30cadb1a96d3cafae6b79ef0d3ec26770cf
extra : amend_source : 09a90b29837e339eec7bdf8504f86c28e74ca3dd
extra : intermediate-source : a1eca62826a1341ca24d4d2a93d4884d4fc7ad51
extra : histedit_source : eb26e73b531f9a34d3401d39f60b533b27b78540
2018-01-18 16:27:26 -08:00
Kris Maglione 918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Gurzau Raul c380dfe905 Merge inbound to mozilla-central. a=merge 2018-01-30 12:01:49 +02:00
Cosmin Sabou 37bb870512 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-01-30 00:47:39 +02:00
Boris Zbarsky 5d7b053f45 Bug 1418076 part 10. Get rid of JS uses of Ci.nsIDOMHTMLDocument. r=mystor
MozReview-Commit-ID: IT2OEbCODTX
2018-01-26 01:01:38 -05:00
Cosmin Sabou 9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione e050496c59 Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
MozReview-Commit-ID: 7bVI1iM6hor

--HG--
extra : source : 0b97a30cadb1a96d3cafae6b79ef0d3ec26770cf
extra : amend_source : d0515fe4eb13b59cc490ca9d964ad9ee15ef3cd3
extra : intermediate-source : 6e56f4c8843ed134b2dba34fb007298fd55be966
extra : histedit_source : 88abf9f4ea4e740a9391278625ef07395205c3f5%2Cc14bc7a71eb413fcb573ed0d030fd7f99a1468f0
2018-01-18 16:27:26 -08:00
Kris Maglione 6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Nick Alexander b8d28049fd Bug 1433285: Extract classes*.dex from .ap_ --with-gradle. r=gps,snorp
Right now, we only expect classes.dex, and even --with-gradle we copy
it out of $topobjdir/mobile/android/base.  This commit changes that
for --with-gradle: we only take classes.dex from the given .ap_ file,
and we also handle multiple classesN.dex files (for future multi-dex
support).  The moz.build system stays the same.

This avoids an issue with newer Android-Gradle plugins, where the
classes.dex produced could be either in dex/ or in dexMerger/,
depending on whether any external libraries needed merging.  By
extracting classes.dex from the .ap_ file, we don't need to know what
Gradle build steps actually occur.

The classes.dex in the package-manifest.in has been irrelevant since
Bug 1260241.

MozReview-Commit-ID: FozKwjTcMzU

--HG--
extra : rebase_source : 62b18c7ffe596be73cec4c9565333eac222b018e
2018-01-24 22:09:48 -08:00
Brindusan Cristian af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Kris Maglione 6b36043a0d Bug 1433708: Part 3 - Fix Fennec about:config innerHTML sanitization. r=mconley
MozReview-Commit-ID: J9tmYCGfOcB

--HG--
extra : rebase_source : 9adbee0d98ea9928377f2f8b8c3ad8be00e4d795
2018-01-26 11:21:59 -08:00
Dylan Roeh c8a5a694f9 Bug 1419463 - Add onFocusRequest to ContentListener API. r=snorp
This listens for "DOMWindowFocus" and calls onFocusRequest in the GeckoSession ContentListener whenever it is received, and implements onFocusRequest for custom tabs and PWAs.
2018-01-29 10:38:46 -06:00
Brindusan Cristian 674c27a54e Merge inbound to mozilla-central. a=merge 2018-01-27 13:04:15 +02:00
Andreea Pavel 1dcfffb058 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-01-26 19:51:43 +02:00
Andreea Pavel 38bddf549d Merge inbound to mozilla-central. a=merge 2018-01-26 19:48:13 +02:00
maliu 11b18f5d45 Bug 1372517 - Escape name before joining innerHTML, r=sebastian
MozReview-Commit-ID: 8Wh6SCuHK6F
2018-01-26 10:05:48 -06:00
Sylvestre Ledru 3a35e750f3 Bug 1433417 - Fix a bunch of typo in the doc r=ahal
MozReview-Commit-ID: LRgL0CMJdDP

--HG--
extra : rebase_source : b99364bb96c1501a674a1726a3b5fdf0664a8e4f
2018-01-26 12:50:07 +01:00
Jan Henning 41d8089df7 Bug 1432619 - Remove DawnHelper. r=nechen
It was only used in the 55 Nightly and never meant to stay around.

MozReview-Commit-ID: JDJr9WC4V5M

--HG--
extra : rebase_source : af52eb24c4d599651a4cbde7b00049272448c9e6
2018-01-23 22:37:51 +01:00
arthur.iakab 39d63fc827 Merge mozilla-central to autoland 2018-01-26 02:31:18 +02:00
Geoff Brown f9aaea1460 Bug 1432598 - Do not show first-run screens during android tests; r=snorp 2018-01-25 11:59:38 -07:00
Nick Alexander 86c34ffd3d Bug 1419581 - Part 6: Add Android build configuration --without-google-play-services. r=dustin
MozReview-Commit-ID: 526BCiQwlm6

--HG--
rename : mobile/android/config/mozconfigs/android-api-16/nightly-artifact => mobile/android/config/mozconfigs/android-api-16/nightly-without-google-play-services
rename : testing/mozharness/configs/builds/releng_sub_android_configs/64_api_16.py => testing/mozharness/configs/builds/releng_sub_android_configs/64_api_16_without_google_play_services.py
extra : rebase_source : 4de338a5f8442159b3e80f492b9ff0f46f5635d9
extra : intermediate-source : 7f41dd3bbc2d25f937fa24a54612c25bc839f5ab
extra : source : bd1e3857b5bac3dc710521a5eb7377a1168b56ac
2018-01-04 15:45:56 -08:00
Nick Alexander c1ee58eb7f Bug 1419581 - Part 5: Add --without-google-play-services. r=chmanchester
Historically, we used MOZ_NATIVE_DEVICES to proxy for Google Play
Services.  (MOZ_NATIVE_DEVICES was the first GPS-consuming feature in
Fennec.)  With Python moz.configure, we can easily add the real
top-level flag that distributions like F-Droid actually want, which is
to build without (non-free) Google Play Services entirely.

MozReview-Commit-ID: 7YJKw3G1lQA

--HG--
extra : rebase_source : 17a25d2a15868f3661248a06b9048741e5a1dca5
extra : intermediate-source : d4d42899e5cd4255df3bfb4332532936e42ebf43
extra : source : be888fa125dc1948fc073ed69aa8116f47e22877
2018-01-04 15:37:15 -08:00
Kris Maglione aec63e140c Backed out 3 changesets (bug 1431533) for Android mochitest bustage. CLOSED TREE
MozReview-Commit-ID: 5ubE9EMQpZ9

--HG--
extra : histedit_source : df68d7595925c07d9d6e8bacc2c46e69556f479a%2C72b768b9825e20ede6603ead75f871c50dc041f7
2018-01-24 22:04:59 -08:00
Kris Maglione 30b3a49bfd Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
MozReview-Commit-ID: 8V1ZT53ReiP

--HG--
extra : rebase_source : 12b5f8c3e125111db7382eb3d7d20a99fb2c35b3
extra : absorb_source : e99fa7f6eee02e7e6cadeb898c7fcf6dac9c902a
extra : histedit_source : d0dfc31fadc2b81d341c9d0cd1efec02923c003b
2018-01-24 15:48:47 -08:00
Gabriele Svelto 511b8b49c6 Bug 1407557 - Add crash pings to Fennec; r=jchen
Besides adding a new ping builder for 'crash' type pings this patch modifies
part of the Java telemetry to accomodate for it: a new store has been added
for holding crash pings and the URL used to submit has been updated to pass
the 'v' parameter (crash pings are in the telemetry version 4 format).

MozReview-Commit-ID: CZzw7xv6YoS

--HG--
extra : source : 1089cb510d173dee2fe6d0e1a172af46808d52fa
2017-12-07 11:40:44 +01:00
Ian Moody 945e2dc862 Bug 1284548 - Use 'Share Audio' label for sharing audio played in <video>. r=snorp?
Vary the 'Share [...]' label depending on the actual use of the <video> tag, as
is done for the 'Save [...]' label.

MozReview-Commit-ID: Ga6RqV5dCby

--HG--
extra : rebase_source : 8a146d032d4fc9185fd197bb2ad737e62a17cb5b
2017-12-03 22:49:49 +00:00
Ian Moody 968dfff2c0 Bug 1284548 - Put logic classifying <video> element based on content in a function and reuse it. r=snorp?
MozReview-Commit-ID: 8ken4L8fEqq

--HG--
extra : rebase_source : 83c2c84683544a6d7e883fb40ea3202fa6312cbc
2017-12-03 23:29:33 +00:00
Jan Henning 16cb25481a Bug 1310491 - Part 2 - Abort speculative download if user backs out of our App Chooser dialogue. r=esawin
MozReview-Commit-ID: 1YsD2WZsats

--HG--
extra : rebase_source : aac970456b9bd9aaa1fbef707494455321c22324
2018-01-27 13:34:23 +01:00
Jan Henning bbadde1743 Bug 1310491 - Part 1 - Always properly clear speculative downloads when forwarding a download. r=esawin
If we have to forward a download that we cannot handle ourselves to the Android
download manager, then the speculative download started by Firefox needs to be
aborted no matter whether forwarding succeeded or not.

MozReview-Commit-ID: B6zCk28ci1P

--HG--
extra : rebase_source : 1a051afa7eab3426d397e362bc5d26a6a7886917
2018-01-27 13:29:38 +01:00
Nick Alexander 0f67bd1add Bug 1419581 - Part 4: Allow setting MOZ_ANDROID_GCM in mozconfig. r=chmanchester
This also verifies that we have Google Play Services (via
MOZ_NATIVE_DEVICES=1) if we ask to build with GCM.  This was just an
oversight earlier.

MozReview-Commit-ID: BvJi7Sfo4pu

--HG--
extra : rebase_source : c02766104281a895ab57e58079a1f651e1b9f832
extra : intermediate-source : 78828bf781d737b03c249de3dd41dc9edec788fc
extra : source : 44bcb609e721598135a19bf41ba7ff94f3051553
2017-11-22 09:48:02 -08:00
Nick Alexander b2dc9043ec Bug 1419581 - Part 2: Guard media Fennec JNI primitives with MOZ_NATIVE_DEVICES. r=jchen
MozReview-Commit-ID: 3NWZ6BL5Tlr

--HG--
extra : rebase_source : 8cc4621269ac24abe889494ccfa80e6f90c7f428
extra : intermediate-source : 072108d165905e8e6dfdc6720512b6610e30cd68
extra : source : 2ea82ff4a757a0aeb7bdd8cff611d5b92dec14eb
2017-12-06 20:28:04 -08:00
Tad 5545cfcfe1 Bug 1419581 - Part 1: Simplify MMA GCM sender IDs logic. r=nechen
Right now, the MMA glue is built into constants.jar.  constants.jar is
the home of preprocessed Java code; it's built very early in the build
process and intended to be a tiny kernel of shared definitions.  The
fact that the MMA glue has to live there is just a sad consequence of
the non-Gradle build system, which makes dependency injection
difficult.  Unfortunately, another consequence is that it's not
possible to move reference org.mozilla.gecko.{gcm,push} in the MMA
glue, because those packages are built after constants.jar.

Instead, this patch lifts some of the logic into AppConstants, which
is part of constants.jar.  We had grown a twisty maze of indirection
around the GCM sender IDs and it just wasn't necessary; this just
lifts the static pieces up a level and removes a bunch of interface
indirection.

What surprises me is that asking Google's InstanceId.getToken for a
GCM token with a "comma,separated,list" of GCM sender IDs works -- and
indeed, has worked since we added the second MMA sender ID.  I didn't
expect that and can't explain it, but this doesn't change that logic
and local testing (both of the existing APKs, and APKs with this
modification) looks good.


MozReview-Commit-ID: 3hObfAwNlPH
***
a0c07e53 o draft Bug 1419581 - Part 1: Move MMA setGcmSenderID from MmaDelegate to MmaLeanplumImp. r=nechen

MozReview-Commit-ID: A4hrk6pVqGW

--HG--
extra : rebase_source : ce7c1585529e61491a0133633b976b27083c2372
extra : intermediate-source : f8b3e95f18e4082ab8404187508d09eadba8612e
extra : source : 8f1655752d43af33356d497d559888a967bbf6a0
2018-01-12 15:03:37 -08:00
Nick Alexander 3ce208316e Bug 1419581 - Pre: Add missing excludes when building without MOZ_NATIVE_DEVICES. r=nalexander
MozReview-Commit-ID: BXNFBEs2017

--HG--
extra : rebase_source : 0ab618268eb680ca7dc0eb9911dc05e7e9b1ac77
extra : intermediate-source : 5f7645a19bf1ff9aa822314135f8e702f57b3771
extra : source : 65195aae48d88edc3c23f88083cf77251d9556fe
2018-01-04 14:49:58 -08:00
Robert Helmer 77d3af2651 Bug 1260213 - enable system add-on updates for Fennec r=snorp
MozReview-Commit-ID: LH4oPseLBpp

--HG--
extra : rebase_source : 7dc5867e15b128c5cf631c597deb8e15935bddaa
2018-01-24 11:11:10 -08:00
Jim Chen 29cb580a50 Bug 1431201 - Clear native queue when disposing window; r=snorp
Dispose the native call queue when disposing a window object, so we
don't end up with stale calls in the queue that can cause crashes.

MozReview-Commit-ID: J1HNOXKAX6E

--HG--
extra : rebase_source : 9a3ec940c19513d29c692d4e550fa3fd046d73f9
2018-01-24 10:39:49 -05:00
Narcis Beleuzu 9279994eae Merge inbound to mozilla-central. a=merge 2018-01-24 23:56:14 +02:00
Brindusan Cristian 9e0ffdd8cb Backed out 7 changesets (bug 1419581) as requested by nalexander a=backout
Backed out changeset 7f41dd3bbc2d (bug 1419581)
Backed out changeset d4d42899e5cd (bug 1419581)
Backed out changeset 78828bf781d7 (bug 1419581)
Backed out changeset 5224db0c36aa (bug 1419581)
Backed out changeset 072108d16590 (bug 1419581)
Backed out changeset f8b3e95f18e4 (bug 1419581)
Backed out changeset 5f7645a19bf1 (bug 1419581)
2018-01-24 22:28:19 +02:00