Commit Graph

21645 Commits

Author SHA1 Message Date
Boris Zbarsky
de9297b4bf Bug 1448048. Restrict the window.Components shim to non-nightly-only to see whether sites actually use it. r=mccr8
MozReview-Commit-ID: 6W1nEyKGlER
2018-03-23 12:53:48 -04:00
Gurzau Raul
390957966b Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-24 00:08:02 +02:00
James Willcox
3d1f24abf4 Bug 1447393 - Keep empty content process alive on Android r=jimm,mrbkap
MozReview-Commit-ID: 2mZwbcjngnE
2018-03-23 15:32:30 -05:00
Dylan Roeh
f7414393ca Bug 1444138 - Only report top-level location changes via NavigationDelegate.onLocationChange() r=snorp 2018-03-22 16:04:40 -05:00
Julian Descottes
08928eeb74 Bug 1443550 - package dom_workers.xpt on Fennec to enable worker debugging;r=jryans
dom_workers.xpt was originally added to Firefox's package-manifest.in
in Bug 757133 (https://hg.mozilla.org/mozilla-central/rev/d5fcb5f05f03).

Adding it to Fennec will allow us to list and debug workers on this platform.

MozReview-Commit-ID: 391mCv4dCid

--HG--
extra : rebase_source : 4598a849cbf84c56e6bdbe6c71cfa20f0467a395
2018-03-22 20:52:08 +01:00
Ryan VanderMeulen
d6fd81de00 Merge m-c to inbound. a=merge 2018-03-22 19:44:23 -04:00
Vlad Baicu
6e1d2c4d18 Bug 1444549: Remove unused IconTabWidget XML attr. r=mcomella
This code was crashing in the framework; removing it should hopefully fix the
crash.

MozReview-Commit-ID: 2G3q4JrJ9tP

--HG--
extra : rebase_source : e9c1379b9dd3ebcb8ec2169165c629727344179d
2018-03-22 13:46:41 -07:00
Andreea Pavel
de5c4376b8 Merge mozilla-inbound to mozilla-central. a=merge 2018-03-22 11:31:19 +02:00
Eugen Sawin
e98f4a79b8 Bug 1446423 - [2.0] Fix typo. r=me 2018-03-21 23:37:47 +01:00
Timothy Guan-tin Chien
1543c98d18 Bug 1444489 - Part IV, Implement Casting UI on videoControls r=Gijs
Optimize and re-commit the casting buttons SVG removed from the previous commit.

MozReview-Commit-ID: GICxaRZXTiJ

--HG--
rename : mobile/android/themes/geckoview/images/videocontrols-cast-active.svg => toolkit/themes/shared/media/castingButton-active.svg
rename : mobile/android/themes/geckoview/images/videocontrols-cast-ready.svg => toolkit/themes/shared/media/castingButton-ready.svg
extra : rebase_source : 099416d0d03e5ab85ec5387f00911889db97d3e2
extra : source : 79a159f175227eae35648ffbeddcc58e77ef19cf
2018-03-09 17:39:44 -08:00
Timothy Guan-tin Chien
64808cfafc Bug 1444489 - Part II, Replace touchControls with videoControls and remove touchControls r=Gijs
Also migrates TouchUtils to videoControls in order to keep some interactions.

Removed the casting button from TouchUtils (to be add back to Utils in the next
commit; not removing the SVG images for hg annotation)

MozReview-Commit-ID: DzhmjykCLzu

--HG--
extra : rebase_source : d77dfe3e2d9de2087d21dc2fb9b1773e710177d7
2018-03-21 15:10:20 +08:00
Sylvestre Ledru
67f287235a Bug 1446809 - Ride along: also remove some mobile/xul/ legacy declaration r=florian
MozReview-Commit-ID: 102syxweBN3

--HG--
extra : rebase_source : e742121c5d2090dcbd87eda3e0e0eaff0cdab0e3
extra : source : e6b888d19add6d0c60605e685f6263a86af97a9e
2018-03-19 10:43:17 +01:00
Tiberius Oros
649398dfd9 Merge inbound to mozilla-central. a=merge 2018-03-21 12:03:08 +02:00
Cosmin Sabou
eb338478d4 Merge mozilla-central to autoland. CLOSED TREE 2018-03-21 00:49:09 +02:00
James Willcox
17b15e18bd Bug 1447451 - Correctly report page progress errors in GeckoView r=esawin
This is a far cry from having good error reporting, but we at least need
to notify the app that the page is no longer loading.

MozReview-Commit-ID: Kbm5MpNbND6

--HG--
extra : rebase_source : 69928ace16dcb87b21b4911af6a86a7f5d8b61b3
2018-03-20 15:55:36 -05:00
James Willcox
a2b97d9f9c Bug 1447167 - Add -purgecaches to Gecko args when running tests r=esawin
MozReview-Commit-ID: 3oZvKKB4MAO

--HG--
extra : rebase_source : 891e8dfaf10935ecf5e7ffc868226ae30f7baaa9
2018-03-19 17:12:36 -05:00
Nick Alexander
43465b36d4 Bug 1443208 - Express Fennec APK with GENERATED_FILES. r=ted.mielczarek
This small change is actually very significant.  Previously, |mach
package| for mobile/android had two jobs:

1) produce a final APK

2) rebuild parts of the APK that might have been silently modified by
   l10n mechanisms, both from multi-locale builds and single-locale
   repacks

This second part has never been sensible but has been difficult to
alter until recently, since the l10n mechanisms have been out of
mozilla-central and difficult to modify and test.  That's less true
now.

This patch:

a) removes the rebuild parts (the step labeled 2) above (which I
   generally refer to as the "nodeps mechanism")

b) uses the APKs produced by Gradle directly, without the copying
   indirection from m/a/base/Makefile.in

c) does the rebuild for multi-locale builds as an explicit step in the
   appropriate mozharness script

d) does the rebuild for each single-locale repack as another step in
   the existing `installers-%` target in m/a/locales/Makefile.in (it's
   not easy to remove this from the Makefile, since the repackage is
   invoked immediately after (it's the `repackage-zip-$*` target))

The new m/a/gradle.py file will grow additional tasks in tickets to
follow, hence the lock file and pre-factored form.

MozReview-Commit-ID: IKflLdmHR3P

--HG--
extra : rebase_source : fdabe340b6f0896a0ebb9da2951f10753deb5ff5
2018-03-20 12:41:49 -07:00
Eugen Sawin
1a0dc6db98 Bug 1446423 - [1.1] Queue bundle events during content module registeration. r=snorp 2018-03-20 17:15:06 +01:00
Eugen Sawin
9401469a2e Bug 1446478 - [1.0] Make onLoadRequest handler async. r=droeh 2018-03-20 17:15:06 +01:00
Eugen Sawin
ddfff4c3d1 Bug 1446478 - [2.0] Adjust docs for changed onLoadRequest API. r=snorp 2018-03-20 22:21:29 +01:00
Noemi Erli
e2ccf77a14 Backed out 10 changesets (bug 1446809) for failures in testing/mozbase/moztest/tests/test.py on a CLOSED TREE
Backed out changeset 5748f214f813 (bug 1446809)
Backed out changeset 1c7a6f2885fb (bug 1446809)
Backed out changeset 2c31f0efbe64 (bug 1446809)
Backed out changeset e102f93c590f (bug 1446809)
Backed out changeset c722a1c3395f (bug 1446809)
Backed out changeset 20b4c87f8abb (bug 1446809)
Backed out changeset 31026393c5b6 (bug 1446809)
Backed out changeset 9103be0ca176 (bug 1446809)
Backed out changeset 11d671ad8ed4 (bug 1446809)
Backed out changeset e412991e7f95 (bug 1446809)
2018-03-20 17:00:04 +02:00
Sylvestre Ledru
fc3e6d5a4c Bug 1446809 - Ride along: also remove some mobile/xul/ legacy declaration r=florian
MozReview-Commit-ID: 102syxweBN3

--HG--
extra : rebase_source : ba1d55d140a675c0acd47ebc66a29b28157c70c6
2018-03-19 10:43:17 +01:00
James Willcox
2ed97dae93 Bug 1322579 - Add GeckoSession.loadData() and loadString() r=esawin,rbarker
MozReview-Commit-ID: 8D46nhtKIzG
2018-03-19 18:11:42 -05:00
James Willcox
4ec2cdb14e Bug 1322579 - Add flags to GeckoSession.loadUri() r=esawin,droeh
MozReview-Commit-ID: 9meMsIOIZRX
2018-03-19 18:11:42 -05:00
James Willcox
ab5dbd8c7f No bug, make GeckoView tests build, r=me DONTBUILD
MozReview-Commit-ID: LJxvOUG4jhG
2018-03-19 18:11:41 -05:00
Sebastian Kaspari
7d29801a42 Bug 1443825 - Update sanitizing methods for autocomplete domains. r=ekager,mcomella
MozReview-Commit-ID: 2cB62XXdflS

--HG--
extra : rebase_source : c3bf6eb138c5fa8598d8569362a0506cc2564561
2018-03-07 17:51:33 +01:00
Dylan Roeh
7392134c6b Bug 1443904 - Fix enabled/disabled logic for choice prompts in BasicGeckoViewPrompt r=snorp 2018-03-16 15:35:57 -05:00
Eitan Isaacson
f765d0d585 Bug 1184142 - Support WebSpeech in GeckoView. r=snorp r=smaug
--HG--
extra : rebase_source : 81eb1ce2f67f70ee08908d69db54f8625df341cb
2018-03-16 12:08:00 +02:00
James Willcox
a22befd731 Bug 1443822 - Use BUILD_ID in version string for non-release/beta GeckoView r=nalexander
MozReview-Commit-ID: JNcbpLmCWz3
2018-03-16 14:38:54 -05:00
Andreas Pehrson
cee7fb987b Bug 1443157 - Disregard aData for event recording-device-events. r=johannh
MozReview-Commit-ID: 8Lo8PWmOAPQ

--HG--
extra : rebase_source : 73ad3259abdef72f5b35d4f1e61f24e17b938dfd
2018-03-14 18:39:03 +01:00
Coroiu Cristina
51fd916771 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-03-16 01:43:13 +02:00
Tim Nguyen
f74cd699cc Bug 1445100 - Remove pageReport property from browser binding. r=Paolo 2018-03-15 17:56:48 +00:00
James Willcox
1738c4b66f No bug, fix the GeckoView docs build, r=me and DONTBUILD
MozReview-Commit-ID: 895PZCZWWVi
2018-03-15 11:59:40 -05:00
Marco Bonardo
014fcdedcd Bug 474043 - Part 5 - Remove the json suffix from nsHandlerService. r=Paolo
MozReview-Commit-ID: C7H7VlYO25i

--HG--
rename : uriloader/exthandler/nsHandlerService-json.js => uriloader/exthandler/HandlerService.js
rename : uriloader/exthandler/nsHandlerService-json.manifest => uriloader/exthandler/HandlerService.manifest
extra : rebase_source : b27f3134ec035b9c2fa846c0b6152e65afeb2b7c
2018-03-15 14:44:00 +01:00
Marco Bonardo
afe040fd02 Bug 474043 - Part 1 - Get rid of the remaining mimeTypes.rdf references. r=Paolo
MozReview-Commit-ID: 78LHYTVlEtR

--HG--
extra : rebase_source : b16b0c5d202419bd39a287d2868f09fbf6ad45e7
2018-03-12 22:24:07 +01:00
Grigory Kruglov
e4c559d97b Bug 1445462 - Ensure tasks aren't scheduled during upload after flow has been aborted r=rnewman
This should have been a part of Bug 1408710, but alas, here we are.

Patch changes two things:
- serializes process failures in BatchingUploader if record-to-be-uploaded fails sanity checks and server requirements
-- this helps us short-circuit flow in RecordsChannel
- avoids performing any work in ServerSession's storeDone if flow has been aborted

MozReview-Commit-ID: 9qevdzRvHEx

--HG--
extra : rebase_source : 2e30aa7e222916acb791a9803bab0d4d95e5e491
2018-03-14 14:14:23 -04:00
Grigory Kruglov
f7b60c03fd Bug 1445462 - Pre: Clean up "ignore records on batch failure" code r=rnewman
No functional change; added tests to cover the decision tree a bit better, renamed stuff.

MozReview-Commit-ID: LwvyBaAg421

--HG--
extra : rebase_source : 4e46be5f67317f6bd5ea0c4701587908a3628634
2018-03-14 14:12:48 -04:00
arthur.iakab
8976abf9ca Merge inbound to mozilla-central. a=merge 2018-03-14 12:00:13 +02:00
Masayuki Nakano
fcb248a698 Bug 1343451 - part 5: Make GeckoEditableSupport dispatch dummy eKeyDown and eKeyUp event during composition always r=jchen
On Android, GeckoEditableSupport has already dispatched eKeyDown event and
eKeyUp event even during composition.  I.e., the pref which will be enabled
by bug 354358 has already been set to true only on Android.

On the other hand, GeckoEditableSupport does not dispatch them if content
listens to "input", "compositionstart", "compositionupdate" or
"compositionend".  So, different from the other platforms, we need additional
pref to make the new behavior behind pref.

Therefore, this patch adds a new pref,
"intl.ime.hack.on_any_apps.fire_key_events_for_composition", to override
existing "intl.ime.hack.on_ime_unaware_apps.fire_key_events_for_composition"
pref.  And sets mKeyCode and mKeyNameIndex of the dummy KeyboardEvents to
NS_VK_PROCESSKEY and KEY_NAME_INDEX_Process.

MozReview-Commit-ID: Fuy0Ir2xiO5

--HG--
extra : rebase_source : c76b613ea186458ebdf0d67f4bc984e8ac5f1041
2018-02-27 17:24:35 +09:00
James Willcox
6e2788b633 Bug 1447734 - Specify Google Play Services library version in Gradle r=nalexander
MozReview-Commit-ID: KXcYJTlG2UC
2018-03-22 14:35:38 -05:00
James Willcox
dd28aadd33 Bug 1447729 - Specify Android Support library version in Gradle r=nalexander
MozReview-Commit-ID: 6r8tI1v2SeC
2018-03-22 14:35:37 -05:00
James Willcox
2e6e9132f6 Bug 1447991 - Correctly specify base64 enconding in GeckoSession.loadData() r=esawin
MozReview-Commit-ID: 9n7EmbgRPtr
2018-03-22 12:39:53 -05:00
James Willcox
10d9e4b988 Bug 1422137 - Rename NativePanZoomController to PanZoomController r=rbarker
MozReview-Commit-ID: DUdekq4OV2e
2018-03-22 12:39:53 -05:00
James Willcox
afb1f64a02 No bug, make GeckoView tests build r=me
MozReview-Commit-ID: 6mNBuzIhDWt
2018-03-22 12:39:52 -05:00
Andreea Pavel
e202e32f40 Backed out 2 changesets (bug 1447991) for android leaks on a CLOSED TREE
Backed out changeset 804b4708aae5 (bug 1447991)
Backed out changeset 18ba4d610e5d

--HG--
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/PanZoomController.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/NativePanZoomController.java
2018-03-22 16:51:01 +02:00
James Willcox
693fb3050c Bug 1447991 - Correctly specify base64 enconding in GeckoSession.loadData() r=esawin
MozReview-Commit-ID: 9n7EmbgRPtr
2018-03-22 09:39:23 -05:00
James Willcox
7db5e2ddd0 No bug, make GeckoView tests build r=me DONTBUILD
--HG--
rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/NativePanZoomController.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/PanZoomController.java
2018-03-22 09:35:36 -05:00
Eugen Sawin
7901ffbada Bug 1445389 - [1.0] Add IntDef annotations to int flags. r=snorp 2018-03-13 20:25:05 +01:00
Eugen Sawin
1f9570b937 Bug 1445240 - [1.0] Add element type to onContextMenu callback for image and media elements. r=snorp 2018-03-13 20:25:05 +01:00
Narcis Beleuzu
298d1d55b5 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-13 12:36:54 +02:00