Commit Graph

26134 Commits

Author SHA1 Message Date
Kris Maglione
4900714df7 Bug 1457321: Part 1 - Add bundled dictionaries to built_in_addons.json. r=ted,rhelmer
MozReview-Commit-ID: GxCSXXaz8kz

--HG--
extra : rebase_source : a334cfbeee786aeaca373b5a7fc8107fa44c2243
2018-04-27 15:42:55 -07:00
Ciure Andrei
61548f81d6 Merge inbound to mozilla-central. a=merge
--HG--
rename : testing/web-platform/meta/webdriver/tests/navigation/get_title.py.ini => testing/web-platform/meta/webdriver/tests/get_title/user_prompts.py.ini
2018-05-09 01:58:44 +03:00
Jan Henning
6a24be748d Bug 1460028 - Experimental - Use string literal instead of static variable in SessionTest. r=gbrown
Experimentally try using a String literal in case the NullPointerException at
that line is caused by some weird class initialisation issue.

MozReview-Commit-ID: 1BexpntTBEJ

--HG--
extra : rebase_source : ea71f390ce0d683cd635aae52825871562b78feb
2018-05-08 21:55:20 +02:00
Boris Zbarsky
1fb03996f4 Bug 1387143 part 29. Remove nsISelection. r=mats 2018-05-08 13:52:42 -04:00
Boris Zbarsky
c4c94974c4 Bug 1387143 part 5. Remove JS use of nsISelectionPrivate. r=mats 2018-05-08 13:52:36 -04:00
Michael Kaply
ce0446bbdc Bug 1352539 - Move default search engine to list.json. r=florian
MozReview-Commit-ID: Kpz4Xb7nZ16

--HG--
extra : rebase_source : 6d4e48f27dfe4e07fb145c77ff2bb1c10cfab97c
2018-04-20 12:48:02 -05:00
arthur.iakab
f2042a4c1f Merge inbound to mozilla-central a=merge 2018-05-08 15:42:06 +03:00
Andrew Gaul
80f292e771 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
Eugen Sawin
5dfa7d1f80 Bug 1459759 - [1.0] Send settings to content modules on registration. r=jchen 2018-05-08 01:11:35 +02:00
Eitan Isaacson
f026a7fff5 Bug 1455788 - Consolidate a11y MotionEvent handling to the GeckoView. r=jchen 2018-05-07 10:22:00 -04:00
Narcis Beleuzu
323d4a4185 Backed out 3 changesets (Bug 1433968) for causing Bug 1459349. a=backout
Backed out changeset 82b765c5a02f (bug 1433968)
Backed out changeset 73ec9bb3e17e (bug 1433968)
Backed out changeset 0812ac0376da (bug 1433968)

--HG--
extra : amend_source : 2748b297418eea9b7d3c2be11a8e7e300f8d709c
extra : histedit_source : 6428453bbe80ad044661d01e5127d924fffed1a3%2Cd2e712ac6c597784343ff08f75199851c07be4e7
2018-05-07 17:06:30 +03:00
Jim Chen
9ad3c40228 Bug 1458327 - 5. Fix some comments; r=jchen
MozReview-Commit-ID: LAgmyGXPPOL

--HG--
extra : rebase_source : 63cc8a946d6c00b6fac40fa40601157e9b1ac3a7
2018-05-04 21:08:10 -04:00
Jim Chen
482144da57 Bug 1458327 - 4. Always register some events / frame scripts; r=esawin
The problem is we rely on some events / frame scripts for session calls
that should still work even if we don't have a delegate assigned, so we
should always register these events / frame scripts.

MozReview-Commit-ID: 6TvvMhc7qOf

--HG--
extra : rebase_source : 30d939a4e39488ca039709ec5b59532506bd18ed
2018-05-04 21:08:10 -04:00
Jim Chen
3ad25abd93 Bug 1458327 - 3. Make GeckoSessionHandler and GeckoSessionSettings work with init-data; r=esawin
Make GeckoSessionHandler and GeckoSessionSettings use the updated
"GeckoView:EnableModule" and "GeckoView:UpdateSettings" events.

Also, send events for updating settings only while the session is open.
Don't send events while the session is closed, because when opening the
session, we will send settings in one batch in the init-data.

MozReview-Commit-ID: Kytx8Ak4A5p

--HG--
extra : rebase_source : add58cb9cefcfaab7d109c492bb4406ee38f9e28
2018-05-04 21:08:10 -04:00
Jim Chen
46997650b0 Bug 1458327 - 2. Let ModuleManager manage more aspects of modules; r=esawin
Let ModuleManager keep the current settings and enabled states for
modules. It initializes settings and module states from the window
init-data, and then listens to changes in them.

Having ModuleManager manage these states helps keeping things
consistent, and makes it possible for future optimizations like
delay-loading modules.

MozReview-Commit-ID: AM6lAxnUGhd

--HG--
extra : rebase_source : 2751990bec6054cc36104957690d8fce6d3da399
2018-05-04 21:08:10 -04:00
Jim Chen
ad471d48f6 Bug 1458327 - 1. Pass init-data instead of settings to Window; r=esawin
Instead of passing a live settings object to the native Window, pass a
static initialization data bundle to the Window. The bundle contains
settings at the time of creation. All changes to settings after creation
are updated through events, rather than the live object.

Using a live object between Gecko and UI threads has some drawbacks,
including the need to lock the object, and the fact it won't work with
remote runtimes across processes.

MozReview-Commit-ID: 1DngLfJ0Fnc

--HG--
extra : rebase_source : 05c0ba76ce7f45a02557cc1a30e399682dccd5a7
2018-05-04 21:08:10 -04:00
Michael Kaply
2b2b799795 Bug 1454088 - Remove use of google-nocodes. r=adw
MozReview-Commit-ID: 2UYxI0tZNsX

--HG--
extra : rebase_source : da533fb64921df0c3667581fdb71050ec7ce952d
2018-05-04 10:55:13 -05:00
Brindusan Cristian
09c2471bd3 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-05 00:42:16 +03:00
Brindusan Cristian
89a097be09 Merge inbound to mozilla-central. a=merge 2018-05-05 00:35:50 +03:00
Jan Henning
804d6a59fd Bug 1459284 - Ensure GeckoView context menus work with ShadowDOM. r=snorp
MozReview-Commit-ID: 5XrGRgSvh0g

--HG--
extra : rebase_source : 7c8d25499bdb08699cf9818c8ac5eea2d9708acd
2018-05-04 20:54:47 +02:00
Gabriele Svelto
b711bd404a Bug 1458643 - Use 'Android' as the OS name for Fennec crash pings; r=jchen
MozReview-Commit-ID: 4yPsDbmt1sZ

--HG--
extra : rebase_source : 2f9225b294ae23583ba077b6dbad7d72709636da
2018-05-02 21:54:23 +02:00
Vlad Baicu
65714642de Bug 1425669 - Move StumblerService location permission check after the intent&scan enabled checks. r=mcomella
On Android 7.0.0, the OS would start the StumblerService and without having given fennec the location permission the intent and scan enabled checks would've been skipped - which ensure that the Stumbler Service does not run in unadequate scenarios.

MozReview-Commit-ID: AGU67ytE4ff

--HG--
extra : rebase_source : 7d1285e75ffa233e4888e65505081bca2200b34e
2018-05-04 16:10:17 +03:00
Cosmin Sabou
2f93cbd6cb Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
rename : testing/profiles/prefs_general.js => testing/profiles/common/user.js
extra : rebase_source : e56a2d784bd87af73d03cc5fcdca84d8156ed054
2018-05-04 21:07:31 +03:00
Olli Pettay
81818059b0 Bug 1458694 - (android) ensure context menu works with ShadowDOM, r=JanH 2018-05-04 21:02:13 +03:00
Jim Chen
48979ebad8 Bug 1458276 - Fix bustage; r=me on CLOSED TREE 2018-05-04 12:23:13 -04:00
Jim Chen
324b8d50de Bug 1458276 - Use correct timeout for RDP connection; r=me 2018-05-04 11:46:37 -04:00
Jan Keromnes
be16505be3 Bug 1458615 - Fix unofficial Android build on systems where $USER is not set. r=nalexander
When `--enable-official-branding` isn't set in mozconfig, `./mach configure` executes
mobile/android/branding/unofficial/configure.sh via `/bin/sh`. The `${USER:-unknown}`
syntax is POSIX, so this fix should work across all platforms.

MozReview-Commit-ID: C8T0ZgOFWgV

--HG--
extra : rebase_source : 32e0025f4a38fcf1113148cd6dbc4506af4a1ece
2018-05-02 17:25:12 +00:00
James Willcox
ed42963278 Bug 1450856 - Fix PromptDelegate.onExternalResponse() for non-e10s r=esawin
MozReview-Commit-ID: FFuX0fviAgj
2018-05-03 16:29:01 -05:00
James Willcox
6500846a02 Bug 1316241 - Fix media prompts with GeckoView r=esawin
Looks like this got typoed during a rebase or something similar.

MozReview-Commit-ID: Dv0PtzU3EJT
2018-05-03 16:29:01 -05:00
Jan Henning
375f2704c3 Bug 1456391 - Part 9: Support PrivacyLevel form data filtering with GeckoView, too. r=snorp
MozReview-Commit-ID: 9F5ZNWf0lYc

--HG--
extra : rebase_source : 7da2705d27fdecbc915f3d6516452c413635b062
2018-04-27 22:11:23 +02:00
Jan Henning
5ec5f23aab Bug 1456391 - Part 8: Use mapFrameTree in Fennec. r=esawin
This brings us in line with Desktop's session store, in that we can now collect
data for arbitrarily nested frame structures.

At the same time, this also means that we no longer collect data for dynamically
added frames, so the corresponding mochitest needs to be adapted accordingly.

MozReview-Commit-ID: DfJ3C2ccUne

--HG--
extra : rebase_source : bbb2181d5596d21254d2f7394c1383a3979dcef4
2018-04-25 22:21:41 +02:00
Jan Henning
64e30f8441 Bug 1456391 - Part 6: Switch mobile session store to use defineLazyModuleGetters. r=esawin
MozReview-Commit-ID: ElrFACJVbRN

--HG--
extra : rebase_source : c13f6aa29bb7b4009e56edfa13454a8feaedccb4
2018-04-25 22:14:25 +02:00
Jan Henning
0c43a6ed24 Bug 1456391 - Part 5: Fix zoom level saving in GeckoView. r=snorp
When the scroll position is "0,0" or suchlike, the scrolldata ends up as null.
We still need something to store the zoom data on, though, so we add a fallback.

MozReview-Commit-ID: FE8BYB9nn25

--HG--
extra : rebase_source : ee16b1401b361e7a539e553da377ee0b1ae46b08
2018-04-26 21:33:41 +02:00
Jan Henning
110831186a Bug 1456391 - Part 4: Use new mapFrameTree version for GeckoView. r=snorp
The copy-pasted description of mapFrameTree in GeckoView already claims to only
run the callback for *non*-dynamic child frames. With this patch we make
GeckoView actually do that and unify the behaviour with Desktop.

MozReview-Commit-ID: 6967vUcgB2r

--HG--
extra : rebase_source : 024dcda6d39e01ba8c9c2948a767200200383b37
2018-04-25 22:09:13 +02:00
Jim Chen
15c3ab5751 Bug 1457863 - 2. Use kotlin array literals; r=nalexander
Use the new array literal syntax from kotlin 1.2.

MozReview-Commit-ID: CaiG9aSD2T6

--HG--
extra : rebase_source : 4930c565b5758845e0928c1596069b0f68883fc0
2018-05-02 13:49:57 -04:00
Jim Chen
652208262f Bug 1457863 - 1. Update kotlin to 1.2.41; r=nalexander
Update the kotlin version used for GeckoView tests to 1.2.41. Also turn
on "warnings-as-errors", which is a compiler option introduced in kotlin
1.2.

MozReview-Commit-ID: 7cL2v4jFJ27

--HG--
extra : rebase_source : daf3c2f3ca24304faa10c399c4ef2bd145395ada
2018-05-02 13:49:57 -04:00
Petru Lingurar
5f4a0e0b4c Bug 1380850 - Track when Focus or Klar get installed; r=mcomella
Added a static broadcast receiver that will inform us as soon as possible of any installed packages.
Because mma methods are static, if LeanPlum is enabled, the event will be tracked even if the app was not running when the new package was installed
and as per LeanPlum's internal workings the event will be reported to the dashboard when the application resumes.

MozReview-Commit-ID: AGNsQn7LuCz
***

--HG--
extra : rebase_source : 3d40a9f85036c0495b110409bff86e56f8b7c465
2018-05-02 13:32:43 +03:00
Cosmin Sabou
a1f7ce21a9 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-02 18:07:21 +03:00
Francesco Lodolo (:flod)
cb28f69b9b Bug 1457376 - Remove Search Activity section from Wikipedia searchplugins r=mkaply
MozReview-Commit-ID: 8ZXM49hTKxO

--HG--
extra : rebase_source : 861181f36cfd47b8cd902bfc9e4d0fde92e757ec
2018-05-02 09:03:39 +02:00
shindli
76df22bb89 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-05-04 11:39:54 +03:00
Michal Stanke
1f101641a5 Bug 1458980: [cs] Change Heuréka module name to Heureka, r=flod
MozReview-Commit-ID: F0NgmShNYf4

--HG--
extra : rebase_source : 8a831928c5a0d7336661f4e19675f9d8b637e004
2018-05-04 07:35:07 +02:00
Jim Chen
cdd3e5ab7e Bug 1457255 - 2. Fix Java warnings; r=me
Fix all Java warnings in the Android codebase except deprecation and
serial warnings, and warnings in third-party code.

There is one required change to exoplayer2 code under thirdparty,
because that code is included directly in the geckoview project, instead
of the thirdparty project. I think I'll just make a pull-request to
upstream the change, instead of separating exoplayer2 into a
gv-thirdparty project.

--HG--
extra : amend_source : 29419a24db9b956a7f3ee573a63f7a055ed90636
2018-05-01 00:22:54 -04:00
Jim Chen
adc5bf4d5e Bug 1457255 - 1. Translate kotlin warning/error messages for treeherder; r=nalexander
kotlinc emits its warning/error messages as "w: <msg>" and "e: <msg>",
which Treeherder is unable to pick up. Rather than changing Treeherder,
it's best to make the change as close to the source of the message as
possible. I looked at changing mach to redirect the output of gradle and
make adjustments as necessary, but for some reason gradle doesn't want
to work with the pipes that mach sets up. So that leaves changing the
gradle build script itself.

This patch adds some code to detect the kotlin messages, and output an
adjusted version as necessary. It has the benefit of only dealing with
kotlinc output, so output from other tools should not be inadvertently
changed. However, due to the way it is implemented, it does duplicate
every warning/error output; for example, an error would now look like
this in the terminal:

    <file>: error: <msg>
    e: <file>: <msg>

I think this is an acceptable drawback.
2018-05-01 00:22:53 -04:00
Eitan Isaacson
600dc129c1 Bug 1457569 - Make nodes clickable or not. r=yzen 2018-05-01 09:42:00 -04:00
shindli
0ceedb430c Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-02 01:58:30 +03:00
Noemi Erli
5b7edf8bba Backed out 4 changesets (bug 1457255) for kotlin warnings/errors are not being parsed by Treeherder a=backout
Backed out changeset 9c42ce50a911 (bug 1457255)
Backed out changeset 524a0f9fb978 (bug 1457255)
Backed out changeset a49833bfd519 (bug 1457255)
Backed out changeset 4eccde5dfbef (bug 1457255)
2018-05-02 01:16:57 +03:00
Jim Chen
225b0afd64 Bug 1457255 - 4. Fix remaining Java warnings; r=me on CLOSED TREE 2018-05-01 01:01:00 -04:00
Jim Chen
0ce1010182 Bug 1457255 - 2. Fix Java warnings; r=me
Fix all Java warnings in the Android codebase except deprecation and
serial warnings, and warnings in third-party code.

There is one required change to exoplayer2 code under thirdparty,
because that code is included directly in the geckoview project, instead
of the thirdparty project. I think I'll just make a pull-request to
upstream the change, instead of separating exoplayer2 into a
gv-thirdparty project.
2018-05-01 00:22:54 -04:00
Jim Chen
2fd8787e07 Bug 1457255 - 1. Translate kotlin warning/error messages for treeherder; r=nalexander
kotlinc emits its warning/error messages as "w: <msg>" and "e: <msg>",
which Treeherder is unable to pick up. Rather than changing Treeherder,
it's best to make the change as close to the source of the message as
possible. I looked at changing mach to redirect the output of gradle and
make adjustments as necessary, but for some reason gradle doesn't want
to work with the pipes that mach sets up. So that leaves changing the
gradle build script itself.

This patch adds some code to detect the kotlin messages, and output an
adjusted version as necessary. It has the benefit of only dealing with
kotlinc output, so output from other tools should not be inadvertently
changed. However, due to the way it is implemented, it does duplicate
every warning/error output; for example, an error would now look like
this in the terminal:

    <file>: error: <msg>
    e: <file>: <msg>

I think this is an acceptable drawback.
2018-05-01 00:22:53 -04:00
James Willcox
34a150536b Bug 1456254 - Correctly set nextTabParentId in GeckoView r=esawin
MozReview-Commit-ID: IDh10RkeUpY
2018-05-01 10:43:23 -05:00