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

29776 Коммитов

Автор SHA1 Сообщение Дата
Mike Shal e6464dd404 Bug 1611326 - Default to py3_action, and add a py2 attribute to GENERATED_FILES; r=firefox-build-system-reviewers,rstewart
GENERATED_FILES now defaults to python3 unless py2=True is specified as
an argument. All existing GENERATED_FILES scripts and GeneratedFile
templates have the py2=True attribute added, so this patch should
effectively be a no-op.

Going forward, individual scripts can be converted to python3 and their
corresponding py2=True attribute can be deleted. In effect, this patch
will be backed out in pieces until all scripts run in python3, at which
point the py2 attribute itself can be removed.

Differential Revision: https://phabricator.services.mozilla.com/D60919

--HG--
extra : moz-landing-system : lando
2020-02-13 20:31:50 +00:00
Petru Lingurar a68651c6ab Bug 1611346 - Format mma.rst for a better html conversion; r=AndreiLazar
Currently the sections regarding mma events and deeplinks are not properly
formatted making the text hard to read, follow and understand.
Use the `.. code-block:: json` formatting for Events. Found this in the history
for the previous documentation from central
Add a newline before the deep links bullet list so that each element would be
properly formatted.
Before and after screenshots of the docs are posted in the ticket.

Depends on D62730

Differential Revision: https://phabricator.services.mozilla.com/D62731

--HG--
extra : moz-landing-system : lando
2020-02-13 16:11:27 +00:00
Petru Lingurar 429714ebd9 Bug 1611346 - Replace "Fennec" with "Firefox for Android" in mma.rst; r=AndreiLazar
Differential Revision: https://phabricator.services.mozilla.com/D62730

--HG--
extra : moz-landing-system : lando
2020-02-13 16:11:25 +00:00
Dan Minor edf731c011 Bug 1578073 - Update build.gradle for new android camera code; r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D61851

--HG--
extra : moz-landing-system : lando
2020-02-11 17:03:36 +00:00
Eitan Isaacson bd8bbc3f73 Bug 1564507 - Remove 'ZZ' from AccessibilityTest. r=agi
Now that we don't rely on XPCOM accessibility anymore we shouldn't see
intermittents with accessibility on.

Differential Revision: https://phabricator.services.mozilla.com/D61773

--HG--
extra : moz-landing-system : lando
2020-02-10 14:00:16 +00:00
Jonathan Almeida [:jonalmeida] 9942b0ab5a Bug 1614990 - Update WebPushController.onSubscriptionChanged to take only the scope. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D62607

--HG--
extra : moz-landing-system : lando
2020-02-12 17:15:37 +00:00
Brendan Dahl 331db208d5 Bug 1612559 - Add test for rejected install extension for GeckoView. r=geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D62074

--HG--
extra : moz-landing-system : lando
2020-02-07 20:58:18 +00:00
Eugen Sawin 08c14d911f Bug 1612608 - [3.0] Adjust GVE to account for missing multiprocess session setting. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D62080

--HG--
extra : moz-landing-system : lando
2020-02-12 16:45:20 +00:00
Eugen Sawin 7f5b9596ac Bug 1612608 - [2.1] Adjust tests to account for missing multiprocess session setting. r=geckoview-reviewers,aklotz
Differential Revision: https://phabricator.services.mozilla.com/D62079

--HG--
extra : moz-landing-system : lando
2020-02-12 16:45:13 +00:00
Eugen Sawin 83e385a410 Bug 1612608 - [1.1] Move useMultiprocess from session to runtime settings. r=snorp,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D62078

--HG--
extra : moz-landing-system : lando
2020-02-12 16:45:06 +00:00
Eugen Sawin 0e72779d84 Bug 1613041 - [2.0] Add missing import. a=bustage-fix
CLOSED TREE

Differential Revision: https://phabricator.services.mozilla.com/D62578

--HG--
extra : amend_source : 2ffda3ba8af9cb5765a017e6815cbe82cff04dfa
2020-02-12 15:54:47 +02:00
Eugen Sawin 34c30bd216 Bug 1613041 - [1.0] Handle null return for getRunningAppProcesses. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D62207

--HG--
extra : moz-landing-system : lando
2020-02-11 14:45:26 +00:00
Brindusan Cristian 5d70119bb0 Backed out 12 changesets (bug 1578073) for linting failure on Camera2Session.java. CLOSED TREE
Backed out changeset 20e979be216b (bug 1578073)
Backed out changeset e361b04a8502 (bug 1578073)
Backed out changeset 8aae0721f09c (bug 1578073)
Backed out changeset 381836e3bad0 (bug 1578073)
Backed out changeset 0c214e8034bb (bug 1578073)
Backed out changeset b91603fdd9de (bug 1578073)
Backed out changeset 8533a03e36ca (bug 1578073)
Backed out changeset 2126f6d9bffc (bug 1578073)
Backed out changeset 39a853c82a71 (bug 1578073)
Backed out changeset 2a8e1c02cede (bug 1578073)
Backed out changeset 55e2a4c5cab9 (bug 1578073)
Backed out changeset 27b45ca46f24 (bug 1578073)

--HG--
rename : dom/media/systemservices/android_video_capture/device_info_android.cc => media/webrtc/trunk/webrtc/modules/video_capture/android/device_info_android.cc
rename : dom/media/systemservices/android_video_capture/device_info_android.h => media/webrtc/trunk/webrtc/modules/video_capture/android/device_info_android.h
rename : dom/media/systemservices/android_video_capture/java/src/org/webrtc/videoengine/CaptureCapabilityAndroid.java => media/webrtc/trunk/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/CaptureCapabilityAndroid.java
rename : dom/media/systemservices/android_video_capture/java/src/org/webrtc/videoengine/VideoCaptureAndroid.java => media/webrtc/trunk/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/VideoCaptureAndroid.java
rename : dom/media/systemservices/android_video_capture/java/src/org/webrtc/videoengine/VideoCaptureDeviceInfoAndroid.java => media/webrtc/trunk/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/VideoCaptureDeviceInfoAndroid.java
rename : dom/media/systemservices/android_video_capture/video_capture_android.cc => media/webrtc/trunk/webrtc/modules/video_capture/android/video_capture_android.cc
rename : dom/media/systemservices/android_video_capture/video_capture_android.h => media/webrtc/trunk/webrtc/modules/video_capture/android/video_capture_android.h
2020-02-11 17:22:50 +02:00
Dan Minor e884920a81 Bug 1578073 - Update build.gradle for new android camera code; r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D61851

--HG--
extra : moz-landing-system : lando
2020-02-10 17:08:38 +00:00
Markus Stange 89d18db033 Bug 1614514 - Insert new line in geckoview-quick-start.md after list in order to fix formatting.
Differential Revision: https://phabricator.services.mozilla.com/D62374

--HG--
extra : moz-landing-system : lando
2020-02-11 00:09:43 +00:00
Thomas Wisniewski 6f8de0038c Bug 1612363 - add ability to allow extensions to close their action popups in GV; r=esawin,agi
add ability to allow extensions to close their action popups in GV.

Differential Revision: https://phabricator.services.mozilla.com/D61823

--HG--
extra : moz-landing-system : lando
2020-02-10 21:20:58 +00:00
Eugen Sawin 466209750f Bug 1608985 - [3.0] Add denied redirect test. r=geckoview-reviewers,snorp
Depends on D61704

Differential Revision: https://phabricator.services.mozilla.com/D61705

--HG--
extra : moz-landing-system : lando
2020-02-10 17:05:06 +00:00
Eugen Sawin aaf4c9b0f8 Bug 1608985 - [2.0] Add LoadRequest debug string. r=geckoview-reviewers,snorp
Depends on D61703

Differential Revision: https://phabricator.services.mozilla.com/D61704

--HG--
extra : moz-landing-system : lando
2020-02-06 17:07:54 +00:00
Makoto Kato 494b9d8d45 Bug 1612785 - GVE should set WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_* via onMetaViewportFitChange. r=geckoview-reviewers,snorp
This is follow up of bug 1574307 (and bug 1503656).

Differential Revision: https://phabricator.services.mozilla.com/D61431

--HG--
extra : moz-landing-system : lando
2020-02-06 16:55:15 +00:00
Brendan Dahl fe7cce925e Bug 1599581 - Implement update extension for GeckoView. r=esawin
Wires up the addon manager update process to the GekcoView API. Adds
several basic tests for verifying the udpate steps. Adds a new way to
automatically bundle new test addons into xpi files and registers them
with the example.com server.

Differential Revision: https://phabricator.services.mozilla.com/D61501

--HG--
extra : moz-landing-system : lando
2020-02-06 01:58:45 +00:00
Eitan Isaacson 697e001179 Bug 1604103 - Instead of pruning links and headings use contentDescription. r=Jamie
Chrome prunes the subtrees of links and headings (with single text leaf
children) and we mimic this in Gecko. The problem is that sometimes a
heading can be a child of a link, and it would be impossible to reach
when navigating by headings.

The main reason we mimiced chrome is because we would getthe name of the
node and its subtree uttered, so you would hear the name of the node
twice. By using contentDescription we can suppress the subtree from
TalkBack's utterance and preserve the node's children for heading
navigation.

Differential Revision: https://phabricator.services.mozilla.com/D61766

--HG--
extra : moz-landing-system : lando
2020-02-06 04:11:47 +00:00
Aaron Klotz cf9539a846 Bug 1607537: Fix timeouts in ParentCrashTest.crashParent and re-enable the test; r=geckoview-reviewers,esawin
The fundamental issue here is that `ParentCrashTest` starts a second
`GeckoRuntime` via `RemoteGeckoService` within the same logical Android
Application.

This patch adds `RuntimeCreator.shutdownRuntime()` so that the test can
shut down the existing `GeckoRuntime` before starting up its own.

Differential Revision: https://phabricator.services.mozilla.com/D61249

--HG--
extra : moz-landing-system : lando
2020-02-05 06:52:11 +00:00
Thomas Wisniewski d15482b6d9 Bug 1598792 - ensure that GeckoView WebExtension.metaData.optionsPageUrl and WebExtension.metaData.openOptionsPageInTab are available after the installExtension promise is resolved; r=robwu,agi
These values are not available right away after `onInstallEnded`, but are available after `Management.on("ready")` for the addon. We prefer not complicating the
situation for GV embedders, and instead only resolving the `installExtension` once the addon is ready.

Differential Revision: https://phabricator.services.mozilla.com/D61281

--HG--
extra : moz-landing-system : lando
2020-01-30 16:28:17 +00:00
Agi Sferro d8a9316c60 Bug 1597793 - Use setTabActive in GVE. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D60943

--HG--
extra : moz-landing-system : lando
2020-01-25 07:27:19 +00:00
Agi Sferro c1ad4b4c0f Bug 1597793 - Don't return a tabId for non-tab windows. r=snorp
If the window is a popup there is no WebExtension tab object present.

Differential Revision: https://phabricator.services.mozilla.com/D60942

--HG--
extra : moz-landing-system : lando
2020-01-25 07:27:17 +00:00
Agi Sferro c4f3912001 Bug 1597793 - Track tab activation in GeckoViewTab. r=snorp
This avoids initialization issues with the previous approach.

Differential Revision: https://phabricator.services.mozilla.com/D60941

--HG--
extra : moz-landing-system : lando
2020-01-25 07:27:14 +00:00
Christoph Walcher baa36cbd6f Bug 1597793 - Support tabs.onActivated in GeckoView r=snorp,agi
Differential Revision: https://phabricator.services.mozilla.com/D60041

--HG--
extra : moz-landing-system : lando
2020-01-25 07:27:12 +00:00
Agi Sferro 16bd2d03b1 Bug 1597793 - Check if a window is not a popup in ext-utils's onLocationChange. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D60986

--HG--
extra : moz-landing-system : lando
2020-01-25 07:27:10 +00:00
Brindusan Cristian ab9177e525 Backed out 5 changesets (bug 1597793) for ESlint error at GeckoViewWebExtension.jsm.
Backed out changeset d8132aa16234 (bug 1597793)
Backed out changeset 79aaf28b5cea (bug 1597793)
Backed out changeset 4de3746c478e (bug 1597793)
Backed out changeset 0e9c04f18e3c (bug 1597793)
Backed out changeset b830ae752c93 (bug 1597793)
2020-01-25 06:40:09 +02:00
Agi Sferro 52b037e389 Bug 1597793 - Use setTabActive in GVE. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D60943

--HG--
extra : moz-landing-system : lando
2020-01-25 02:17:08 +00:00
Agi Sferro a1e95dff3d Bug 1597793 - Don't return a tabId for non-tab windows. r=snorp
If the window is a popup there is no WebExtension tab object present.

Differential Revision: https://phabricator.services.mozilla.com/D60942

--HG--
extra : moz-landing-system : lando
2020-01-25 02:17:06 +00:00
Agi Sferro fca4ac4ef5 Bug 1597793 - Track tab activation in GeckoViewTab. r=snorp
This avoids initialization issues with the previous approach.

Differential Revision: https://phabricator.services.mozilla.com/D60941

--HG--
extra : moz-landing-system : lando
2020-01-25 02:17:04 +00:00
Christoph Walcher 72242d52b8 Bug 1597793 - Support tabs.onActivated in GeckoView r=snorp,agi
Differential Revision: https://phabricator.services.mozilla.com/D60041

--HG--
extra : moz-landing-system : lando
2020-01-25 04:13:30 +00:00
Agi Sferro ca4b3a7c8d Bug 1597793 - Check if a window is not a popup in ext-utils's onLocationChange. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D60986

--HG--
extra : moz-landing-system : lando
2020-01-25 02:16:56 +00:00
Hiroyuki Ikezoe 2dbfdd3a7a Bug 1611038 - Use PresShell::AddResizeEventFlushObserverIfNeeded in nsPresContext::UpdateDynamicToolbarOffset. r=botond
It's possible that UpdateDynamicTollbarOffset is called repeatedly before we
actually fire a window resize event.

Differential Revision: https://phabricator.services.mozilla.com/D60812

--HG--
extra : moz-landing-system : lando
2020-01-24 19:32:27 +00:00
Agi Sferro 3248d990f5 Bug 1611474 - Fix Javadoc errors in LoginStorage.java. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60989

--HG--
extra : moz-landing-system : lando
2020-01-24 18:03:00 +00:00
Mark Banner b6a7518552 Bug 1425047 - Enable rest of ESLint rules for mobile/android. r=esawin
This enables consistent-return, no-empty and no-redeclare.

Differential Revision: https://phabricator.services.mozilla.com/D60827

--HG--
extra : moz-landing-system : lando
2020-01-24 17:32:38 +00:00
Mark Banner c7825a859e Bug 1425047 - Enable ESLint rule object-shorthand for mobile/android. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60826

--HG--
extra : moz-landing-system : lando
2020-01-24 16:27:19 +00:00
Mark Banner ad20c596fe Bug 1425047 - Enable already passing rules for mobile/android. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60825

--HG--
extra : moz-landing-system : lando
2020-01-24 16:27:12 +00:00
Mark Banner 7e33a4e3e5 Bug 1425047 - Enable ESLint rules no-undef and no-unused-vars for mobile/android/chrome/geckoview. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60824

--HG--
extra : moz-landing-system : lando
2020-01-24 16:27:00 +00:00
James Willcox 12adca3745 Bug 1611441 - Don't wait on GeckoRuntime to start in unit tests r=agi
Blocking here causes a problem on startup with the socket server, and
apps don't do this anyway.

Differential Revision: https://phabricator.services.mozilla.com/D60973

--HG--
extra : moz-landing-system : lando
2020-01-24 16:47:45 +00:00
James Willcox 888d9246e9 Bug 1609274 - Disallow media autoplay in GeckoView Example r=geckoview-reviewers,agi
The prompts are annoying and are also making it hard to use GVE
in performance tests.

Differential Revision: https://phabricator.services.mozilla.com/D60851

--HG--
extra : moz-landing-system : lando
2020-01-24 03:03:42 +00:00
Noemi Erli 3480a92965 Bug 1601660 - Fix lint failure r=fix CLOSED TREE
--HG--
extra : amend_source : eacfc4fec85c51e042c38ea522d103ac1ca16a8d
2020-01-24 13:46:57 +02:00
Tim Huang 75a5e78b99 Bug 1601660 - Part 1: Make GeckoView to get the content blocking log in the parent process. r=geckoview-reviewers,Ehsan,snorp
This patch is doing two things.
1. Make GeckoView directly gets the ContentBlockingLog in the parent
process when it gets the bundle event 'ContentBlocking:RequestLog'. It
will get the top-level browsingContext and get the log from the
WindowGlobal of this browsingContext.
2. Remove the GeckoViewContentBlockingChild. The child module of
ContentBlocking is no longer needed since it serves nothing after we move
the functionality of getting log to the parent process.

Differential Revision: https://phabricator.services.mozilla.com/D57464

--HG--
extra : moz-landing-system : lando
2020-01-24 11:06:39 +00:00
Eugen Sawin 791de0acc6 Bug 1610353 - [5.1] Update API changelog. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D60666

--HG--
extra : moz-landing-system : lando
2020-01-23 20:04:10 +00:00
Eugen Sawin 7860cc1bbc Bug 1610353 - [4.0] Try to make top-level docs prettier. r=agi
Differential Revision: https://phabricator.services.mozilla.com/D60443

--HG--
extra : moz-landing-system : lando
2020-01-23 20:04:00 +00:00
Eugen Sawin 78b6ddecbf Bug 1610353 - [3.0] Add Login Storage onLoginUsed test. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D60442

--HG--
extra : moz-landing-system : lando
2020-01-23 20:03:57 +00:00
Eugen Sawin 7f3a6f5a5f Bug 1610353 - [2.0] Connect Gecko backend to GeckoView onLoginUsed API. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D60441

--HG--
extra : moz-landing-system : lando
2020-01-23 20:03:47 +00:00
Eugen Sawin a2a4ce5156 Bug 1610353 - [1.0] Add LoginStorage onLoginUsed API. r=snorp,geckoview-reviewers,MattN,agi
Differential Revision: https://phabricator.services.mozilla.com/D60440

--HG--
extra : moz-landing-system : lando
2020-01-23 20:03:40 +00:00
James Willcox 415b58b0a0 Bug 1608588 - Auto-deny `desktop-notification` permission appropriately r=geckoview-reviewers,esawin
This causes us to automatically deny the `desktop-notification`
permission if there is no user interaction, like desktop Firefox. This is
not enforced if the `dom.webnotifications.requireuserinteraction`
preference is set to `false`

Differential Revision: https://phabricator.services.mozilla.com/D60758

--HG--
extra : moz-landing-system : lando
2020-01-23 18:02:49 +00:00
Aaron Klotz ce2204248f Bug 1595834: Make GeckoProcessManager interface e10s-multi aware; r=snorp
This patch does not change any of the *internals* of process management in
`GeckoProcessManager`, however it upgrades the interface in preparation for
such changes.

* We add a java equivalent to Gecko's `GeckoProcessType` enumeration;
* We add the `GeckoProcessType.Selector` class which will be used for
  identifying running content processes;
* We update `ContentParent::MarkAsDead` to use `GeckoProcessType.Selector` for
  indicating which process should be marked.

Differential Revision: https://phabricator.services.mozilla.com/D60539

--HG--
extra : moz-landing-system : lando
2020-01-23 18:12:51 +00:00
Coroiu Cristina 30708cd54c Backed out changeset ef356b5b0879 (bug 1608588) for junit failures on a CLOSED TREE 2020-01-23 19:49:30 +02:00
James Willcox e2ee347144 Bug 1608588 - Auto-deny `desktop-notification` permission appropriately r=geckoview-reviewers,esawin
This causes us to automatically deny the `desktop-notification`
permission if there is no user interaction, like desktop Firefox. This is
not enforced if the `dom.webnotifications.requireuserinteraction`
preference is set to `false`

Differential Revision: https://phabricator.services.mozilla.com/D60758

--HG--
extra : moz-landing-system : lando
2020-01-23 16:28:42 +00:00
Coroiu Cristina 1110c2bfad Backed out changeset 8eb2b7857f62 (bug 1608588) for ESlint failure at mobile/android/components/geckoview/GeckoViewPermission.js on a CLOSED TREE 2020-01-23 18:17:48 +02:00
James Willcox f691a36dc0 Bug 1608588 - Auto-deny `desktop-notification` permission appropriately r=geckoview-reviewers,esawin
This causes us to automatically deny the `desktop-notification`
permission if there is no user interaction, like desktop Firefox. This is
not enforced if the `dom.webnotifications.requireuserinteraction`
preference is set to `false`

Differential Revision: https://phabricator.services.mozilla.com/D60758

--HG--
extra : moz-landing-system : lando
2020-01-23 12:48:55 +00:00
James Willcox dcf1f45bdd Bug 1610338 - Make popup blocking work in GeckoView r=geckoview-reviewers,agi
This also fixes the tests, and adds a utility method for waiting one
round trip between the UI and Gecko thread.

Differential Revision: https://phabricator.services.mozilla.com/D60724

--HG--
extra : moz-landing-system : lando
2020-01-23 15:22:47 +00:00
Brendan Dahl f15a6c8a03 Bug 1533406 - Add tests for gecko view private mode. r=snorp
1) Adds a basic functionality test.
2) Adds a tests to ensure storage is shared across private mode sessions.

Differential Revision: https://phabricator.services.mozilla.com/D60546

--HG--
extra : moz-landing-system : lando
2020-01-22 22:07:08 +00:00
Brendan Dahl d4e28b08cf Bug 1533406 - Extend private browsing lifetime for gecko view too. r=smaug
Private browsing data kept getting cleared each time a new tab was created
since gecko thought there were no more private windows. Also, fixes a typo
in the case of "windowtype".

Differential Revision: https://phabricator.services.mozilla.com/D60330

--HG--
extra : moz-landing-system : lando
2020-01-22 22:06:58 +00:00
Bogdan Tara 3722dbcc14 Backed out 2 changesets (bug 1533406) for lints complaining about PrivateModeTest.kt CLOSED TREE
Backed out changeset 1b67df42fdf2 (bug 1533406)
Backed out changeset e60af0dab868 (bug 1533406)
2020-01-22 22:50:50 +02:00
Brendan Dahl fdde9c7d30 Bug 1533406 - Add tests for gecko view private mode. r=snorp
1) Adds a basic functionality test.
2) Adds a tests to ensure storage is shared across private mode sessions.

Depends on D60330

Differential Revision: https://phabricator.services.mozilla.com/D60546

--HG--
extra : moz-landing-system : lando
2020-01-21 21:50:35 +00:00
Brendan Dahl 6bd04c1a5d Bug 1533406 - Extend private browsing lifetime for gecko view too. r=smaug
Private browsing data kept getting cleared each time a new tab was created
since gecko thought there were no more private windows. Also, fixes a typo
in the case of "windowtype".

Differential Revision: https://phabricator.services.mozilla.com/D60330

--HG--
extra : moz-landing-system : lando
2020-01-21 18:28:37 +00:00
Agi Sferro c1c4d77618 Bug 1610914 - Handle theme_icons in Icon. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D60726

--HG--
extra : moz-landing-system : lando
2020-01-22 19:19:48 +00:00
Agi Sferro 45c0f04775 Bug 1610641 - Remove all remaining Fennec modules. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60586

--HG--
extra : moz-landing-system : lando
2020-01-22 15:19:49 +00:00
Agi Sferro 576e9c816c Bug 1610641 - Remove unused SharedPreferences. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60585

--HG--
extra : moz-landing-system : lando
2020-01-22 15:19:47 +00:00
Agi Sferro fd153c526e Bug 1610641 - Remove unused MediaPlayerApp, Notifications, RuntimePermissions. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60584

--HG--
extra : moz-landing-system : lando
2020-01-22 15:19:40 +00:00
Agi Sferro 2813249bdd Bug 1610641 - Remove unused FormAssistant.jsm, DownloadNotifications.jsm r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60583

--HG--
extra : moz-landing-system : lando
2020-01-22 15:19:37 +00:00
Agi Sferro b02df59d02 Bug 1610641 - Remove unused ActionBarHandler.jsm. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60582

--HG--
extra : moz-landing-system : lando
2020-01-22 15:19:35 +00:00
Agi Sferro 7610d7f3cb Bug 1610641 - Remove unused Accounts.jsm. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60581

--HG--
extra : moz-landing-system : lando
2020-01-22 15:19:33 +00:00
Agi Sferro 9b30266671 Bug 1610641 - Remove Fennec's ext-browsingData. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D60580

--HG--
extra : moz-landing-system : lando
2020-01-22 15:19:31 +00:00
Agi Sferro a6d7032a66 Bug 1610608 - Remove unused ErrorPageEventHandler. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60579

--HG--
extra : moz-landing-system : lando
2020-01-22 15:19:29 +00:00
Agi Sferro 3c673800f1 Bug 1610641 - Remove unused NetErrorHelper.jsm r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60578

--HG--
extra : moz-landing-system : lando
2020-01-22 15:19:27 +00:00
Agi Sferro 5397fdb093 Bug 1610641 - Remove unused Prompt.jsm r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60577

--HG--
extra : moz-landing-system : lando
2020-01-22 15:19:24 +00:00
Agi Sferro 5a1c71fcd7 Bug 1610641 - Remove unused HelperApps.jsm. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60576

--HG--
extra : moz-landing-system : lando
2020-01-22 15:19:22 +00:00
Agi Sferro 151e1545d9 Bug 1593395 - Remove unused FxAccountsWebChannel.jsm. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60575

--HG--
extra : moz-landing-system : lando
2020-01-22 15:19:18 +00:00
Agi Sferro 0969a490fb Bug 1610641 - Remove unused SelectHelper.jsm r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60574

--HG--
extra : moz-landing-system : lando
2020-01-22 15:19:16 +00:00
Agi Sferro fb8a612c6d Bug 1610641 - Remove unused InputWidgetHelper.jsm. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60573

--HG--
extra : moz-landing-system : lando
2020-01-22 15:19:13 +00:00
Agi Sferro 305511975b Bug 1610641 - Remove unused WebrtcUI.jsm. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60572

--HG--
extra : moz-landing-system : lando
2020-01-22 15:19:10 +00:00
Narcis Beleuzu df67c871b2 Backed out 15 changesets (bug 1593395, bug 1610641, bug 1610608) for build bustages on chrome.ini . CLOSED TREE
Backed out changeset 11f9ed281022 (bug 1610641)
Backed out changeset a3852d7add7c (bug 1610641)
Backed out changeset 03fd98c58009 (bug 1610641)
Backed out changeset df53aae9f611 (bug 1610641)
Backed out changeset 8dce2aa95db7 (bug 1610641)
Backed out changeset 4d78ecbd2217 (bug 1610641)
Backed out changeset 8e5484acd16c (bug 1610641)
Backed out changeset 45be5eda8a5e (bug 1610608)
Backed out changeset 040bdf225776 (bug 1610641)
Backed out changeset 4a84eddd9815 (bug 1610641)
Backed out changeset e469149d1828 (bug 1610641)
Backed out changeset f1f041f2c5c1 (bug 1593395)
Backed out changeset ae84f1c37adb (bug 1610641)
Backed out changeset 4cf939a54ca3 (bug 1610641)
Backed out changeset 22f33e33fb81 (bug 1610641)
2020-01-22 17:13:36 +02:00
Agi Sferro eed39517bf Bug 1610641 - Remove all remaining Fennec modules. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60586

--HG--
extra : moz-landing-system : lando
2020-01-22 14:52:56 +00:00
Agi Sferro 5ee251c454 Bug 1610641 - Remove unused SharedPreferences. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60585

--HG--
extra : moz-landing-system : lando
2020-01-22 14:52:53 +00:00
Agi Sferro d5c021dcff Bug 1610641 - Remove unused MediaPlayerApp, Notifications, RuntimePermissions. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60584

--HG--
extra : moz-landing-system : lando
2020-01-22 14:52:51 +00:00
Agi Sferro 162b378a2a Bug 1610641 - Remove unused FormAssistant.jsm, DownloadNotifications.jsm r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60583

--HG--
extra : moz-landing-system : lando
2020-01-22 14:52:49 +00:00
Agi Sferro b86095690f Bug 1610641 - Remove unused ActionBarHandler.jsm. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60582

--HG--
extra : moz-landing-system : lando
2020-01-22 14:52:47 +00:00
Agi Sferro 19eac071b5 Bug 1610641 - Remove unused Accounts.jsm. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60581

--HG--
extra : moz-landing-system : lando
2020-01-22 14:52:44 +00:00
Agi Sferro 03744413b0 Bug 1610641 - Remove Fennec's ext-browsingData. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D60580

--HG--
extra : moz-landing-system : lando
2020-01-22 14:52:42 +00:00
Agi Sferro fa62d87def Bug 1610608 - Remove unused ErrorPageEventHandler. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60579

--HG--
extra : moz-landing-system : lando
2020-01-22 14:52:40 +00:00
Agi Sferro 07f16c547d Bug 1610641 - Remove unused NetErrorHelper.jsm r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60578

--HG--
extra : moz-landing-system : lando
2020-01-22 14:52:38 +00:00
Agi Sferro de2ff3ef4c Bug 1610641 - Remove unused Prompt.jsm r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60577

--HG--
extra : moz-landing-system : lando
2020-01-22 14:52:36 +00:00
Agi Sferro ae9d27056b Bug 1610641 - Remove unused HelperApps.jsm. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60576

--HG--
extra : moz-landing-system : lando
2020-01-22 14:52:34 +00:00
Agi Sferro 9881f80610 Bug 1593395 - Remove unused FxAccountsWebChannel.jsm. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60575

--HG--
extra : moz-landing-system : lando
2020-01-22 14:52:31 +00:00
Agi Sferro 4b9cbeb71e Bug 1610641 - Remove unused SelectHelper.jsm r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60574

--HG--
extra : moz-landing-system : lando
2020-01-22 14:52:29 +00:00
Agi Sferro 8cae585683 Bug 1610641 - Remove unused InputWidgetHelper.jsm. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60573

--HG--
extra : moz-landing-system : lando
2020-01-22 14:52:27 +00:00
Agi Sferro f141e90b45 Bug 1610641 - Remove unused WebrtcUI.jsm. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60572

--HG--
extra : moz-landing-system : lando
2020-01-22 14:52:25 +00:00
Oana Pop Rus 1d2bce24ac Backed out 2 changesets (bug 1601660) for gv-junit failures in ContentBlockingControllerTest. on a CLOSED TREE
Backed out changeset ec5d3b078a88 (bug 1601660)
Backed out changeset 06001b30f6cd (bug 1601660)
2020-01-22 12:06:22 +02:00
Tim Huang 91e877c5cd Bug 1601660 - Part 1: Make GeckoView to get the content blocking log in the parent process. r=geckoview-reviewers,Ehsan,snorp
This patch is doing two things.
1. Make GeckoView directly gets the ContentBlockingLog in the parent
process when it gets the bundle event 'ContentBlocking:RequestLog'. It
will get the top-level browsingContext and get the log from the
WindowGlobal of this browsingContext.
2. Remove the GeckoViewContentBlockingChild. The child module of
ContentBlocking is no longer needed since it serves nothing after we move
the functionality of getting log to the parent process.

Differential Revision: https://phabricator.services.mozilla.com/D57464

--HG--
extra : moz-landing-system : lando
2020-01-06 20:00:16 +00:00
Agi Sferro 5473cc01bb Bug 1579440 - Set browser.tabs.remote.autostart to true for geckoview. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D60332

--HG--
extra : moz-landing-system : lando
2020-01-21 23:46:32 +00:00
James Willcox cee307c4e2 Bug 1610619 - Remove unused GeckoJarReader class r=geckoview-reviewers,aklotz
Differential Revision: https://phabricator.services.mozilla.com/D60556

--HG--
extra : moz-landing-system : lando
2020-01-21 20:10:11 +00:00
Makoto Kato 452a87b7b0 Bug 1574307 - Part 4. Notify GV of viewport-fit. r=geckoview-reviewers,snorp
`viewport-fit` is hint that browser application can use cutout area. So we should expose it to GeckoView application to set `layoutInDisplayCutoutMode`.

When meta element is found or changed, `ContentDelegate.onMetaviewportFitChange` is called. Even if nothing, it will be called after DOMContentLoaded is fired.

Depends on D57398

Differential Revision: https://phabricator.services.mozilla.com/D55610

--HG--
extra : moz-landing-system : lando
2020-01-20 08:42:05 +00:00
Aaron Klotz d0c0679aac Bug 1600663: Hook GV process management into ContentParent; r=geckoview-reviewers,snorp
We need to propagate `ContentParent::MarkAsDead` up to the Android java layer
so that it has a view of the state of content processes that is consistent
with the view of Gecko's content process management.

Differential Revision: https://phabricator.services.mozilla.com/D58564

--HG--
extra : moz-landing-system : lando
2020-01-20 07:46:33 +00:00
Aaron Klotz c21015215b Bug 1594820: Part 4 - Modify GeckoThread.preload to directly call into the process manager; r=geckoview-reviewers,snorp
Now that everything in `GeckoProcessManager` runs on the XPCOM launcher thread,
`GeckoThread` should just call `GeckoProcessManager.preload()` directly.

Differential Revision: https://phabricator.services.mozilla.com/D57840

--HG--
extra : moz-landing-system : lando
2020-01-20 07:45:55 +00:00
Aaron Klotz ed64053aec Bug 1594820: Part 3 - Modify GeckoProcessManager to bind and start child processes asynchronously on the XPCOM launcher thread; r=geckoview-reviewers,agi
The primary purpose of this patch is to convert the internal sequence of
service binding and invoking of `start` to asynchronously run on the XPCOM
launcher thread via `GeckoResult`. Because more of the code now runs on the same
thread, many of these methods no longer need to be `synchronized`.

Disconnecting via `unbind` is also modified to use the launcher thread and
`GeckoResult`.

Note that no changes have been made yet to enable multiple processes of the
same type; those changes will be made in bug 1595834.

Differential Revision: https://phabricator.services.mozilla.com/D57839

--HG--
extra : moz-landing-system : lando
2020-01-20 07:45:22 +00:00
Aaron Klotz e0ad4a5462 Bug 1594820: Part 2 - Make GeckoResult compatible with XPCOMEventTarget; r=snorp
This patch adds a `Dispatcher` implementation that allows us to create
`GeckoResult`s that will dispatch to the XPCOM launcher thread.

Differential Revision: https://phabricator.services.mozilla.com/D57838

--HG--
extra : moz-landing-system : lando
2020-01-20 07:44:45 +00:00
Aaron Klotz c78829b682 Bug 1594820: Part 1 - Modify XPCOMEventTarget to accept method calls before JNI is ready; r=snorp
Since `XPCOMEventTarget` uses JNI, this patch makes it possible for consumers to
retrieve and invoke methods on one without needing to worry about whether JNI
is actually up yet.

To achieve this, we create the `IXPCOMEventTarget` interface, and observe that
both of its methods can be handled by a proxy if JNI is not ready:

* Calls to `dispatch` may be enqueued until JNI is up;
* Observe that, when JNI is not up yet, the result of `isOnCurrentThread`
  can never be `true`.

Once JNI is up and the event targets have been resolved, the proxies are
replaced with the real, concrete `XPCOMEventTarget`s and are no longer used for
the remainder of the Gecko instance's lifetime.

Differential Revision: https://phabricator.services.mozilla.com/D57837

--HG--
extra : moz-landing-system : lando
2020-01-20 07:44:07 +00:00
Agi Sferro c84a99bcfd Bug 1609750 - Ignore Extension fallback page in LoadURIDelegate. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D60174

--HG--
extra : moz-landing-system : lando
2020-01-17 15:23:57 +00:00
Eugen Sawin 85bf14df9d Bug 1609753 - [1.0] Only access matchedTrackingLists when implemented. r=droeh,dimi
Differential Revision: https://phabricator.services.mozilla.com/D60176

--HG--
extra : moz-landing-system : lando
2020-01-16 20:57:12 +00:00
Eitan Isaacson 20e563fc1c Bug 1534287 - Catch exception when sending a11y event when platform a11y is disabled. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D59419

--HG--
extra : moz-landing-system : lando
2020-01-10 15:35:06 +00:00
Tomislav Jovanovic 48d05a45cb Bug 1602639 - Switch native messaging from MessageManagers to Conduits r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D58356

--HG--
extra : moz-landing-system : lando
2020-01-16 22:41:27 +00:00
Agi Sferro 45e134701d Bug 1608296 - Attach DelegateController to WebExtension created by ExtensionStore. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D60061

--HG--
extra : moz-landing-system : lando
2020-01-16 18:25:47 +00:00
Dylan Roeh f24f8dde64 Bug 1587552 - Update GeckoView content blocking exception API and add better support for removing exceptions. r=esawin,Ehsan,geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D58828

--HG--
extra : moz-landing-system : lando
2020-01-16 18:09:45 +00:00
Agi Sferro f3a473d590 Bug 1588150 - Add Install AddOn to GVE. r=snorp
This patch adds a new menu item to GVE that allows users to install an
arbitrary extension given it's URL (usually from a.m.o, but we don't really
verify that).

Differential Revision: https://phabricator.services.mozilla.com/D59973

--HG--
extra : moz-landing-system : lando
2020-01-15 22:03:13 +00:00
Shane Caraveo 8351044ded Bug 1524327 remove MOZ_ALLOW_LEGACY_EXTENSIONS and extensions.legacy.enabled r=zombie,aswan
Legacy extensions are no longer loaded, so we can drop the build config for it.  We
still need flags for handling experimental APIs since what we require differs between builds
and distributions.

Differential Revision: https://phabricator.services.mozilla.com/D57413

--HG--
extra : moz-landing-system : lando
2020-01-15 21:38:40 +00:00
Eugen Sawin d73a132ca5 Bug 1608514 - [2.1] Extend Login Storage tests to test credential updates. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D59546

--HG--
extra : moz-landing-system : lando
2020-01-15 20:25:03 +00:00
James Willcox a11e70ded5 Bug 1609158 - Add a simple test for `window.open('file://...')` with GeckoView r=geckoview-reviewers,agi
This is covered in other test suites, but it may be possible for
GeckoView to get this wrong, so add an explicit test.

Differential Revision: https://phabricator.services.mozilla.com/D59935

--HG--
extra : moz-landing-system : lando
2020-01-15 14:20:26 +00:00
Bogdan Tara c75b5dbb22 Backed out 2 changesets (bug 1608514) for geckoview.test.LoginStorageDelegateTest.loginUpdateAccept timeouts
Backed out changeset f4537109c514 (bug 1608514)
Backed out changeset 5cd5aee16013 (bug 1608514)
2020-01-15 16:48:51 +02:00
Eugen Sawin feb691f14c Bug 1608514 - [2.0] Extend Login Storage tests to test credential updates. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D59546

--HG--
extra : moz-landing-system : lando
2020-01-14 15:57:15 +00:00
Emilio Cobos Álvarez fff6c9e1ac Bug 981248 - Rewrite <input type=number> to avoid an anonymous input. r=masayuki,surkov,jwatt,ntim,jfkthame,smaug
Instead, subclass nsTextControlFrame. This simplifies the code and avoids
correctness issues.

I kept the localization functionality though it is not spec compliant. But I
filed a bug to remove it in a followup.

Differential Revision: https://phabricator.services.mozilla.com/D57193

--HG--
extra : moz-landing-system : lando
2020-01-14 19:01:05 +00:00
James Willcox ca5e7b9dc0 Bug 1542579 - Use the Android app name as the Gecko app name r=geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D59530

--HG--
extra : moz-landing-system : lando
2020-01-14 20:14:59 +00:00
Agi Sferro 7110e845e3 Bug 1602565 - Don't run LoadURIDelegateChild on WebExtension windows. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D59910

--HG--
extra : moz-landing-system : lando
2020-01-14 19:05:28 +00:00
Narcis Beleuzu 3779d59f17 Backed out changeset db42fce46a0b (bug 1587552) for gv failures on trackingProtectionExceptionRemoveByException. CLOSED TREE 2020-01-14 20:59:28 +02:00
Mihai Alexandru Michis 0d01c60c37 Backed out 2 changesets (bug 981248) for causing multiple failures.
CLOSED TREE

Backed out changeset 7a96708cc8b7 (bug 981248)
Backed out changeset 1eace7bd28d9 (bug 981248)
2020-01-14 19:28:17 +02:00
Dylan Roeh 0971e00ebf Bug 1587552 - Update GeckoView content blocking exception API and add better support for removing exceptions. r=esawin,Ehsan,geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D58828

--HG--
extra : moz-landing-system : lando
2020-01-14 16:40:46 +00:00
Emilio Cobos Álvarez 4bd78f7a9c Bug 981248 - Remove now-unneeded special-case in AutoFillDelegateTest.kt. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D59886

--HG--
extra : moz-landing-system : lando
2020-01-14 16:10:21 +00:00
Agi Sferro fb2e2aaa8e Bug 1604222 - Implement disable(APP_DISABLED) for WebExtension. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D59223

--HG--
extra : moz-landing-system : lando
2020-01-13 23:32:33 +00:00
Razvan Maries c743b59ecb Backed out 3 changesets (bug 1604222) for gv-junit perma fails. CLOSED TREE
Backed out changeset a135f610a311 (bug 1604222)
Backed out changeset 34eace2047b4 (bug 1604222)
Backed out changeset 15bf31fa86b9 (bug 1604222)
2020-01-14 01:03:18 +02:00
Agi Sferro 0d072a9009 Bug 1604222 - Implement disable(APP_DISABLED) for WebExtension. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D59223

--HG--
extra : moz-landing-system : lando
2020-01-13 22:13:02 +00:00
James Willcox cdbb518fb1 Bug 1608560 - Use androidx.test instead of android-support r=geckoview-reviewers,aklotz,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D59575

--HG--
extra : moz-landing-system : lando
2020-01-13 21:36:22 +00:00
James Willcox 95667b8165 Bug 1608570 - Remove some old Fennec-related build variables r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D59573

--HG--
extra : moz-landing-system : lando
2020-01-10 22:51:03 +00:00
Emily Toop 1f0a7e46ff Bug 1607843 - Add instructions for running ESLint as well if JavaScript changes are also made. r=geckoview-reviewers,agi
Originally submitted as PR on documentation site by @jonalmeida.

Differential Revision: https://phabricator.services.mozilla.com/D59300

--HG--
extra : moz-landing-system : lando
2020-01-09 17:10:26 +00:00
Tim Huang d9eda2ce70 Bug 1599043 - Part 10: Make GeckoView to listen OnContentBlockingEvent on the parent process. r=geckoview-reviewers,agi
The GeckoView is listening OnContentBlockingEvent in the content process.
As we move the event into the parent process, we have to change it to
listen the event in the parent process.

This patch also adds a workaround in the test
ContentBlockingControllerTest#getLog(). This workaround adds a 500ms
delays before we check the ContentBlockingLog. This is needed because there
is a delay between the notification of OnContentBlockingEven in the parent
process and the actual recording of the log in the content process. This
workaround will be no longer needed once we move the log entirely to the
parent process (Bug 1599046).

Differential Revision: https://phabricator.services.mozilla.com/D56749

--HG--
extra : moz-landing-system : lando
2020-01-13 14:09:12 +00:00
Agi Sferro 074fd40dd6 Bug 1602565 - Don't run LoadURIDelegateChild on non-Content windows. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D59536

--HG--
extra : moz-landing-system : lando
2020-01-11 01:18:26 +00:00
Daniel Varga 3215317bdc Backed out changeset dd2f16711aba (bug 1606922) for causing build failures
CLOSED TREE
2020-01-11 03:08:34 +02:00
Mike Shal f5adc4762e Bug 1606922 - Move MOZ_AUTOMATION_PACKAGE_TESTS from mozconfigs to taskcluster; r=firefox-build-system-reviewers,tomprince,chmanchester
We don't need to package tests for builds that we don't actually run
tests from, but it is tricky to align this correctly by setting
MOZ_AUTOMATION_PACKAGE_TESTS=0 in relevant mozconfigs. Instead we can
set the environment variable in the task definition, and use a full
taskgraph verification check to ensure that the flag is only set on
builds that have tests.

The one tricky task is win64-aarch64-shippable/opt, which copies tests
from another build rather than building them itself. For this reason, it
explicitly sets MOZ_AUTOMATION_PACKAGE_TESTS: '0' in the environment
even though that is now the default. This is why the exception is only
raised if MOZ_AUTOMATION_PACKAGE_TESTS is not set at all, rather than
checking that it is set to 1.

Differential Revision: https://phabricator.services.mozilla.com/D59426

--HG--
extra : moz-landing-system : lando
2020-01-10 22:46:11 +00:00
James Willcox 01077c56aa Bug 1598793 - Use GeckoView logo for the example app icon r=geckoview-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D59544

--HG--
extra : moz-landing-system : lando
2020-01-10 21:52:29 +00:00
James Willcox 5cdbd73662 Bug 1508730 - Ensure `WebExecutorTest#testSslError()` actually throws r=geckoview-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D59529

--HG--
extra : moz-landing-system : lando
2020-01-10 21:40:40 +00:00
Neil Deakin f4cc73018c Bug 1601301, add an 'include descendants' flag to mediaCaptureWindowState. With fission, need to handle each subframe separately, r=jib
The window will be supplied in the recording-device-events notification and mediaCaptureWindowState will be called on each window in turn.

Differential Revision: https://phabricator.services.mozilla.com/D56569

--HG--
extra : moz-landing-system : lando
2020-01-10 15:29:08 +00:00
James Willcox 3a8c22db22 Bug 1508730 - Add `WebRequestError#certificate`. r=geckoview-reviewers,droeh,agi
This is useful if you get a certificate-related error and want
to inspect the broken certificate.

Differential Revision: https://phabricator.services.mozilla.com/D58170

--HG--
extra : moz-landing-system : lando
2020-01-10 15:24:08 +00:00
James Willcox e2656f7f99 Bug 1508730 - Add `WebResponse#certificate` r=geckoview-reviewers,droeh,agi
This is the server certificate, if any, as a
java.security.cert.X509Certificate.

Differential Revision: https://phabricator.services.mozilla.com/D58156

--HG--
extra : moz-landing-system : lando
2020-01-10 15:09:24 +00:00
James Willcox 4764fe7733 Bug 1508730 - Add `WebResponse#isSecure` r=geckoview-reviewers,droeh,agi
Differential Revision: https://phabricator.services.mozilla.com/D58155

--HG--
extra : moz-landing-system : lando
2020-01-10 15:09:22 +00:00
James Willcox c1f7515ff8 Bug 1508730 - Expose full X509Certificate in `SecurityInfo` object r=geckoview-reviewers,droeh,agi
Differential Revision: https://phabricator.services.mozilla.com/D58154

--HG--
extra : moz-landing-system : lando
2020-01-10 15:24:36 +00:00
Emily Toop 8ef5bead3a Bug 1607817 - Sometimes gradle sync does not automatically start, in that case it is required to 'force' the sync to happen. Added instructions on how to do that. r=geckoview-reviewers,agi
Originally submitted as PR to documentation GH repo by @ktaelman. https://github.

...ub.com/mozilla/geckoview/pull/97

Differential Revision: https://phabricator.services.mozilla.com/D59162

--HG--
extra : moz-landing-system : lando
2020-01-09 17:11:19 +00:00
Emily Toop c8d8e8922c Bug 1607814 - Add section for debugging GV on Windows to documentation r=geckoview-reviewers,m_kato
Originally submitted as PR on GH repo by @m_kato. Moved to docs repo in Mozilla Central. https://github.com/mozilla/geckoview/pull/89

Differential Revision: https://phabricator.services.mozilla.com/D59152

--HG--
extra : moz-landing-system : lando
2020-01-10 13:32:52 +00:00
Narcis Beleuzu b5b7a719b8 Backed out 4 changesets (bug 1594820) for geckoview failures. CLOSED TREE
Backed out changeset 5bf29e6ca1e8 (bug 1594820)
Backed out changeset a6554cbe8a2f (bug 1594820)
Backed out changeset 9cc8d70c23bb (bug 1594820)
Backed out changeset b7ff66be3a86 (bug 1594820)
2020-01-10 03:16:20 +02:00
Aaron Klotz 4a2545c164 Bug 1594820: Part 4 - Modify GeckoThread.preload to directly call into the process manager; r=geckoview-reviewers,snorp
Now that everything in `GeckoProcessManager` runs on the XPCOM launcher thread,
`GeckoThread` should just call `GeckoProcessManager.preload()` directly.

Differential Revision: https://phabricator.services.mozilla.com/D57840

--HG--
extra : moz-landing-system : lando
2020-01-09 21:41:02 +00:00
Aaron Klotz 5350ee469a Bug 1594820: Part 3 - Modify GeckoProcessManager to bind and start child processes asynchronously on the XPCOM launcher thread; r=geckoview-reviewers,agi
The primary purpose of this patch is to convert the internal sequence of
service binding and invoking of `start` to asynchronously run on the XPCOM
launcher thread via `GeckoResult`. Because more of the code now runs on the same
thread, many of these methods no longer need to be `synchronized`.

Disconnecting via `unbind` is also modified to use the launcher thread and
`GeckoResult`.

Note that no changes have been made yet to enable multiple processes of the
same type; those changes will be made in bug 1595834.

Differential Revision: https://phabricator.services.mozilla.com/D57839

--HG--
extra : moz-landing-system : lando
2020-01-09 21:40:34 +00:00
Aaron Klotz 1a1ed57324 Bug 1594820: Part 2 - Make GeckoResult compatible with XPCOMEventTarget; r=snorp
This patch adds a `Dispatcher` implementation that allows us to create
`GeckoResult`s that will dispatch to the XPCOM launcher thread.

Differential Revision: https://phabricator.services.mozilla.com/D57838

--HG--
extra : moz-landing-system : lando
2020-01-09 21:40:06 +00:00
Aaron Klotz cec0194852 Bug 1594820: Part 1 - Modify XPCOMEventTarget to accept method calls before JNI is ready; r=snorp
Since `XPCOMEventTarget` uses JNI, this patch makes it possible for consumers to
retrieve and invoke methods on one without needing to worry about whether JNI
is actually up yet.

To achieve this, we create the `IXPCOMEventTarget` interface, and observe that
both of its methods can be handled by a proxy if JNI is not ready:

* Calls to `dispatch` may be enqueued until JNI is up;
* Observe that, when JNI is not up yet, the result of `isOnCurrentThread`
  can never be `true`.

Once JNI is up and the event targets have been resolved, the proxies are
replaced with the real, concrete `XPCOMEventTarget`s and are no longer used for
the remainder of the Gecko instance's lifetime.

Differential Revision: https://phabricator.services.mozilla.com/D57837

--HG--
extra : moz-landing-system : lando
2020-01-09 21:39:31 +00:00
Eugen Sawin a8257a80e4 Bug 1588237 - [1.1] Adjust telemetry test to accept incremental telemetry dispatching. r=chutten,agi
Differential Revision: https://phabricator.services.mozilla.com/D59129

--HG--
extra : moz-landing-system : lando
2020-01-09 12:25:33 +00:00
Tim Nguyen d6d631b95f Bug 1516577 - Update GeckoView about:config visual design. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D59203

--HG--
extra : moz-landing-system : lando
2020-01-08 21:06:36 +00:00
Aaron Klotz 0cd38fb1a5 Bug 1604345: Mark crashParent as UiThreadTest; r=geckoview-reviewers,snorp
`TestCrashHandler.Client` expects to run in the UI thread, so we move calls
to its methods into `crashParent` and annotate the test with `@UiThreadTest`.

Differential Revision: https://phabricator.services.mozilla.com/D58577

--HG--
extra : moz-landing-system : lando
2020-01-07 15:41:27 +00:00
Agi Sferro 6ac412a45a Bug 1599585 - Implement enable/disable extensions. r=esawin,snorp
Differential Revision: https://phabricator.services.mozilla.com/D58859

--HG--
extra : moz-landing-system : lando
2020-01-07 22:30:59 +00:00
Agi Sferro 969a457a69 Bug 1605256 - Add exception type to message. r=snorp
This commit does two things:

- It exposes the error that caused the test to fail in our logs, so it would
  appear like so:

```
TEST-UNEXPECTED-FAIL | org.mozilla.geckoview.test.ExtensionActionTest.setIconSvg[#pageAction] | java.lang.AssertionError: We shouldn't get here
```

- It catches exceptions that are raised before any test code is run and outputs
  a different message (since those failures do not depend on the test at all),
  like so:

```
ERROR runjunit.py | The previous test failed because of an error in the test harness | org.mozilla.geckoview.test.rule.TestHarnessException: java.lang.RuntimeException: We shouldn't get here
```

This will hopefully help with spurious intermittents and understand when a
failure changes.

Differential Revision: https://phabricator.services.mozilla.com/D58022

--HG--
extra : moz-landing-system : lando
2020-01-06 22:48:03 +00:00
Kris Taeleman 3850e70cb0 Bug 1605454 - Use GeckoRuntimeSettings intent extras to avoid API change for webrender fenix experiment. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D58568

--HG--
extra : moz-landing-system : lando
2020-01-06 20:38:18 +00:00
Arthur Iakab 3b5a06561f Backed out changeset debd90b3f579 (bug 1605454) for causing lint failure on GeckoRuntime.java
CLOSED TREE
2020-01-06 22:20:42 +02:00
Kris Taeleman ba40641ae8 Bug 1605454 - Use GeckoRuntimeSettings intent extras to avoid API change for webrender fenix experiment. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D58568

--HG--
extra : moz-landing-system : lando
2020-01-06 19:39:24 +00:00
Petru Lingurar a978092dc0 Bug 1606806 - Expose uitelemetry in Mozilla Source Tree Docs; r=VladBaicu
Fennec's UI Telemetry user documentation should subsequently be available at
https://firefox-source-docs.mozilla.org/mobile/android/

Depends on D58599

Differential Revision: https://phabricator.services.mozilla.com/D58600

--HG--
extra : moz-landing-system : lando
2020-01-06 15:50:42 +00:00
Petru Lingurar 120265dab9 Bug 1606806 - Mirror uitelemetry.rst and mma.rst changes from esr68; r=VladBaicu
Differential Revision: https://phabricator.services.mozilla.com/D58599

--HG--
extra : moz-landing-system : lando
2020-01-06 15:50:14 +00:00
James Willcox 65962f7656 Bug 1605756 - Fix the GeckoView docs build r=geckoview-reviewers,droeh
Differential Revision: https://phabricator.services.mozilla.com/D58145

--HG--
extra : moz-landing-system : lando
2019-12-31 16:59:38 +00:00
Makoto Kato d1e3979530 Bug 1491989 - <input autocomplete="email"> should be autofill target. r=geckoview-reviewers,snorp
Autofill service application uses email, username and password hint for login
form. Some sites use email value for autocomplete attribute even if
`<input type="text">`. So we should set autofill hint for this situation.

Differential Revision: https://phabricator.services.mozilla.com/D58215

--HG--
extra : moz-landing-system : lando
2019-12-26 20:49:32 +00:00
James Willcox 7b42f9d399 Bug 1605991 - Avoid coercing null manifest colors into "null" r=geckoview-reviewers,rbarker
Differential Revision: https://phabricator.services.mozilla.com/D58255

--HG--
extra : moz-landing-system : lando
2019-12-26 16:32:16 +00:00
Jeff Gilbert f703bd12e6 Bug 1605808 - Document `./mach run --setenv` for GeckoView debugging. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D58178

--HG--
extra : moz-landing-system : lando
2019-12-24 02:02:45 +00:00
Emilio Cobos Álvarez 938b09ce59 No bug - Use pip to install MozPhab. r=snorp
It is the right way to do that now. Though again we should probably just link to
the moz-phab docs.

Differential Revision: https://phabricator.services.mozilla.com/D58049

--HG--
extra : moz-landing-system : lando
2019-12-23 15:39:37 +00:00
James Willcox 4400a92a46 Bug 1604917 - Coerce WebManifest colors to rrggbbaa ?marcosc,jdescottes r=marcosc,jdescottes
We then convert that to `#aarrggbb` in GeckoView for convenient use
with `android.graphics.Color`.

Differential Revision: https://phabricator.services.mozilla.com/D57689

--HG--
extra : moz-landing-system : lando
2019-12-23 15:29:08 +00:00
Emilio Cobos Álvarez ba9ff49490 No bug - Fix quoting of arguments on git-cinnabar setup. r=agi
Somebody on #introduction on IRC got confused by this.

You need single quotes, other the `$PATH` variable will expand to whatever is
your `$PATH` in this particular moment.

Also there's no need to point to git-cinnabar's wrappers anymore.

But, why not redirecting / linking this page to:

 * https://github.com/glandium/git-cinnabar/wiki/Mozilla:-A-git-workflow-for-Gecko-development

Which is the main reference?

Or to:

 * https://firefox-source-docs.mozilla.org/tools/docs/contribute/how_to_contribute_firefox.html

Which contains the mercurial docs too?

Differential Revision: https://phabricator.services.mozilla.com/D58048

--HG--
extra : moz-landing-system : lando
2019-12-20 21:29:55 +00:00
John Lin e98ea9e53e Bug 1583565 - check if Java wrapper is still valid when updating media info. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D56973

--HG--
extra : moz-landing-system : lando
2019-12-19 04:10:50 +00:00
Eugen Sawin b147cc9b18 Bug 1599873 - [4.1] Update changelog. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D57644

--HG--
extra : moz-landing-system : lando
2019-12-20 16:27:08 +00:00
Eugen Sawin 4d78316996 Bug 1599873 - [3.1] Add Login Storage Save API tests. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D57643

--HG--
extra : moz-landing-system : lando
2019-12-20 16:27:06 +00:00
Eugen Sawin 85d70f0acf Bug 1599873 - [2.2] Implement Login Storage Prompt API for save requests. r=snorp,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D57012

--HG--
extra : moz-landing-system : lando
2019-12-20 16:26:56 +00:00
Eugen Sawin 0127aa97c4 Bug 1599873 - [1.3] Implement Login Storage prompt backend for save requests. r=MattN,geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D57011

--HG--
extra : moz-landing-system : lando
2019-12-20 16:26:53 +00:00
Eugen Sawin ea808c81bb Bug 1604511 - [2.0] Fix Autofill backend nodes handling. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D57631

--HG--
extra : moz-landing-system : lando
2019-12-20 13:51:35 +00:00
Eugen Sawin dbfdb589fc Bug 1604511 - [1.2] Ensure Autofill.Support is fully initialized before handling events and enforce UI thread only access. r=geckoview-reviewers,agi,snorp
Differential Revision: https://phabricator.services.mozilla.com/D57507

--HG--
extra : moz-landing-system : lando
2019-12-20 13:51:28 +00:00
James Teh 29e4eb9ab1 Bug 1604101: Fix Android a11y text navigation between nodes. r=MarcoZ
Talkback users expect that when you navigate past the end of the text in a node, Talkback will move into the next node and navigate there.
However, even though text navigation is async (client performs an action on the focused accessible and then waits for a text traversal event), firing a traversal event with a different accessible from the focused accessible is not supported by Talkback.
Firing a11y focus on the new node (as we did previously) doesn't fix this, but instead causes the entire node to be reported, among other weird behaviour.

1. Don't fire a11y focus for text traversal.
    Aside from Talkback reporting the entire node, this was also confusing Talkback, causing it to try to navigate several times into the new node.
2. When navigating text, cache whether we're at either edge.
    We do this because we need to be able to synchronously query whether we're at the edge, but we do navigation async.
    Special handling is needed for words at the end because words don't include trailing space.
3. When performing a text navigation action, check if we're already at the edge using the cache described above.
    If we are, synchronously return false, as Talkback expects.
    Talkback will then move to the next/previous node itself and navigate the text there.

Differential Revision: https://phabricator.services.mozilla.com/D57926

--HG--
extra : moz-landing-system : lando
2019-12-20 12:02:17 +00:00
Agi Sferro 3f510fc3b6 Bug 1605246 - Kill main process if child process dies during tests. r=snorp
Right now we only detect `onCrash` on mochitests/reftests and `onKill` on junit
tests.

This change makes it so we wait for both on every type of test.

Differential Revision: https://phabricator.services.mozilla.com/D57895

--HG--
extra : moz-landing-system : lando
2019-12-20 02:12:02 +00:00
Thomas Wisniewski 25d793d15f Bug 1603133 - Remove unused Fennec components in mobile/android/components; r=snorp
remove unused Fennec components in mobile/android/components (only the geckoview or extensions subdirs are used by GeckoView).

Differential Revision: https://phabricator.services.mozilla.com/D57394

--HG--
extra : moz-landing-system : lando
2019-12-18 23:52:48 +00:00
Thomas Wisniewski 1e12d53224 Bug 1553265 - add a document.addCertException function to about:certerror pages and use it there; also treat GeckoView error pages as CallerIsTrusted(Net|Cert)Error; r=snorp,johannh,baku
Add a document.addCertException function to about:certerror pages, and use it on the desktop certerror page.

Also, as the CallerIsTrusted* functions expect URLs like about:certerror, but GeckoView error pages are data URLs, and so need to be handled differently for these special error-page methods to be exposed on their documents.

Example usage of document.addCertException:
  document.addCertException(
    true|false /* true == temporary, false == permanent */
  ).then(
    () => {
      location.reload();
    },
    err => {
      console.error(err);
    }
  );

Differential Revision: https://phabricator.services.mozilla.com/D56974

--HG--
extra : moz-landing-system : lando
2019-12-18 21:55:32 +00:00
James Willcox 9d6b63b818 Bug 1595176 - Don't wait for a window to finish GeckoView startup r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D57543

--HG--
extra : moz-landing-system : lando
2019-12-18 20:22:22 +00:00
James Willcox e18cd2bb90 Bug 1577596 - Expose autoplay permission requests in GeckoView r=geckoview-reviewers,rbarker,agi
Differential Revision: https://phabricator.services.mozilla.com/D57134

--HG--
extra : moz-landing-system : lando
2019-12-18 20:22:20 +00:00
James Willcox 847cf8c8d7 Bug 1603114 - Ensure Gecko channel is closed with `WebResponse` body stream. r=geckoview-reviewers,agi
This also fixes a lifetime issue where we may have been leaking the
native instance of `WebResponse.Support`.

Differential Revision: https://phabricator.services.mozilla.com/D56994

--HG--
extra : moz-landing-system : lando
2019-12-18 20:22:18 +00:00
James Willcox bfc273748e Bug 1603452 - Fix and re-enable WebExecutorTest#readTimeout() r=geckoview-reviewers,agi
Along with this comes a new test server for use with GeckoView JUnit
tests based on AndroidAsync. This allows us to have more control
over responses and gets us off of the end-of-lifed Jetty we were using
before.

Differential Revision: https://phabricator.services.mozilla.com/D56993

--HG--
extra : moz-landing-system : lando
2019-12-18 20:22:11 +00:00
Alastor Wu 8d8a78e920 Bug 1578945 - part1 : remove handling audio focus related code in AudioChannelService. r=baku,sebastian
We have implemented new audio focus management in bug1565689 which would allow us to have one tab playing audio at the same time no matter we're using e10s or Fission.

Therefore, we can remove the old pref dom.audiochannel.audioCompeting and dom.audiochannel.audioCompeting.allAgents, which are only work on non-e10s mode.

In addition, the audio competing is only used by default on Fennec, but Fennec is now no longer following the latest m-c, it's using ESR68. So even if our new audio focus management is not on by default on Android, it won't affect current behavior on Fennec. We can 100% sure that we won't need those code for old audio competing anymore.

Differential Revision: https://phabricator.services.mozilla.com/D44749

--HG--
extra : moz-landing-system : lando
2019-12-18 09:10:30 +00:00
Cosmin Sabou fbd904633a Backed out changeset b1e1671fd704 (bug 1553265) for gv-unit failures. 2019-12-18 03:18:14 +02:00
Thomas Wisniewski 63935c0afe Bug 1553265 - add a document.addCertException function to about:certerror pages and use it there; also treat GeckoView error pages as CallerIsTrusted(Net|Cert)Error; r=snorp,johannh,baku
Add a document.addCertException function to about:certerror pages, and use it on the desktop certerror page.

Also, as the CallerIsTrusted* functions expect URLs like about:certerror, but GeckoView error pages are data URLs, and so need to be handled differently for these special error-page methods to be exposed on their documents.

Example usage of document.addCertException:
  document.addCertException(
    true|false /* true == temporary, false == permanent */
  ).then(
    () => {
      location.reload();
    },
    err => {
      console.error(err);
    }
  );

Differential Revision: https://phabricator.services.mozilla.com/D56974

--HG--
extra : moz-landing-system : lando
2019-12-17 21:54:32 +00:00
Agi Sferro f7b714c18c Bug 1553354 - Store messages when either the port or the delegate cannot be found. r=snorp
`port.connectNative` is synchronous, so there is the slim possibility that a
message could be sent before the app has been notified that the port has been
created. Similarly, if the app has not attached a listener yet, the port
message gets lost.

In either case, we now store this message in a list that we check when a
delegate is attached to the port object.

Differential Revision: https://phabricator.services.mozilla.com/D57511

--HG--
extra : moz-landing-system : lando
2019-12-17 23:24:02 +00:00
Agi Sferro f70dd054b3 Bug 1553354 - Add org.mozilla.gecko.MultiMap. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D57510

--HG--
extra : moz-landing-system : lando
2019-12-17 23:24:00 +00:00
Agi Sferro dafbe96c98 Bug 1600742 - Implement WebExtensionController.list. r=snorp,esawin
Differential Revision: https://phabricator.services.mozilla.com/D56793

--HG--
extra : moz-landing-system : lando
2019-12-17 23:24:24 +00:00
Agi Sferro f3e3650c45 Bug 1600742 - Add GeckoResult.allOf. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D56792

--HG--
extra : moz-landing-system : lando
2019-12-17 23:23:56 +00:00
Agi Sferro 14f0d7f3b6 Bug 1600742 - Use WebExtensionPolicy instead of AddonManager for actions. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D56791

--HG--
extra : moz-landing-system : lando
2019-12-17 23:23:54 +00:00
Agi Sferro f8d68e46e1 Bug 1600742 - Move event listeners from WebExtension to WebExtensionController. r=snorp,esawin
Differential Revision: https://phabricator.services.mozilla.com/D57035

--HG--
extra : moz-landing-system : lando
2019-12-17 23:23:52 +00:00
Agi Sferro 6c81d2a85b Bug 1600742 - Require WebExtensionController in the WebExtension constructor. r=esawin,snorp
The controller will be used in a later patch to listen to delegates updates.

Differential Revision: https://phabricator.services.mozilla.com/D57366

--HG--
extra : moz-landing-system : lando
2019-12-17 23:23:44 +00:00
Agi Sferro 8fb7253c6a Bug 1600742 - Add alias for webExtensionController in WebExtensionTest. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D57365

--HG--
extra : moz-landing-system : lando
2019-12-17 23:23:42 +00:00
Agi Sferro f93d8916ac Bug 1600742 - Fix all kotlin warnings in Extension tests. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D57364

--HG--
extra : moz-landing-system : lando
2019-12-17 23:23:40 +00:00
Agi Sferro 07932cbbd1 Bug 1600742 - Rename DelegateObserver -> DelegateController. r=esawin,snorp
Differential Revision: https://phabricator.services.mozilla.com/D57034

--HG--
extra : moz-landing-system : lando
2019-12-17 23:23:38 +00:00
Agi Sferro dd3f4eadd6 Bug 1600742 - Refactor WebExtension.Listener to be usable without a GeckoSession. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D57033

--HG--
extra : moz-landing-system : lando
2019-12-17 23:23:35 +00:00
Noemi Erli 00a57ab6c7 Backed out 3 changesets (bug 1603452, bug 1603114, bug 1577596) for causing lint failure in GeckoSession.java CLOSED TREE
Backed out changeset 1a9be6d049a7 (bug 1577596)
Backed out changeset 11e1f382ea77 (bug 1603114)
Backed out changeset d63c194d1c6c (bug 1603452)
2019-12-18 01:12:37 +02:00
James Willcox 833a7f9e2e Bug 1577596 - Expose autoplay permission requests in GeckoView r=geckoview-reviewers,rbarker,agi
Differential Revision: https://phabricator.services.mozilla.com/D57134

--HG--
extra : moz-landing-system : lando
2019-12-17 20:59:38 +00:00
James Willcox 3f1c533a24 Bug 1603114 - Ensure Gecko channel is closed with `WebResponse` body stream. r=geckoview-reviewers,agi
This also fixes a lifetime issue where we may have been leaking the
native instance of `WebResponse.Support`.

Differential Revision: https://phabricator.services.mozilla.com/D56994

--HG--
extra : moz-landing-system : lando
2019-12-17 20:59:31 +00:00
James Willcox 754e1eb5ca Bug 1603452 - Fix and re-enable WebExecutorTest#readTimeout() r=geckoview-reviewers,agi
Along with this comes a new test server for use with GeckoView JUnit
tests based on AndroidAsync. This allows us to have more control
over responses and gets us off of the end-of-lifed Jetty we were using
before.

Differential Revision: https://phabricator.services.mozilla.com/D56993

--HG--
extra : moz-landing-system : lando
2019-12-17 20:59:29 +00:00
Aaron Klotz 651331b493 Bug 1600658: Part 2 - Move content crash test into a session test and modify TestCrashHandler to selectively evaluate crash report submission; r=snorp
* We add bidirectional messaging to `TestCrashHandler`:
  1. The test sends a message to the `TestCrashHandler`, notifying it that an
     upcoming crash is intentional and its intent should be checked.
  2. Upon receipt of the crash report, the service reviews the contents of the
     crash intent, and then sends a message back to the test with the test results.
  3. The service deletes any crash dump artifacts belonging to crash intents
     that have been evaluated so that the harness doesn't pick up any
     intentional crashes.

* We remove `crashContent` from `CrashTest.kt` and create `ContentCrashTest.kt`
  for that case. The `crashParent` test remains unchanged other than switching
  its crash handler over to `TestCrashHandler`.

* We remove the `CrashTestHandler` service, as both `crashContent` and
  `crashParent` tests now use `TestCrashHandler`.

Differential Revision: https://phabricator.services.mozilla.com/D56854

--HG--
rename : mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/crash/CrashTest.kt => mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/ContentCrashTest.kt
rename : mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/crash/CrashTest.kt => mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/crash/ParentCrashTest.kt
extra : moz-landing-system : lando
2019-12-16 20:15:22 +00:00
Aaron Klotz 50ae6481cf Bug 1603250: Do not set ah_crap_handler signal handler in debug x86 Android builds; r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D56852

--HG--
extra : moz-landing-system : lando
2019-12-16 20:15:01 +00:00
Eugen Sawin 54fee9a0ff Bug 1602881 - [5.1] Add Login Storage Fetch API test. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D57355

--HG--
extra : moz-landing-system : lando
2019-12-16 19:37:26 +00:00
Eugen Sawin 3ede8ad264 Bug 1602881 - [3.1] Enable login manager storage handling to enable the new GV backend. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D57010

--HG--
extra : moz-landing-system : lando
2019-12-16 19:37:09 +00:00
Eugen Sawin 74238d190c Bug 1602881 - [2.1] Update API changelog. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D56607

--HG--
extra : moz-landing-system : lando
2019-12-16 19:36:59 +00:00
Eugen Sawin c1fd2bfe24 Bug 1602881 - [1.2] Enable the Login Storage Fetch API. r=snorp,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D56606

--HG--
extra : moz-landing-system : lando
2019-12-16 19:36:52 +00:00
J.C. Jones 942507de3e Bug 1594931 - Stop compiling NSS' DBM legacy database r=kjacobs,keeler,mhowell,MattN
This change modifies all tests that use key3/cert8 to use the new files. It
removes test_sdr_upgraded_with_password, as without the upgrade part that is now
the same test as test_sdr_preexisting_with_password.

Differential Revision: https://phabricator.services.mozilla.com/D55708

--HG--
rename : security/manager/ssl/tests/unit/test_sdr_preexisting/key4.db => security/manager/ssl/tests/unit/test_broken_fips/key4.db
extra : moz-landing-system : lando
2019-12-16 17:35:49 +00:00
Csoregi Natalia 5f6f55422f Backed out changeset 5c137b3793a7 (bug 1594931) for failures on test_sdr_preexisting.js. CLOSED TREE
--HG--
rename : security/manager/ssl/tests/unit/test_broken_fips/key4.db => security/manager/ssl/tests/unit/test_sdr_preexisting/key4.db
2019-12-16 18:52:41 +02:00
J.C. Jones 4916451c01 Bug 1594931 - Stop compiling NSS' DBM legacy database r=kjacobs,keeler,mhowell,MattN
This change modifies all tests that use key3/cert8 to use the new files. It
removes test_sdr_upgraded_with_password, as without the upgrade part that is now
the same test as test_sdr_preexisting_with_password.

Differential Revision: https://phabricator.services.mozilla.com/D55708

--HG--
rename : security/manager/ssl/tests/unit/test_sdr_preexisting/key4.db => security/manager/ssl/tests/unit/test_broken_fips/key4.db
extra : moz-landing-system : lando
2019-12-14 18:52:26 +00:00
James Teh 437c05d961 Bug 1601537: Fix text navigation in text leaf Accessibles on Android. ?MarcoZ r=MarcoZ
For paragraphs, divs, spans, etc., a11y focus on Android goes to text leaf Accessibles, rather than to the HyperTextAccessible container.
This does make sense, as these containers frequently embed other content, so the text needs to be reachable as a separate item.
However, previously, performing text navigation on these text leaf Accessibles returned the HyperTextAccessible parent.
This isn't supported by Talkback, and even if it were, it causes other problems; e.g. a11y focus being lost if the user was focused on a child other than the first child of such a container.
Therefore, if text navigation was performed on a text leaf Accessible, we now return a result within the text leaf Accessible if possible, rather than the HyperTextAccessible.

1. Make AccessibleWrap::GetTextContents support text leaf Accessibles (for both local and remote proxied Accessibles).
    This is used when providing text for text traversal events.

2. When navigating text on Android, we use Pivot::Next/PrevText.
    However, this will always return a HyperTextAccessible, even when starting on a text leaf.
    Therefore, if the result from Pivot::Next/prevText resides entirely within the same text leaf, translate the offsets from the HyperTextAccessible so they're relative to the text leaf and return the text leaf.

3. Pivot::Next/PrevText already supported starting from a text leaf Accessible.
    However, they ignored the offsets, which meant that navigating from a text leaf would always navigate to the start/end of the text leaf.
    Now, if a text leaf is passed to Pivot::Next/PrevText, the offsets (if specified) are translated to the HyperTextAccessible parent first.

4. Adjust the existing character/word/line tests so they ensure that navigation returns the node that has a11y focus; i.e. the text leaf.

Differential Revision: https://phabricator.services.mozilla.com/D57269

--HG--
extra : moz-landing-system : lando
2019-12-16 06:25:54 +00:00
Andreea Pavel 1adff31cb1 Backed out changeset 7d55de92c194 (bug 1594931) for failing xpcshell at test_sdr_preexisting.js on a CLOSED TREE
--HG--
rename : security/manager/ssl/tests/unit/test_broken_fips/key4.db => security/manager/ssl/tests/unit/test_sdr_preexisting/key4.db
2019-12-13 22:48:02 +02:00
Kris Maglione 94e3b0bd8d Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

Differential Revision: https://phabricator.services.mozilla.com/D53740

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:16 +00:00
J.C. Jones 515c7f644c Bug 1594931 - Stop compiling NSS' DBM legacy database r=kjacobs,keeler,mhowell,MattN
This change removes the legacy libnssdbm database that we migrated away from since Firefox 60.

This change modifies all tests that use key3/cert8 to use the new files. It
removes test_sdr_upgraded_with_password, as without the upgrade part that is now
the same test as test_sdr_preexisting_with_password. It otherwise removes support for libnssdbm everywhere in Gecko.

Differential Revision: https://phabricator.services.mozilla.com/D55708

--HG--
rename : security/manager/ssl/tests/unit/test_sdr_preexisting/key4.db => security/manager/ssl/tests/unit/test_broken_fips/key4.db
extra : moz-landing-system : lando
2019-12-13 19:00:35 +00:00
Hiroyuki Ikezoe 93594694ee Bug 1601933 - Rename some ScreenLength APIs to differentiate `visual viewport` from `layout viewport`. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D56323

--HG--
extra : moz-landing-system : lando
2019-12-13 00:09:51 +00:00
Hiroyuki Ikezoe f4cb6f8efd Bug 1601933 - Use visual viewport size instead of window inner size in PanZoomControllerTest.kt. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D56322

--HG--
extra : moz-landing-system : lando
2019-12-13 00:09:31 +00:00
Hiroyuki Ikezoe abc58dd4e5 Bug 1601933 - Use visual viewport width or height for GeckoView::ScrollBy and ScrollTo. r=botond,rbarker,agi
Since bug 1514429 window.inner{Width,Height} don't return the visual viewport
size so once after the content scale changed, i.e. the visual viewport size
doesn't match window inner size, GeckoView::ScrollBy and ScrollTo don't work
as expected.  This commit has JUnit tests to generate the situation by calling
nsIDOMWindowUtils.setResolutionAndScaleTo.

Differential Revision: https://phabricator.services.mozilla.com/D56321

--HG--
extra : moz-landing-system : lando
2019-12-13 00:09:17 +00:00
Brian Grinstead 02d5d82b74 Bug 1603491 - Rename geckoview.xul to geckoview.xhtml r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D56969

--HG--
rename : mobile/android/chrome/geckoview/geckoview.xul => mobile/android/chrome/geckoview/geckoview.xhtml
extra : moz-landing-system : lando
2019-12-13 00:16:26 +00:00
Eugen Sawin 0aa10640ab Bug 1593069 - [1.6] Implement Login Storage Fetch API backend. r=agi,snorp,MattN
Differential Revision: https://phabricator.services.mozilla.com/D56597

--HG--
extra : moz-landing-system : lando
2019-12-12 14:14:46 +00:00
Cosmin Sabou abd02e5ac4 Backed out changeset e41f354e1e86 (bug 1603250) for turning bug 1602831 into permafail. CLOSED TREE 2019-12-12 21:04:16 +02:00
Noemi Erli e6341c6f8c Backed out changeset d72ce5d90b7c (bug 1602565) for causing Android mochites failures CLOSED TREE 2019-12-12 20:20:02 +02:00
Aaron Klotz 71bbad49fa Bug 1603250: Do not set ah_crap_handler signal handler in debug x86 Android builds; r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D56852

--HG--
extra : moz-landing-system : lando
2019-12-12 15:29:55 +00:00
Agi Sferro b064d2695b Bug 1602565 - Mark GeckoView windows with chrome flag CHROME_GECKOVIEW. r=snorp
This will allow us to know whether a certain window is controlled GeckoView or
not in the content process.

Differential Revision: https://phabricator.services.mozilla.com/D56651

--HG--
extra : moz-landing-system : lando
2019-12-12 16:33:09 +00:00
Ricky Stewart 635eab170b Bug 1581979 - Use -SNAPSHOT versions locally to enable the local GeckoView substitution flow. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D46235

--HG--
extra : moz-landing-system : lando
2019-12-11 21:29:44 +00:00
Oana Pop Rus 53f1ba7c69 Backed out 10 changesets (bug 1599043) for build bustages in nsGlobalWindowOuter.cpp on a CLOSED TREE
Backed out changeset 463b815557e4 (bug 1599043)
Backed out changeset 7c3f0a58cc6c (bug 1599043)
Backed out changeset 1eadd9f5b50e (bug 1599043)
Backed out changeset e4ea0d47136b (bug 1599043)
Backed out changeset 6b97581c33b6 (bug 1599043)
Backed out changeset a68bd2acf5d6 (bug 1599043)
Backed out changeset c8ed9c52508c (bug 1599043)
Backed out changeset aaf83f7806b4 (bug 1599043)
Backed out changeset 0ad30634e416 (bug 1599043)
Backed out changeset 68219c132efc (bug 1599043)
2019-12-12 17:14:54 +02:00
Tim Huang d67a32d3cf Bug 1599043 - Part 10: Make GeckoView to listen OnContentBlockingEvent on the parent process. r=geckoview-reviewers,agi
The GeckoView is listening OnContentBlockingEvent in the content process.
As we move the event into the parent process, we have to change it to
listen the event in the parent process.

This patch also adds a workaround in the test
ContentBlockingControllerTest#getLog(). This workaround adds a 500ms
delays before we check the ContentBlockingLog. This is needed because there
is a delay between the notification of OnContentBlockingEven in the parent
process and the actual recording of the log in the content process. This
workaround will be no longer needed once we move the log entirely to the
parent process (Bug 1599046).

Differential Revision: https://phabricator.services.mozilla.com/D56749

--HG--
extra : moz-landing-system : lando
2019-12-12 10:13:45 +00:00
Nazım Can Altınova 9adc1d00e3 Bug 1602800 - Move profiler recording preferences from firefox.js to all.js r=gregtatum
We had to do it because firefox android doesn't use that file. There is a
mobile.js file for that purpose. We had to move all recording preferences to
all.js and add the android only preference to mobile.js to be able to handle
that better.

Differential Revision: https://phabricator.services.mozilla.com/D56719

--HG--
extra : moz-landing-system : lando
2019-12-12 13:52:34 +00:00
Daosheng Mu f81abc3e13 Bug 1599927 - Support WebXR device access permission in GeckoSession. r=imanol,rbarker,geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D55043

--HG--
extra : moz-landing-system : lando
2019-12-11 03:35:58 +00:00
Emma Malysz 75ea156d47 Bug 1601093, Rename the remaining .xul files to .xhtml in toolkit/ r=marionette-reviewers,mossop,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D55857

--HG--
rename : toolkit/components/alerts/resources/content/alert.xul => toolkit/components/alerts/resources/content/alert.xhtml
rename : toolkit/components/apppicker/content/appPicker.xul => toolkit/components/apppicker/content/appPicker.xhtml
rename : toolkit/components/extensions/dummy.xul => toolkit/components/extensions/dummy.xhtml
rename : toolkit/components/passwordmgr/content/passwordManager.xul => toolkit/components/passwordmgr/content/passwordManager.xhtml
rename : toolkit/components/printing/content/printPageSetup.xul => toolkit/components/printing/content/printPageSetup.xhtml
rename : toolkit/components/printing/content/printPreviewProgress.xul => toolkit/components/printing/content/printPreviewProgress.xhtml
rename : toolkit/components/printing/content/printProgress.xul => toolkit/components/printing/content/printProgress.xhtml
rename : toolkit/components/prompts/content/commonDialog.xul => toolkit/components/prompts/content/commonDialog.xhtml
rename : toolkit/components/prompts/content/selectDialog.xul => toolkit/components/prompts/content/selectDialog.xhtml
rename : toolkit/components/viewconfig/content/config.xul => toolkit/components/viewconfig/content/config.xhtml
rename : toolkit/content/editMenuKeys.inc.xul => toolkit/content/editMenuKeys.inc.xhtml
rename : toolkit/content/resetProfile.xul => toolkit/content/resetProfile.xhtml
rename : toolkit/content/resetProfileProgress.xul => toolkit/content/resetProfileProgress.xhtml
rename : toolkit/modules/win.xul => toolkit/modules/win.xhtml
rename : toolkit/profile/content/createProfileWizard.xul => toolkit/profile/content/createProfileWizard.xhtml
rename : toolkit/profile/content/profileDowngrade.xul => toolkit/profile/content/profileDowngrade.xhtml
rename : toolkit/profile/content/profileSelection.xul => toolkit/profile/content/profileSelection.xhtml
extra : moz-landing-system : lando
2019-12-11 17:44:54 +00:00
Gurzau Raul 824bc2bf90 Backed out changeset dd809e835f2a (bug 1601093) for eslint failures at alert.xhtml and commonDialog.xhtml on a CLOSED TREE.
--HG--
rename : toolkit/components/alerts/resources/content/alert.xhtml => toolkit/components/alerts/resources/content/alert.xul
rename : toolkit/components/apppicker/content/appPicker.xhtml => toolkit/components/apppicker/content/appPicker.xul
rename : toolkit/components/extensions/dummy.xhtml => toolkit/components/extensions/dummy.xul
rename : toolkit/components/passwordmgr/content/passwordManager.xhtml => toolkit/components/passwordmgr/content/passwordManager.xul
rename : toolkit/components/printing/content/printPageSetup.xhtml => toolkit/components/printing/content/printPageSetup.xul
rename : toolkit/components/printing/content/printPreviewProgress.xhtml => toolkit/components/printing/content/printPreviewProgress.xul
rename : toolkit/components/printing/content/printProgress.xhtml => toolkit/components/printing/content/printProgress.xul
rename : toolkit/components/prompts/content/commonDialog.xhtml => toolkit/components/prompts/content/commonDialog.xul
rename : toolkit/components/prompts/content/selectDialog.xhtml => toolkit/components/prompts/content/selectDialog.xul
rename : toolkit/components/viewconfig/content/config.xhtml => toolkit/components/viewconfig/content/config.xul
rename : toolkit/content/editMenuKeys.inc.xhtml => toolkit/content/editMenuKeys.inc.xul
rename : toolkit/content/resetProfile.xhtml => toolkit/content/resetProfile.xul
rename : toolkit/content/resetProfileProgress.xhtml => toolkit/content/resetProfileProgress.xul
rename : toolkit/modules/win.xhtml => toolkit/modules/win.xul
rename : toolkit/profile/content/createProfileWizard.xhtml => toolkit/profile/content/createProfileWizard.xul
rename : toolkit/profile/content/profileDowngrade.xhtml => toolkit/profile/content/profileDowngrade.xul
rename : toolkit/profile/content/profileSelection.xhtml => toolkit/profile/content/profileSelection.xul
2019-12-11 19:27:28 +02:00
Emma Malysz 106f09dd53 Bug 1601093, Rename the remaining .xul files to .xhtml in toolkit/ r=marionette-reviewers,mossop,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D55857

--HG--
rename : toolkit/components/alerts/resources/content/alert.xul => toolkit/components/alerts/resources/content/alert.xhtml
rename : toolkit/components/apppicker/content/appPicker.xul => toolkit/components/apppicker/content/appPicker.xhtml
rename : toolkit/components/extensions/dummy.xul => toolkit/components/extensions/dummy.xhtml
rename : toolkit/components/passwordmgr/content/passwordManager.xul => toolkit/components/passwordmgr/content/passwordManager.xhtml
rename : toolkit/components/printing/content/printPageSetup.xul => toolkit/components/printing/content/printPageSetup.xhtml
rename : toolkit/components/printing/content/printPreviewProgress.xul => toolkit/components/printing/content/printPreviewProgress.xhtml
rename : toolkit/components/printing/content/printProgress.xul => toolkit/components/printing/content/printProgress.xhtml
rename : toolkit/components/prompts/content/commonDialog.xul => toolkit/components/prompts/content/commonDialog.xhtml
rename : toolkit/components/prompts/content/selectDialog.xul => toolkit/components/prompts/content/selectDialog.xhtml
rename : toolkit/components/viewconfig/content/config.xul => toolkit/components/viewconfig/content/config.xhtml
rename : toolkit/content/editMenuKeys.inc.xul => toolkit/content/editMenuKeys.inc.xhtml
rename : toolkit/content/resetProfile.xul => toolkit/content/resetProfile.xhtml
rename : toolkit/content/resetProfileProgress.xul => toolkit/content/resetProfileProgress.xhtml
rename : toolkit/modules/win.xul => toolkit/modules/win.xhtml
rename : toolkit/profile/content/createProfileWizard.xul => toolkit/profile/content/createProfileWizard.xhtml
rename : toolkit/profile/content/profileDowngrade.xul => toolkit/profile/content/profileDowngrade.xhtml
rename : toolkit/profile/content/profileSelection.xul => toolkit/profile/content/profileSelection.xhtml
extra : moz-landing-system : lando
2019-12-11 17:02:20 +00:00
Jeff Walden 62a130ba0a Bug 1602882 - Move array operations to a new js/Array.h header. r=sfink,bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D56595

--HG--
extra : moz-landing-system : lando
2019-12-11 06:17:44 +00:00
Brindusan Cristian 9c36dcbf23 Backed out 2 changesets (bug 1580567, bug 1599927) for mochitest failures at test_interfaces.html. CLOSED TREE
Backed out changeset 0e0d88942d33 (bug 1599927)
Backed out changeset 522c8d183bd5 (bug 1580567)

--HG--
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_rememberprompt.js => browser/components/privatebrowsing/test/browser/browser_privatebrowsing_geoprompt.js
2019-12-11 05:31:08 +02:00
Daosheng Mu 3b4a5c5669 Bug 1599927 - Support WebXR device access permission in GeckoSession. r=imanol,rbarker,geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D55043

--HG--
extra : moz-landing-system : lando
2019-12-11 02:00:35 +00:00
shindli 652f3b0296 Backed out 2 changesets (bug 1580567, bug 1599927) for causing permafailures in dom/tests/mochitest/general/test_interfaces.html CLOSED TREE
Backed out changeset aeceec922866 (bug 1599927)
Backed out changeset 29809135f18e (bug 1580567)

--HG--
rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_rememberprompt.js => browser/components/privatebrowsing/test/browser/browser_privatebrowsing_geoprompt.js
2019-12-11 03:32:44 +02:00
shindli 91924fedc7 Backed out 9 changesets (bug 1596918) for causing mochitest permafailures in toolkit/content/tests/chrome/test_findbar_events.xhtml CLOSED TREE
Backed out changeset 45a1c42118f2 (bug 1596918)
Backed out changeset db09910ffa56 (bug 1596918)
Backed out changeset 5c9d9f141c10 (bug 1596918)
Backed out changeset 6a135670d603 (bug 1596918)
Backed out changeset 3a0184e0df72 (bug 1596918)
Backed out changeset 2f0036486823 (bug 1596918)
Backed out changeset a770c6d08d52 (bug 1596918)
Backed out changeset ef062eb7a6ee (bug 1596918)
Backed out changeset a6ea596e98db (bug 1596918)
2019-12-11 03:09:26 +02:00
Daosheng Mu c8561aeadc Bug 1599927 - Support WebXR device access permission in GeckoSession. r=imanol,rbarker,geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D55043

--HG--
extra : moz-landing-system : lando
2019-12-10 20:30:48 +00:00
Geoff Brown 3f66236867 Bug 1599534 - Update help and version names for 'mach android-emulator'; r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D54802

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:59 +00:00
Kris Maglione 16a9b29848 Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

Differential Revision: https://phabricator.services.mozilla.com/D53740

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:13 +00:00
Mike Shal e1d461164f Bug 1557788 - Rename MOZ_PGO_PROFILE_USE to TASKCLUSTER_PGO_PROFILE_USE; r=firefox-build-system-reviewers,chmanchester
MOZ_PGO_PROFILE_USE is used to enable certain features in the automation
mozconfigs for profile-use builds, including the MOZ_PROFILE_USE
configure option. They aren't easily combined into one flag due to the
extra settings that are enabled only in automation mozconfigs.

Renaming the former variable to TASKCLUSTER_PGO_PROFILE_USE makes it
slightly more obvious where it comes from and avoids confusion.

Differential Revision: https://phabricator.services.mozilla.com/D56117

--HG--
extra : moz-landing-system : lando
2019-12-09 18:03:57 +00:00
Hiroyuki Ikezoe 9cb695cf20 Bug 1554779 - Initialize GeckoSession.mFixedBottomOffset with zero. r=geckoview-reviewers,snorp
And don't call setFixedBottomOffset in GeckoSession.onCompositorReady if it's not
been changed since the initialization.

Differential Revision: https://phabricator.services.mozilla.com/D56324

--HG--
extra : moz-landing-system : lando
2019-12-09 19:01:49 +00:00
Matthew Noorenberghe 3d15628f5a Bug 1388674 - Set signon.userInputRequiredToCapture.enabled in AutofillDelegateTest.kt. r=sfoster
Differential Revision: https://phabricator.services.mozilla.com/D54801

--HG--
extra : moz-landing-system : lando
2019-12-09 20:07:37 +00:00
Alex Henrie 00867c4809 Bug 202251 - Add an option to ignore diacritics when searching. r=fluent-reviewers,mikedeboer,jfkthame,flod
Differential Revision: https://phabricator.services.mozilla.com/D51841

--HG--
extra : moz-landing-system : lando
2019-12-09 19:26:40 +00:00
Ting-Yu Lin 014241cca2 Bug 1582363 - Consume the synthesized mouse move events when dragging the caret. r=mats
That is, we consume the synthesized mouse move events without doing
anything in PressCaretState and DragCaretState.

Differential Revision: https://phabricator.services.mozilla.com/D52113

--HG--
extra : moz-landing-system : lando
2019-12-09 10:36:40 +00:00
Noemi Erli 82d41a33b2 Backed out 9 changesets (bug 1596918) for causing multiple browser-chrome failures
Backed out changeset 415007efd8c9 (bug 1596918)
Backed out changeset 011eb5ce927b (bug 1596918)
Backed out changeset e5fd3ee22ea1 (bug 1596918)
Backed out changeset 0bca4de31d40 (bug 1596918)
Backed out changeset 11ec4393f23d (bug 1596918)
Backed out changeset c5404a7c286d (bug 1596918)
Backed out changeset 7e9304405a46 (bug 1596918)
Backed out changeset fa0f0aeabf99 (bug 1596918)
Backed out changeset de196b077000 (bug 1596918)
2019-12-07 22:26:43 +02:00
Kris Maglione 910eab35d2 Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

Differential Revision: https://phabricator.services.mozilla.com/D53740

--HG--
extra : moz-landing-system : lando
2019-12-07 19:11:58 +00:00
Daniel Varga 84a601a6d4 Backed out 17 changesets (bug 1596918) for multiple browser-chrome and dev-tools failures. On a CLOSED TREE
Backed out changeset ab87d2c1afae (bug 1596918)
Backed out changeset 775f3b06a687 (bug 1596918)
Backed out changeset 67cc63ef5d7f (bug 1596918)
Backed out changeset 7d290bcd2067 (bug 1596918)
Backed out changeset 048db9f4db7c (bug 1596918)
Backed out changeset 96a79d2ba614 (bug 1596918)
Backed out changeset be770d112dd8 (bug 1596918)
Backed out changeset 302c8ab8391c (bug 1596918)
Backed out changeset 44ef8f20732e (bug 1596918)
Backed out changeset 38c11ebfb8ff (bug 1596918)
Backed out changeset b586fc081374 (bug 1596918)
Backed out changeset 12283166716f (bug 1596918)
Backed out changeset 99b0421015d8 (bug 1596918)
Backed out changeset 97ec49dbbbf3 (bug 1596918)
Backed out changeset ec79478f58f1 (bug 1596918)
Backed out changeset c6d356833bb8 (bug 1596918)
Backed out changeset 5ef6026806c8 (bug 1596918)
2019-12-07 03:12:07 +02:00
Kris Maglione 20da940e14 Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

Differential Revision: https://phabricator.services.mozilla.com/D53740

--HG--
extra : moz-landing-system : lando
2019-12-06 22:14:14 +00:00
Agi Sferro d87305d23c Bug 1599580 - Implement install/uninstall extension. r=snorp,esawin
Differential Revision: https://phabricator.services.mozilla.com/D55730

--HG--
extra : moz-landing-system : lando
2019-12-05 23:16:10 +00:00
Agi Sferro b6568ba03f Bug 1599580 - Set useAddonManager for extension tests that interact with GeckoView. r=snorp
Non-AddonManager extensions are invisible to GeckoView, so when a message like
"open a new tab" comes to GeckoView we will ignore them unless the extension is
properly registered.

Because of this, we need to register them in tests too.

Differential Revision: https://phabricator.services.mozilla.com/D56035

--HG--
extra : moz-landing-system : lando
2019-12-05 23:16:06 +00:00
Agi Sferro 24e053777c Bug 1599580 - Rename blockedReason -> blocklistState. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D55729

--HG--
extra : moz-landing-system : lando
2019-12-05 23:16:08 +00:00
Agi Sferro af5e7ed97d Bug 1599580 - Make GeckoViewWebExtension.extensionById async. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D55728

--HG--
extra : moz-landing-system : lando
2019-12-05 23:15:57 +00:00
Agi Sferro 171b779fad Bug 1599580 - Make Extensions.get(id) asynchronous. r=snorp
This is a pre-requisite for making extensions persistent, as sometimes we have
to fetch state from Gecko, so getting the extension needs to be async.

Differential Revision: https://phabricator.services.mozilla.com/D55579

--HG--
extra : moz-landing-system : lando
2019-12-05 23:16:04 +00:00
Agi Sferro 7767a79f5b Bug 1599580 - Fix typo in setPromptDelegate. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D55727

--HG--
extra : moz-landing-system : lando
2019-12-05 23:15:59 +00:00
Agi Sferro 4b6b64b2b4 Bug 1599580 - Allow null aBrowser in AddonManager.installAddonFromWebpage. r=mixedpuppy,snorp
GeckoView will install extensions from the native UI so it doesn't have a
browser object to pass into this method.

Differential Revision: https://phabricator.services.mozilla.com/D55726

--HG--
extra : moz-landing-system : lando
2019-12-05 23:16:02 +00:00
Sean Feng 93f9021bb1 Bug 1589700 - Record the number of unique site origins across all tabs r=smaug,agi,Dexter
Differential Revision: https://phabricator.services.mozilla.com/D54027

--HG--
extra : moz-landing-system : lando
2019-12-05 23:13:24 +00:00
shindli d0e6e72266 Backed out 7 changesets (bug 1599580) for causing linting opt failure CLOSED TREE
Backed out changeset 64fd40663930 (bug 1599580)
Backed out changeset 7dc53077d58a (bug 1599580)
Backed out changeset 51a8fbed80c3 (bug 1599580)
Backed out changeset e7fbe7147d19 (bug 1599580)
Backed out changeset 176337e5ba59 (bug 1599580)
Backed out changeset 24d4083da050 (bug 1599580)
Backed out changeset 312f626fb657 (bug 1599580)
2019-12-06 01:10:47 +02:00
Agi Sferro 28eecfc053 Bug 1599580 - Implement install/uninstall extension. r=snorp,esawin
Differential Revision: https://phabricator.services.mozilla.com/D55730

--HG--
extra : moz-landing-system : lando
2019-12-05 22:23:54 +00:00
Agi Sferro 03015a6b09 Bug 1599580 - Set useAddonManager for extension tests that interact with GeckoView. r=snorp
Non-AddonManager extensions are invisible to GeckoView, so when a message like
"open a new tab" comes to GeckoView we will ignore them unless the extension is
properly registered.

Because of this, we need to register them in tests too.

Differential Revision: https://phabricator.services.mozilla.com/D56035

--HG--
extra : moz-landing-system : lando
2019-12-05 22:24:21 +00:00
Agi Sferro 075b50c9f3 Bug 1599580 - Rename blockedReason -> blocklistState. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D55729

--HG--
extra : moz-landing-system : lando
2019-12-05 20:11:04 +00:00
Agi Sferro 9034f6546c Bug 1599580 - Make GeckoViewWebExtension.extensionById async. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D55728

--HG--
extra : moz-landing-system : lando
2019-12-05 16:35:41 +00:00
Agi Sferro 741c6f7529 Bug 1599580 - Make Extensions.get(id) asynchronous. r=snorp
This is a pre-requisite for making extensions persistent, as sometimes we have
to fetch state from Gecko, so getting the extension needs to be async.

Differential Revision: https://phabricator.services.mozilla.com/D55579

--HG--
extra : moz-landing-system : lando
2019-12-05 16:35:41 +00:00
Agi Sferro 2850aa9f64 Bug 1599580 - Fix typo in setPromptDelegate. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D55727

--HG--
extra : moz-landing-system : lando
2019-12-05 16:35:41 +00:00
Agi Sferro 4f9802d34f Bug 1599580 - Allow null aBrowser in AddonManager.installAddonFromWebpage. r=mixedpuppy,snorp
GeckoView will install extensions from the native UI so it doesn't have a
browser object to pass into this method.

Differential Revision: https://phabricator.services.mozilla.com/D55726

--HG--
extra : moz-landing-system : lando
2019-12-05 16:35:42 +00:00
Brindusan Cristian 4b11b63400 Backed out changeset b89936db7178 (bug 202251) for bc failures at browser_misused_characters_in_strings.js. CLOSED TREE 2019-12-05 23:10:09 +02:00
Eugen Sawin ac36ba451a Bug 1592752 - [1.0] Conditionally check for storage clearing based on status of LSNG. r=snorp
It looks like there is going to be a period of LSNG being disabled on some channels for a while.
Making the test conditional on the pref will make it pass in all situations and would allow us to keep the test enabled.
It doesn't help with the fact, that on some version we're clearing storage despite the flag not being set, but since it's clearing more, rather than less, it's at least not as critical in terms of privacy.

Differential Revision: https://phabricator.services.mozilla.com/D55526

--HG--
extra : moz-landing-system : lando
2019-12-02 23:11:32 +00:00
Alex Henrie ca467c4b3f Bug 202251 - Add an option to ignore diacritics when searching. r=fluent-reviewers,mikedeboer,jfkthame,flod
Differential Revision: https://phabricator.services.mozilla.com/D51841

--HG--
extra : moz-landing-system : lando
2019-12-05 18:08:20 +00:00
Thomas Wisniewski 826897618a Bug 1595086 - also freeze the presshell when setActive(false) is called to stop requestAnimationFrames; r=smaug
also freeze the presshell when setActive(false) is called to stop requestAnimationFrames

Differential Revision: https://phabricator.services.mozilla.com/D55343

--HG--
extra : moz-landing-system : lando
2019-12-05 13:29:08 +00:00
Jesse Schwartzentruber 81870fa7c5 Bug 1482167 - Create --enable-fuzzing ASAN build job for Android x86-64 firefox. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D3027

--HG--
extra : moz-landing-system : lando
2019-12-04 21:44:06 +00:00
Razvan Maries ef51899325 Backed out changeset 52af8765cb21 (bug 1589700) for perma fails on browser_Telemetry_numberOfSiteOrigins.js. CLOSED TREE 2019-12-04 23:48:27 +02:00
Sean Feng 0dea348f20 Bug 1589700 - Record the number of unique site origins across all tabs r=smaug,agi,Dexter
Differential Revision: https://phabricator.services.mozilla.com/D54027

--HG--
extra : moz-landing-system : lando
2019-12-04 19:39:18 +00:00
Agi Sferro a95a02514e Bug 1600981 - use browser instead of window.browser in {port_,}messaging_example. r=fluffyemily,snorp
This also adds @Override to all delegates in the examples.

Differential Revision: https://phabricator.services.mozilla.com/D55693

--HG--
extra : moz-landing-system : lando
2019-12-04 19:27:51 +00:00
Andreea Pavel 5d6dd7ad16 Bug 1596314 - disable WebExecutorTest.readTimeout for frequent failures r=gbrown,geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D54914

--HG--
extra : moz-landing-system : lando
2019-12-04 18:23:34 +00:00
Shane Caraveo d27218da77 Bug 1572140 remove compat override handling from AOM r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D55762

--HG--
extra : moz-landing-system : lando
2019-12-04 17:51:27 +00:00
Geoff Brown 9e59579c39 Bug 1601076 - Fix some broken BUG_COMPONENTS in moz.build files; r=jmaher
Some of these were obvious typos. Others probably reflect once-correct components
that have been combined, split, or otherwise obsoleted; for these I've tried to
use the component associated with the bugs for recent changes to the affected files.

Differential Revision: https://phabricator.services.mozilla.com/D55756

--HG--
extra : moz-landing-system : lando
2019-12-04 13:55:45 +00:00
Hiroyuki Ikezoe 63e3dd4144 Bug 1523541 - window.innerHeight returns the size for vh units when the dynamic toolbar is completely hidden. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D55071

--HG--
extra : moz-landing-system : lando
2019-12-04 04:41:08 +00:00
Hiroyuki Ikezoe 831ca102d1 Bug 1523541 - Fire a window resize event at the same time we change position:fixed %-units style values. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D55070

--HG--
extra : moz-landing-system : lando
2019-12-04 04:34:08 +00:00
Agi Sferro fcc373703f Bug 1600671 - Improve doc for onLoadRequest. r=droeh
Differential Revision: https://phabricator.services.mozilla.com/D55696

--HG--
extra : moz-landing-system : lando
2019-12-03 18:31:26 +00:00
Ehsan Akhgari d94f27a8d6 Bug 1595934 - Make nsICookieManager cookie enumerators return Array<nsICookie> instead of nsISimpleEnumerator; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D52761

--HG--
extra : moz-landing-system : lando
2019-12-03 17:08:25 +00:00
Hiroyuki Ikezoe b7f470a239 Bug 1600814 - Don't call setFixedBottomOffset if the offset value is not changed. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D55577

--HG--
extra : moz-landing-system : lando
2019-12-02 23:14:30 +00:00
championshuttler 6906ebd584 Bug 1536103 - Fix links for GeckoView landing page.r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D55543

--HG--
extra : moz-landing-system : lando
2019-12-02 21:10:53 +00:00
Agi Sferro 3ea59844e0 Bug 1599897 - Send action information after attaching delegate. r=esawin
Installed extensions are available after the manifest is read, so the initial
default action information could be missed by the delegate. We now just trigger
an update after a delegate has been registered to work around this.

Differential Revision: https://phabricator.services.mozilla.com/D55021

--HG--
extra : moz-landing-system : lando
2019-12-02 18:42:04 +00:00
Gabriele Svelto d0e4d2c6c2 Bug 1420363 - Write crash annotations as JSON r=froydnj,agi
This patch rolls up all the required changes for this purpose. Since the
whole crash reporting flow must understand the new format it's not possible
to land this as separate patches as individually they would be broken. This
patch includes the following changes:

* Changes to the crash reporting machinery to write out annotations as JSON,
  these includes changes to the DLL blocklist code that must be run at crash
  time.
* Modifications to the crash reporter client so that it can read and
  submit the new format; this includes platform-specific changes to the
  Breakpad libraries it uses for submitting crashes.
* Modifications to the minidump-analyzer to understand and process the new
  format correctly.
* Modifications to the crash manager to understand and process the new format
  correctly.
* Modifications to GeckoView's crash handler to understand and submit the
  new format correctly.
* Added new tests to cover the new format and modified existing ones to
  accomodate the new one.

Differential Revision: https://phabricator.services.mozilla.com/D46848

--HG--
extra : moz-landing-system : lando
2019-12-02 13:18:35 +00:00
James Willcox 4945d746d5 Bug 1564846 - Do better at managing secondary windows in TestRunnerActivity r=kats
Differential Revision: https://phabricator.services.mozilla.com/D37570

--HG--
extra : moz-landing-system : lando
2019-12-02 09:35:00 +00:00
Sylvestre Ledru 49bac1480d Bug 1599741 - Integrate the geckoview doc into the menu of https://firefox-source-docs.mozilla.org/ r=fluffyemily
Differential Revision: https://phabricator.services.mozilla.com/D54920

--HG--
extra : moz-landing-system : lando
2019-11-29 15:11:20 +00:00
James Teh 5cef911f1e Bug 1572595: Make ARIA 1.0 combo boxes reachable with Talkback. r=MarcoZ
ARIA role="combobox" gets a Gecko role of EDITCOMBOBOX.
However, there are two kinds of ARIA comboboxes:

1. ARIA 1.0 comboboxes are contentEditable. Text is entered into the combobox itself.
2. ARIA 1.1 comboboxes are not contentEditable. Instead, they have a textbox child into which text is entered.

On Android, traversal skipped EDITCOMBOBOX Accessibles altogether.
This meant that while 1.1 comboboxes were accessible (because we'd walk inside and land on the textbox), 1.0 comboboxes were not.

We still don't want to land on 1.1 comboboxes because the container isn't useful to the user.
Therefore, only stop on EDITCOMBOBOX Accessibles which are editable.

Differential Revision: https://phabricator.services.mozilla.com/D55224

--HG--
extra : moz-landing-system : lando
2019-11-29 10:11:28 +00:00
James Teh 4cfde48bec Bug 1566878: Android a11y: Don't expose <a> elements with no href or onclick as links. r=MarcoZ
Gecko's link role is used even for <a> elements without href or onclick.
Actionable links are indicated using the linked state.
However, Android doesn't have a concept equivalent to the linked state.
Thus, on Android, we must not expose an element as a link at all if it does not have the linked state.

Differential Revision: https://phabricator.services.mozilla.com/D55207

--HG--
extra : moz-landing-system : lando
2019-11-29 05:47:12 +00:00
James Willcox 13542a780b Bug 1594905 - Propagate Gecko channel errors to GeckoInputStream r=geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D54615

--HG--
extra : moz-landing-system : lando
2019-11-27 18:23:05 +00:00
Ciure Andrei 812536c535 Backed out changeset c4258604bf44 (bug 1594905) for causing linting failure in GeckoWebExecutor.java CLOSED TREE 2019-11-27 19:48:49 +02:00
James Willcox b285b21fc4 Bug 1594905 - Propagate Gecko channel errors to GeckoInputStream r=geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D54615

--HG--
extra : moz-landing-system : lando
2019-11-27 16:36:47 +00:00
Agi Sferro 74ec11e0f3 Bug 1599578 - WebExtension managing API stub r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D54813

--HG--
extra : moz-landing-system : lando
2019-11-26 23:01:23 +00:00
Agi Sferro de6cb1f16e Bug 1599578 - Remove duplicated javadoc. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D54812

--HG--
extra : moz-landing-system : lando
2019-11-26 23:01:20 +00:00
Agi Sferro afd01c935d Bug 1599578 - Rename ActionIcon to Icon. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D54811

--HG--
extra : moz-landing-system : lando
2019-11-26 23:01:18 +00:00
Agi Sferro 543a4cfa26 Bug 1599578 - Merge WebExtensionController and EventDispatcher. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D54810

--HG--
extra : moz-landing-system : lando
2019-11-26 23:01:16 +00:00
Emily Toop 544204da37 Bug 1599452 - fix Javadoc naming r=geckoview-reviewers,snorp
An error means that javadoc is being copied to the incorrect folder as the {project} variable is incorrectly formatted

Differential Revision: https://phabricator.services.mozilla.com/D54731

--HG--
extra : moz-landing-system : lando
2019-11-26 15:00:42 +00:00
Sylvestre Ledru e94f355d96 Bug 1596911 - Add missing license headers on the new managed extensions r=Gijs,MattN
Depends on D53267

Differential Revision: https://phabricator.services.mozilla.com/D53269

--HG--
extra : moz-landing-system : lando
2019-11-26 15:00:00 +00:00
Sylvestre Ledru 8d2f0d1b1f Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D54686

--HG--
extra : moz-landing-system : lando
2019-11-26 14:35:02 +00:00
Dylan Roeh 7df07c606e Bug 1598707 - Add a "GeckoView for Gecko Engineers" quickstart guide. r=geckoview-reviewers,agi,snorp
Differential Revision: https://phabricator.services.mozilla.com/D54332

--HG--
extra : moz-landing-system : lando
2019-11-25 22:29:32 +00:00
James Willcox 15332d9e0f Bug 1581416 - Fix up auth secret generation for Web Push tests r=geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D54546

--HG--
extra : moz-landing-system : lando
2019-11-25 16:37:56 +00:00
Imanol Fernandez 2c071dd369 Bug 1597707 - Do not dispatch SELECT_ALL selection action if the input is empty or all the text is already selected. r=esawin
Do not dispatch SELECT_ALL selection action if the input is empty or all the text is already selected.

Differential Revision: https://phabricator.services.mozilla.com/D53828

--HG--
extra : moz-landing-system : lando
2019-11-25 17:24:04 +00:00
Emily Toop b9a8bc64fe Bug 1598593 - Copy docs files to root directory in github site r=agi
Differential Revision: https://phabricator.services.mozilla.com/D54272

--HG--
rename : mobile/android/docs/Gemfile => mobile/android/docs/geckoview/Gemfile
rename : mobile/android/docs/_config.yml => mobile/android/docs/geckoview/_config.yml
extra : moz-landing-system : lando
2019-11-25 16:01:52 +00:00
Agi Sferro b388087639 Bug 1597821 - Actually replace view when calling GeckoView.setViewBackend. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D53887

--HG--
extra : moz-landing-system : lando
2019-11-25 16:38:50 +00:00
Mihai Alexandru Michis 0adbbe28c4 Backed out changeset 0a9eca512151 (bug 1598593) for causing lint failures in mach_commands.py CLOSED TREE
--HG--
rename : mobile/android/docs/geckoview/Gemfile => mobile/android/docs/Gemfile
rename : mobile/android/docs/geckoview/_config.yml => mobile/android/docs/_config.yml
2019-11-25 16:30:33 +02:00
Emily Toop 4c65213a06 Bug 1598593 - Copy docs files to root directory in github site r=agi
Differential Revision: https://phabricator.services.mozilla.com/D54272

--HG--
rename : mobile/android/docs/Gemfile => mobile/android/docs/geckoview/Gemfile
rename : mobile/android/docs/_config.yml => mobile/android/docs/geckoview/_config.yml
extra : moz-landing-system : lando
2019-11-25 13:54:25 +00:00
Emily Toop 6364098a35 Bug 1598010 - Move examples into mozilla-central r=agi
Examples are currently in github. They should be kept alongside the documentation and code and built along with other projects in Android Studio.

Differential Revision: https://phabricator.services.mozilla.com/D53978

--HG--
extra : moz-landing-system : lando
2019-11-22 13:30:57 +00:00
Daniel Varga 5500ea37d1 Backed out changeset d1b72f3ac5f6 (bug 1598010) linting failure at messaging_example/app/src/main/assets/messaging/messaging.js:11:7. On a CLOSED TREE 2019-11-22 06:04:04 +02:00
Mike Shal bca8fea099 Bug 1593465 - Dump symbols during instrumented builds for crashlogs in the run task; r=firefox-build-system-reviewers,chmanchester
To get an accurate backtrace if the run task crashes, we need the
symbols from the instrumented build.

Depends on D53716

Differential Revision: https://phabricator.services.mozilla.com/D53717

--HG--
extra : moz-landing-system : lando
2019-11-21 18:44:10 +00:00
Emily Toop 69138034df Bug 1598010 - Move examples into mozilla-central r=agi
Examples are currently in github. They should be kept alongside the documentation and code and built along with other projects in Android Studio.

Differential Revision: https://phabricator.services.mozilla.com/D53978

--HG--
extra : moz-landing-system : lando
2019-11-21 18:04:14 +00:00
Daniel Varga f12c40c242 Backed out changeset afe80b4ff889 (bug 1595934) Requested by ehsan to see if it fixex bug 1597915. On a CLOSED TREE 2019-11-22 02:01:51 +02:00
Hiroyuki Ikezoe 7afdb8487c Bug 1586986 - Fire visual viewport resize events and flush position:fixed elements' layout in the same way what Chrome does. r=botond
On Chrome, visual viewport resize event is fired repeatedly during dynamic
toolbar transitions and visual viewport height obtained by the VisualViewport
API is also changed, but in terms of layout the height value is never used
until the dynamic toolbar height reaches to zero or is changed from zero.
The height used at the time is the height for vh units when the toolbar height
reaches to zero and the ICB height when the toolbar height is changed from zero.
To do so, we need to have another visual viewport size in parallel to the
original one and use them depending on situations.

Differential Revision: https://phabricator.services.mozilla.com/D52338

--HG--
extra : moz-landing-system : lando
2019-11-21 21:36:59 +00:00
Hiroyuki Ikezoe 9b165804d8 Bug 1586986 - Deliver 'fixed-bottom' offset to the top of the pres context on the foreground tab. r=geckoview-reviewers,tnikkel,snorp
The dynamic toolbar transition doesn't affect on background tabs since to
switch tabs the dynamic toolbar should be restored to its original state (i.e.,
completely visible state).

Differential Revision: https://phabricator.services.mozilla.com/D52336

--HG--
extra : moz-landing-system : lando
2019-11-21 21:15:46 +00:00
Mihai Alexandru Michis c22a7b20e8 Backed out changeset 4fbd18ff4990 (bug 1597707) for causing geckoview failures in SelectionActionDelegateTest.request 2019-11-20 14:19:27 +02:00
Imanol Fernandez 397c73b3bb Bug 1597707 - Do not dispatch SELECT_ALL selection action if the input is empty or all the text is already selected. r=esawin
Do not dispatch SELECT_ALL selection action if the input is empty or all the text is already selected.

Differential Revision: https://phabricator.services.mozilla.com/D53828

--HG--
extra : moz-landing-system : lando
2019-11-19 22:31:49 +00:00
Jonathan Almeida [:jonalmeida] 86f8614719 Bug 1596588 - Update WebPushController.onPushEvent to take only the scope. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D53120

--HG--
extra : moz-landing-system : lando
2019-11-19 21:03:23 +00:00
Dylan Roeh 3b86e10220 Bug 1585658 - Move GeckoViewContentBlocking.jsm to onInit and fix and reenable tests. r=geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D53808

--HG--
extra : moz-landing-system : lando
2019-11-19 14:44:32 +00:00
Dorel Luca c75213f45a Backed out changeset 21632bd4c4ca (bug 1596588) for ESlint failures in android/modules/geckoview/GeckoViewPushController.jsm. CLOSED TREE 2019-11-19 19:14:24 +02:00
Jonathan Almeida [:jonalmeida] ca8d46a9a2 Bug 1596588 - Update WebPushController.onPushEvent to take only the scope. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D53120

--HG--
extra : moz-landing-system : lando
2019-11-19 16:25:49 +00:00
Emily Toop 64fd791361 Bug 1585661 - Update mach geckoview-docs command to upload markdown as well as javadoc. r=agi
Slightly reorganize file structure to make copying files over easier. Needs to land in conjunction with https://github.com/mozilla/geckoview/pull/94, which should land first.

Differential Revision: https://phabricator.services.mozilla.com/D48564

--HG--
rename : mobile/android/docs/geckoview/Gemfile => mobile/android/docs/Gemfile
rename : mobile/android/docs/geckoview/_config.yml => mobile/android/docs/_config.yml
extra : moz-landing-system : lando
2019-11-14 15:53:53 +00:00
Ehsan Akhgari 8909341af2 Bug 1589476 - Emit a separate notification when a tracker from the Level 2 Disconnect blocklist is observed on a page and use this code to avoid using the URL classifer service in the front-end; r=nhnt11,droeh
Differential Revision: https://phabricator.services.mozilla.com/D49660

--HG--
extra : moz-landing-system : lando
2019-11-18 20:56:36 +00:00
Agi Sferro 161c137c5d Bug 1530402 - Move WebExtensionListener to WebExtension.java. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D52709

--HG--
extra : moz-landing-system : lando
2019-11-18 16:49:06 +00:00
Agi Sferro 01dfa4accb Bug 1530402 - Add {Browser,Page}Action support to GVE. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D49042

--HG--
extra : moz-landing-system : lando
2019-11-18 16:49:04 +00:00
Agi Sferro 84be57762d Bug 1530402 - Implement {Browser,Page}Action for GeckoView. r=snorp,mixedpuppy,esawin
Design doc: https://docs.google.com/document/d/1XJuKk9Hm_2RNbX8KRcyUOXTaELBWYMyXBUchz15OElY

Differential Revision: https://phabricator.services.mozilla.com/D49041

--HG--
rename : browser/components/extensions/schemas/browser_action.json => toolkit/components/extensions/schemas/browser_action.json
rename : browser/components/extensions/schemas/page_action.json => toolkit/components/extensions/schemas/page_action.json
extra : moz-landing-system : lando
2019-11-18 16:49:02 +00:00
Agi Sferro dc9331beef Bug 1530402 - Emit |location-change| from mobile's TabTracker. r=snorp
This matches desktop's TabTracker. Also, remove Tab:Selected which is an event
that was coming from Fennec.

Differential Revision: https://phabricator.services.mozilla.com/D52252

--HG--
extra : moz-landing-system : lando
2019-11-18 16:48:59 +00:00
Agi Sferro a373408f01 Bug 1530402 - Add package-protected isPopup setting to hide GeckoSessions from extensions. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D51918

--HG--
extra : moz-landing-system : lando
2019-11-18 16:48:57 +00:00
Agi Sferro cbc3c1528e Bug 1530402 - Provide GeckoImageDecoder. r=snorp
This class allows GeckoView embedders to decode images using Gecko's image
library.

Differential Revision: https://phabricator.services.mozilla.com/D49038

--HG--
extra : moz-landing-system : lando
2019-11-18 16:48:55 +00:00
Agi Sferro 6618395970 Bug 1530402 - Remove Fennec's {Browser,Page} Action implementation. r=snorp
We're going to replace this implementation from scratch so we remove it here to
avoid a confusing diff.

Differential Revision: https://phabricator.services.mozilla.com/D51917

--HG--
extra : moz-landing-system : lando
2019-11-18 16:48:50 +00:00
Agi Sferro 8a93f62803 Bug 1530402 - Provide an API to use TextureView in GeckoView. r=snorp,droeh
Differential Revision: https://phabricator.services.mozilla.com/D51916

--HG--
extra : moz-landing-system : lando
2019-11-18 16:48:46 +00:00
Agi Sferro e2d21e323a Bug 1530402 - Remove unused NULL_MESSAGE_DELEGATE. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D49053

--HG--
extra : moz-landing-system : lando
2019-11-18 16:48:43 +00:00
Agi Sferro 56339f490b Bug 1530402 - Remove Fennec code from ext-utils.js. r=droeh
Differential Revision: https://phabricator.services.mozilla.com/D51641

--HG--
extra : moz-landing-system : lando
2019-11-18 16:48:34 +00:00
Ehsan Akhgari 30cf316b38 Bug 1595934 - Make nsICookieManager cookie enumerators return Array<nsICookie> instead of nsISimpleEnumerator; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D52761

--HG--
extra : moz-landing-system : lando
2019-11-17 07:21:14 +00:00
Razvan Maries b90bde90fc Backed out changeset 1603f5abc56e (bug 1420363) for perma fails on test_busy_hang.xul. CLOSED TREE
--HG--
extra : rebase_source : 02c0d2f9f92f0a01ef57e4f9b38a008f6bc0eb50
2019-11-16 13:00:43 +02:00
Gabriele Svelto fb2b45f492 Bug 1420363 - Write crash annotations as JSON r=froydnj,agi
This patch rolls up all the required changes for this purpose. Since the
whole crash reporting flow must understand the new format it's not possible
to land this as separate patches as individually they would be broken. This
patch includes the following changes:

* Changes to the crash reporting machinery to write out annotations as JSON,
  these includes changes to the DLL blocklist code that must be run at crash
  time.
* Modifications to the crash reporter client so that it can read and
  submit the new format; this includes platform-specific changes to the
  Breakpad libraries it uses for submitting crashes.
* Modifications to the minidump-analyzer to understand and process the new
  format correctly.
* Modifications to the crash manager to understand and process the new format
  correctly.
* Modifications to GeckoView's crash handler to understand and submit the
  new format correctly.
* Added new tests to cover the new format and modified existing ones to
  accomodate the new one.

Differential Revision: https://phabricator.services.mozilla.com/D46848

--HG--
extra : moz-landing-system : lando
2019-11-16 08:29:07 +00:00
Eugen Sawin 7e99bb005b Bug 1577005 - [5.0] Fix changelog syntax.
Differential Revision: https://phabricator.services.mozilla.com/D53283

--HG--
extra : moz-landing-system : lando
2019-11-15 22:30:35 +00:00
Noemi Erli 9548dd980a Backed out 13 changesets (bug 1530402, bug 1533156) for causing raptor failures CLOSED TREE
Backed out changeset 6d7b7d22b0c6 (bug 1530402)
Backed out changeset acea32ec5975 (bug 1530402)
Backed out changeset 597e32ad2f5b (bug 1530402)
Backed out changeset 352068fe68bc (bug 1530402)
Backed out changeset e0ae4f16f7ed (bug 1530402)
Backed out changeset 282b033c7daa (bug 1530402)
Backed out changeset 72274a5a821b (bug 1530402)
Backed out changeset 3d3366fe476f (bug 1530402)
Backed out changeset 7400c3fd2b5f (bug 1530402)
Backed out changeset 23d43a425641 (bug 1530402)
Backed out changeset 83b9603f5fa1 (bug 1530402)
Backed out changeset 50c50a80e881 (bug 1533156)
Backed out changeset 5975264fd34b (bug 1530402)

--HG--
rename : toolkit/components/extensions/schemas/browser_action.json => browser/components/extensions/schemas/browser_action.json
rename : toolkit/components/extensions/schemas/page_action.json => browser/components/extensions/schemas/page_action.json
extra : rebase_source : 551e88b6719692756499387e93f797454a336180
2019-11-15 18:57:20 +02:00
Agi Sferro 059c948746 Bug 1530402 - Move WebExtensionListener to WebExtension.java. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D52709

--HG--
extra : moz-landing-system : lando
2019-11-15 16:34:02 +00:00
Agi Sferro 87658d0308 Bug 1530402 - Add {Browser,Page}Action support to GVE. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D49042

--HG--
extra : moz-landing-system : lando
2019-11-15 16:34:00 +00:00
Agi Sferro 55147a9528 Bug 1530402 - Implement {Browser,Page}Action for GeckoView. r=snorp,mixedpuppy,esawin
Design doc: https://docs.google.com/document/d/1XJuKk9Hm_2RNbX8KRcyUOXTaELBWYMyXBUchz15OElY

Differential Revision: https://phabricator.services.mozilla.com/D49041

--HG--
rename : browser/components/extensions/schemas/browser_action.json => toolkit/components/extensions/schemas/browser_action.json
rename : browser/components/extensions/schemas/page_action.json => toolkit/components/extensions/schemas/page_action.json
extra : moz-landing-system : lando
2019-11-15 16:33:57 +00:00
Agi Sferro 8e647541c1 Bug 1530402 - Emit |location-change| from mobile's TabTracker. r=snorp
This matches desktop's TabTracker. Also, remove Tab:Selected which is an event
that was coming from Fennec.

Differential Revision: https://phabricator.services.mozilla.com/D52252

--HG--
extra : moz-landing-system : lando
2019-11-15 16:33:55 +00:00
Agi Sferro cc0a593046 Bug 1530402 - Add package-protected isPopup setting to hide GeckoSessions from extensions. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D51918

--HG--
extra : moz-landing-system : lando
2019-11-15 16:33:53 +00:00
Agi Sferro dd3df73eb6 Bug 1530402 - Provide GeckoImageDecoder. r=snorp
This class allows GeckoView embedders to decode images using Gecko's image
library.

Differential Revision: https://phabricator.services.mozilla.com/D49038

--HG--
extra : moz-landing-system : lando
2019-11-15 16:33:45 +00:00
Agi Sferro 049a7c667b Bug 1530402 - Remove Fennec's {Browser,Page} Action implementation. r=snorp
We're going to replace this implementation from scratch so we remove it here to
avoid a confusing diff.

Differential Revision: https://phabricator.services.mozilla.com/D51917

--HG--
extra : moz-landing-system : lando
2019-11-15 16:37:06 +00:00
Agi Sferro cbe2a8f072 Bug 1530402 - Provide an API to use TextureView in GeckoView. r=snorp,droeh
Differential Revision: https://phabricator.services.mozilla.com/D51916

--HG--
extra : moz-landing-system : lando
2019-11-15 16:33:36 +00:00
Agi Sferro af0728a8a3 Bug 1530402 - Remove unused NULL_MESSAGE_DELEGATE. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D49053

--HG--
extra : moz-landing-system : lando
2019-11-15 16:33:34 +00:00
Agi Sferro 82bfb12542 Bug 1530402 - Remove Fennec code from ext-utils.js. r=droeh
Differential Revision: https://phabricator.services.mozilla.com/D51641

--HG--
extra : moz-landing-system : lando
2019-11-15 16:33:30 +00:00
Eugen Sawin 38bcf23168 Bug 1577005 - [4.1] Fix inconsistent naming. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D51923

--HG--
extra : moz-landing-system : lando
2019-11-15 15:49:10 +00:00
Eugen Sawin ffcb8ddae7 Bug 1577005 - [3.1] Ensure node value updates are propagated through the API. r=snorp,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D51922

--HG--
extra : moz-landing-system : lando
2019-11-15 15:49:02 +00:00
Eugen Sawin dc04dce0b6 Bug 1577005 - [2.4] Add autofill commit tests. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D51186

--HG--
extra : moz-landing-system : lando
2019-11-15 15:48:52 +00:00
Eugen Sawin 6ab58df198 Bug 1577005 - [1.6] Add autofill commit support. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D51185

--HG--
extra : moz-landing-system : lando
2019-11-15 15:48:39 +00:00
Andreea Pavel 30f5e9486a Backed out 13 changesets (bug 1530402, bug 1533156) for failing test_ext_tabs_query.html on a CLOSED TREE
Backed out changeset aa9499a196e3 (bug 1530402)
Backed out changeset ce12e494a189 (bug 1530402)
Backed out changeset 1b053a203af9 (bug 1530402)
Backed out changeset f57bc0ee284b (bug 1530402)
Backed out changeset 701de7bcb484 (bug 1530402)
Backed out changeset ab7b21969769 (bug 1530402)
Backed out changeset c7b8cc91f245 (bug 1530402)
Backed out changeset e2be10dbad5e (bug 1530402)
Backed out changeset f52a8fedcded (bug 1530402)
Backed out changeset 4fcca36d5b3e (bug 1530402)
Backed out changeset 82b28001164b (bug 1530402)
Backed out changeset 1dc6a4ebc9e1 (bug 1533156)
Backed out changeset ae5ead19921d (bug 1530402)

--HG--
rename : toolkit/components/extensions/schemas/browser_action.json => browser/components/extensions/schemas/browser_action.json
rename : toolkit/components/extensions/schemas/page_action.json => browser/components/extensions/schemas/page_action.json
2019-11-15 05:48:23 +02:00
Valentin Gosu 33ffe027d9 Bug 1588218 - Expose DNS suffix list (Android) r=michal,snorp
Differential Revision: https://phabricator.services.mozilla.com/D51561

--HG--
extra : moz-landing-system : lando
2019-11-14 20:39:34 +00:00
Agi Sferro 675362fe29 Bug 1530402 - Move WebExtensionListener to WebExtension.java. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D52709

--HG--
extra : moz-landing-system : lando
2019-11-14 19:08:51 +00:00
Agi Sferro c5b44d5e65 Bug 1530402 - Add {Browser,Page}Action support to GVE. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D49042

--HG--
extra : moz-landing-system : lando
2019-11-14 19:08:49 +00:00
Agi Sferro d39cf52795 Bug 1530402 - Implement {Browser,Page}Action for GeckoView. r=snorp,mixedpuppy,esawin
Design doc: https://docs.google.com/document/d/1XJuKk9Hm_2RNbX8KRcyUOXTaELBWYMyXBUchz15OElY

Differential Revision: https://phabricator.services.mozilla.com/D49041

--HG--
rename : browser/components/extensions/schemas/browser_action.json => toolkit/components/extensions/schemas/browser_action.json
rename : browser/components/extensions/schemas/page_action.json => toolkit/components/extensions/schemas/page_action.json
extra : moz-landing-system : lando
2019-11-14 19:08:46 +00:00
Agi Sferro e8fa5b32d8 Bug 1530402 - Emit |location-change| from mobile's TabTracker. r=snorp
This matches desktop's TabTracker. Also, remove Tab:Selected which is an event
that was coming from Fennec.

Differential Revision: https://phabricator.services.mozilla.com/D52252

--HG--
extra : moz-landing-system : lando
2019-11-14 19:08:44 +00:00
Agi Sferro 5958bdff95 Bug 1530402 - Add package-protected isPopup setting to hide GeckoSessions from extensions. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D51918

--HG--
extra : moz-landing-system : lando
2019-11-14 19:08:42 +00:00