Commit Graph

29692 Commits

Author SHA1 Message Date
Mike Hommey
f69ac41eca Bug 1530057 - Disable LTO for non-PGO Android builds. r=froydnj
LTO was enabled on Android back when the normal Android builds were the
ones we shipped. But now we have separate builds for what is shipped,
*and* they do PGO+LTO.

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

--HG--
extra : moz-landing-system : lando
2020-02-18 22:03:18 +00:00
Eitan Isaacson
5f6ff669bf Bug 1616146 - Cache accessibility focus boundaries in java. r=Jamie
This allows `performAction` to immediately return false if a boundary is
reached and allow TalkBack to navigate past the web view.

Change viewport cache listener to reorder since it should catch all tree
mutations in the document.

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

--HG--
extra : moz-landing-system : lando
2020-02-18 21:09:06 +00:00
Mike Shal
d8e4653d19 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-14 13:22:46 +00:00
Noemi Erli
c534f17571 Backed out changeset fa5ee85e20a5 (bug 1603673) for causing lint failure in GeckoRuntimeSettings.java CLOSED TREE 2020-02-18 08:39:30 +02:00
Marcos Cáceres
ccfa51c524 Bug 1603673 - Signal that we support web manifest processing in Fenix r=snorp
When enabled, `link.relList.supports("manifest")` will return `true`.

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

--HG--
extra : moz-landing-system : lando
2020-02-18 03:43:48 +00:00
shindli
ba0dcaf78d Backed out changeset 061d47c2c5c7 (bug 1603673) for mozlint failure in /builds/worker/checkouts/gecko/mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoRuntimeSettings.java CLOSED TREE 2020-02-18 05:39:05 +02:00
Marcos Cáceres
b5521fbef4 Bug 1603673 - Signal that we support web manifest processing in Fenix r=snorp
When enabled, `link.relList.supports("manifest")` will return `true`.

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

--HG--
extra : moz-landing-system : lando
2020-02-18 03:11:12 +00:00
Alexandre Poirot
9073e966ec Bug 1614791 - Rename DebuggerServer to DevToolsServer. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D61363

--HG--
rename : devtools/server/debugger-server.js => devtools/server/devtools-server.js
extra : moz-landing-system : lando
2020-02-17 10:28:24 +00:00
Masayuki Nakano
351bd16f96 Bug 1615532 - Make line style in TextRangeStyle an enum class and sync it with GeckoEditable.IME_RANGE_LINE_* r=m_kato
At bug 1614208, the line style value mapping was changed, but
`GeckoEditable.IME_RANGE_LINE_*` are not updated.

This patch makes the style in `TextRangeStyle` an enum class for making it
type safer, and updates `GeckoEditable.IME_RANGE_LINE_*`, and finally, adds
`FYI` comments in `TextRangeStyle` to make developers realize it requires
manual update.

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

--HG--
extra : moz-landing-system : lando
2020-02-17 07:53:46 +00:00
Bogdan Tara
171ffe820f Backed out changeset 5f9d18ac0296 (bug 1612278) for TextInputDelegateTest related failures CLOSED TREE 2020-02-17 05:37:24 +02:00
Makoto Kato
221b84b167 Bug 1612278 - Re-enable TextInputDelegateTest#inputConnection. r=geckoview-reviewers,snorp
`inputConnection` works again even if x86_64 emulator with e10s.

But the following tests still have timing issue and are sometimes failure.
So this is still turned off.

- `inputConnection_bug1133802`
- `inputConnection_setSelection`

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

--HG--
extra : moz-landing-system : lando
2020-02-06 16:46:42 +00:00
Hiroyuki Ikezoe
6504d023af Bug 1611579 - Create a Promise to get a window.resize event before calling setVerticalClipping. r=geckoview-reviewers,snorp
So that the test can receive the expected event triggered by the
setVerticalClipping.

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

--HG--
extra : moz-landing-system : lando
2020-02-14 22:44:18 +00:00
Eugen Sawin
2e3cc0765a Bug 1615372 - [1.0] Remove the useContentProcessHint runtime setting. r=geckoview-reviewers,snorp,agi
Differential Revision: https://phabricator.services.mozilla.com/D62785

--HG--
extra : moz-landing-system : lando
2020-02-14 16:54:18 +00:00
Cosmin Sabou
ff39f9206d Backed out 2 changesets (bug 1613263, bug 1611326) for presummably causing l10n langpack bustages. a=backout
Backed out changeset 77e54e76848a (bug 1611326)
Backed out changeset 36ba18ac3a68 (bug 1613263)
2020-02-14 15:02:21 +02:00
Mike Shal
ad0c283ab2 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 23:07:04 +00:00
Brindusan Cristian
e2fb6b8344 Backed out changeset 7fefed11f117 (bug 1611326) for build bustages at update-1.xpi.stub. CLOSED TREE 2020-02-13 23:33:34 +02:00
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