Commit Graph

29493 Commits

Author SHA1 Message Date
James Willcox
5cdbd73662 Bug 1508730 - Ensure WebExecutorTest#testSslError() actually throws r=geckoview-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D59529

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Depends on D58599

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

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

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

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

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

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

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

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

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

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

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

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

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

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

But, why not redirecting / linking this page to:

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

Which is the main reference?

Or to:

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

Which contains the mercurial docs too?

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Depends on D53716

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--HG--
extra : moz-landing-system : lando
2019-11-15 16:33:55 +00:00