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

25762 Коммитов

Автор SHA1 Сообщение Дата
Eugen Sawin e98f4a79b8 Bug 1446423 - [2.0] Fix typo. r=me 2018-03-21 23:37:47 +01: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
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
Andrew Gaul 24e313e7c7 Bug 1437430: Make some immutable final fields static; r=mcomella
Adding static reduces memory overhead from per-instance to per-class and allows
initialization at compile-time instead of run-time.  Found via a proposed
error-prone pull request:

https://github.com/google/error-prone/pull/930

MozReview-Commit-ID: CMj6vqFeCdI

--HG--
extra : rebase_source : 43e91b3d8ff4bd8171ac25bd0b333d09645687a6
2018-02-11 22:36:58 -08:00
Noemi Erli ac0a30f58c Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-13 01:16:04 +02:00
Margareta Eliza Balazs d6d1b8a6a5 Merge inbound to mozilla-central. a=merge 2018-03-13 01:10:10 +02:00
Sylvestre Ledru 06b7836c7e Bug 1444628 - Fix a bunch of typo in the doc r=ahal
MozReview-Commit-ID: SNXsViVUm0

--HG--
extra : rebase_source : d1a73dd5399854c0ec28087b207bb1b1d4bb9c02
2018-03-10 17:14:38 +01:00
Nick Alexander 348abe631c Bug 1444534 - Part 2: Fold m/a/base/locales into m/a/base. r=ted.mielczarek
At last, another part of our long nightmare bites the dust.  We had a
complicated system where m/a/base used a FORCE $(MAKE) to produce
l10n-dependent pieces in m/a/base/locales, foiling sensible recursive
Make dependencies and causing much pain and suffering.  Now that
things are in moz.build, we can fold this into m/a/base, simplifying
the dependencies.  This gets us one step closer to expressing the APK
generation that consumes the dependencies in moz.build.

MozReview-Commit-ID: FzLtgR8AMue

--HG--
extra : rebase_source : 39a3da192822bea9fa803a2bcae76a89dde41a17
2018-03-08 14:19:13 -08:00
Nick Alexander 9ff601f55f Bug 1444534 - Pre: Don't generate JNI wrappers for multi-locale builds or single-locale repacks. r=ted.mielczarek
As the comment says, these aren't useful during the final stage of
assembling a multi-locale build (when AB_CD=multi is set -- they're
definitely useful for the initial build, when AB_CD is unset and
implicitly en-US).  And single-locale repacks don't do any
compilation, so they're definitely not useful there.

By guarding, we avoid having to be specific about what we're building
in the build invocations that will be moved out of |mach package| and
into different parts of the multi-locale build and single-locale
repack processes.

Subsequent tickets will migrate this whole JNI wrapper generation
mechanism to GENERATED_FILES anyway, moving the JNI wrapper generation
closer to the build steps that need the wrappers and avoiding the
problem entirely: those build steps won't be invoked at all for
multi-locale builds or for single-locale repacks.

MozReview-Commit-ID: Lt2d6uFm5Dq

--HG--
extra : rebase_source : 88cb76a01641a46e21f4e21da86c07a068ee64cc
2018-03-09 10:39:46 -08:00
Nick Alexander 228cff2600 Bug 1444534 - Pre: Don't hide l10n Make invocations. r=ted.mielczarek
There's just no need for this: it makes interpreting build logs that
little bit harder.

MozReview-Commit-ID: 7gq73I8I3Bt

--HG--
extra : rebase_source : 1e5be3b243fc785c195c442e162edc8fc1fffc1d
2018-03-07 12:25:26 -08:00
Geoff Brown 13a76c5039 Bug 1439037 - Do not delay import of NotificationDB on Android; r=snorp
--HG--
extra : rebase_source : 719ba8a54c22c09164c7027f178118a2222d609e
2018-03-12 07:46:50 -06:00
Gijs Kruitbosch 4340ba60f2 Bug 1444082 - sync reader mode to github tip ( 8525c6af36d3badbe27c4672a6f2dd99ddb4097f ), r=johannh
MozReview-Commit-ID: LZLFf9kyUR5

--HG--
extra : rebase_source : 9f2e517afa764dbe339b84abfaaf948b1402cba1
2018-03-08 14:35:02 +00:00
Noemi Erli 40b1baaab5 Merge inbound to mozilla-central. a=merge 2018-03-10 11:58:34 +02:00
Jim Chen d5f3264031 Bug 1442250 - 5. Reset native queue early when transferring; r=esawin
When we reset the old native queue when transferring to another session,
perform the reset right after the transfer() call, instead of in
onTransfer(), which is too late for clearing stale pending calls.

Then, after transferring to a new queue, let Gecko call Window.onReady
to set the new queue's state if needed. That way the Java queue state is
consistent with the Gecko state.

MozReview-Commit-ID: CUXGrhR4FCD

--HG--
extra : rebase_source : a196361f1db1304c178a3471082d586dddfe2a32
2018-03-09 12:34:38 -05:00
Jim Chen 61fc7e2276 Bug 1442250 - 4. Fix crash when child preloading fails; r=jchen
Fix a null pointer crash when we fail to preload a child process.

MozReview-Commit-ID: FIJopxOVAEj

--HG--
extra : rebase_source : 600466740c684bfadcfac0e30d5bf2fc075e4d25
2018-03-09 12:34:37 -05:00
Jim Chen ef46dc1706 Bug 1442250 - 2. Unregister then re-register all listeners on close; r=esawin
Ensure that we unregister and re-register all listeners on
closeWindow, so that the listeners are ready for any new windows that
are subsequently opened.

MozReview-Commit-ID: EKzCRS10odN

--HG--
extra : rebase_source : 80615ef28839d9e76ecc47881d7b47b59ddea563
2018-03-09 12:34:37 -05:00
Jim Chen 42d71d7dc2 Bug 1442250 - 1. Add SessionLifecycleTest; r=esawin
Add session lifecycle tests for testing behavior for
openWindow/closeWindow, Parcelable support, and how some methods behave
when the session is open.

MozReview-Commit-ID: 4UfBRY1pLv6

--HG--
extra : rebase_source : d5c700b467fe6e812e013ea7f89a4ba3bc99974c
2018-03-09 12:34:37 -05:00
Csoregi Natalia d61cdcf041 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-09 02:20:43 +02:00
Csoregi Natalia cb78fdf973 Merge inbound to mozilla-central. a=merge 2018-03-09 02:17:42 +02:00
Nick Alexander 05bb797bce Bug 1443204 - Remove org.mozilla.geckoview.BuildConfig generation in moz.build. r=chmanchester
MozReview-Commit-ID: 4cOecBeUxJX

--HG--
extra : rebase_source : 04b0f2ae0c258f6fb4a2281f11350fa09438b5f5
2018-03-07 09:47:19 -08:00
Randall Barker a248afab67 Bug 1443283 - Prevent crash when a null or open GeckoSession is registered with GeckoView.setSession() r=jchen,esawin
MozReview-Commit-ID: HV7xoz7fr6k
2018-03-08 08:27:16 -08:00