Commit Graph

29644 Commits

Author SHA1 Message Date
Tomislav Jovanovic
f96f3422db Bug 1316748 - Move Port messaging off MessageChannel r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D67302

--HG--
extra : moz-landing-system : lando
2020-03-21 00:02:20 +00:00
James Willcox
8d1a2b702d Bug 1622816 - Ensure network is always available in TestRunnerActivity r=geckoview-reviewers,agi
When running mochitests on real hardware, we sometimes lose the network,
causing strange timeouts. It's better if we crash immediately in those
situations to avoid confusion.

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

--HG--
extra : moz-landing-system : lando
2020-03-20 18:26:21 +00:00
Agi Sferro
773f537bd6 Bug 1623712 - Actually pass flags when calling reload. r=rbarker
We also don't pass `BYPASS_LOAD_URI_DELEGATE` since it's ignored anyway for
reloads.

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

--HG--
extra : moz-landing-system : lando
2020-03-20 16:56:20 +00:00
Kartikaya Gupta
b256cfe15f Bug 1623708 - Remove unused pref. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D67618

--HG--
extra : moz-landing-system : lando
2020-03-20 14:21:40 +00:00
Petru-Mugurel Lingurar
23e7aab874 Bug 1622781 - Canonicalize filenames from content providers; r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D66974

--HG--
extra : moz-landing-system : lando
2020-03-20 12:59:59 +00:00
Oana Pop Rus
a99e2b3ec2 Backed out changeset 502775f3a9cf (bug 1622816) for android Bpgo(run) exceptions 2020-03-20 01:06:37 +02:00
James Willcox
4ccf12cecf Bug 1622816 - Ensure network is always available in TestRunnerActivity r=geckoview-reviewers,agi
When running mochitests on real hardware, we sometimes lose the network,
causing strange timeouts. It's better if we crash immediately in those
situations to avoid confusion.

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

--HG--
extra : moz-landing-system : lando
2020-03-18 20:38:15 +00:00
Sylvestre Ledru
be18fd4dba Bug 1622328 - add license info to all eslintrc files r=Standard8,webcompat-reviewers,miketaylr
Differential Revision: https://phabricator.services.mozilla.com/D67319

--HG--
extra : moz-landing-system : lando
2020-03-19 13:47:51 +00:00
Emilio Cobos Álvarez
7d6d772dee Bug 1622894 - Don't force-focus the input when we're force-showing the virtual keyboard. r=m_kato
When you type in a textarea, and zoom to position the caret, then click, we'll
scroll all the way to the top of the textarea, via:

  IMEStateManager::OnClickInEditor -> SetIMEState -> SetInputContext -> mEditable->NotifyIME(EditableListener::NOTIFY_IME_OPEN_VKB);

Even if the keyboard was already displayed. In this case, we're not moving
focus, and panning to the start causes more issues than it fixes. Prevent
zooming to the start of the input in this case, but still do it if we get the
resize event (and thus toggle the keyboard).

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

--HG--
extra : moz-landing-system : lando
2020-03-19 09:18:37 +00:00
Agi Sferro
a4ed37be73 Bug 1622926 - Don't restore scrolldata and form data when switching processes. r=droeh
That data is not the right one anyway, since it comes from the previous page
rather than the current one.

Note: this is also broken on desktop too. It will be fixed once we move to main
process history (hopefully?).

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

--HG--
extra : moz-landing-system : lando
2020-03-19 00:57:10 +00:00
Stefan Hindli
5f419e4b50 Backed out 9 changesets (bug 1622111) for causing mochitest failures in dom/animation/test/mozilla/test_restyles.html CLOSED TREE
Backed out changeset c244160797f8 (bug 1622111)
Backed out changeset dd9209f6bd8b (bug 1622111)
Backed out changeset d694c9e7061f (bug 1622111)
Backed out changeset 486aae809f6d (bug 1622111)
Backed out changeset 709266168c41 (bug 1622111)
Backed out changeset ca0d47bb86a8 (bug 1622111)
Backed out changeset caa735c8bb91 (bug 1622111)
Backed out changeset 12397711ab25 (bug 1622111)
Backed out changeset b66002fd1480 (bug 1622111)
2020-03-19 02:47:51 +02:00
Kristen Wright
edf4e23c7d Bug 1622111 - Convert four security.mixed_content.* prefs in nsMixedContentBlocker r=njn
Converts `security.mixed_content.block_object_subrequest`, `security.mixed_content.block_display_content`, `security.mixed_content.upgrade_display_content`, and `security.mixed_content.block_active_content` to static prefs.

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

--HG--
extra : moz-landing-system : lando
2020-03-18 23:25:13 +00:00
Agi Sferro
8f8a01c7b7 Bug 1621966 - Don't crash when the dynamic toolbar is bigger than the screen. r=botond,snorp
There are cases when GV is being animated and it ends up being smaller than the
dynamic toolbar for a few frames. When that happens we really don't want to
crash and we can just ignore it.

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

--HG--
extra : moz-landing-system : lando
2020-03-18 20:29:27 +00:00
William Lachance
e4da848fd8 Bug 1623132 - Rewrite printconfigsetting to use configparser, python 3 r=rstewart
Differential Revision: https://phabricator.services.mozilla.com/D67210

--HG--
extra : moz-landing-system : lando
2020-03-18 15:07:24 +00:00
Sylvestre Ledru
c696c4cabf Bug 1622328 - geckoview: Add the license r=snorp
Depends on D66832

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

--HG--
extra : moz-landing-system : lando
2020-03-16 15:28:29 +00:00
Brendan Dahl
c60611731c Bug 1623155 - Fix which extension is registered after update. r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D67196

--HG--
extra : moz-landing-system : lando
2020-03-17 19:22:43 +00:00
James Willcox
e09b890d7b Bug 1616613 - Remove unused SQLiteBridge r=glandium
This abomination was only used in Fennec.

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

--HG--
extra : moz-landing-system : lando
2020-03-16 18:44:10 +00:00
James Willcox
d2d9cdb5ac Bug 1611270 - Delete unused NSSBridge r=glandium,geckoview-reviewers,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D64810

--HG--
extra : moz-landing-system : lando
2020-03-16 18:44:10 +00:00
James Willcox
257fd28a5f Bug 1621476 - Disable WebAuthn on GeckoView r=jcj,smaug
We'll enable it once it's actually supported.

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

--HG--
extra : moz-landing-system : lando
2020-03-16 15:29:52 +00:00
Marco Bonardo
2dc20c6432 Bug 1621328 - Move CreateExposableURI into nsIOService. r=Gijs,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D66269

--HG--
extra : moz-landing-system : lando
2020-03-13 12:44:36 +00:00
Makoto Kato
edc87f1d99 Bug 1613804 - InputConnection.finishComposingText should commit composition text. r=geckoview-reviewers,snorp
Gecko don't commit composition when software keyboard calls
InputConnection.finishComposingText. It is incompatible with Blink's behaviour.

BaseInputConnection.finishComposingText() implementation is the following.

1. Begin batch edit.
2. Remove all composition span flag.
3. End batch edit.

So if no composition after batch edit is finished, we should commit it on Gecko
to synchronize composition state.

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

--HG--
extra : moz-landing-system : lando
2020-03-13 18:01:50 +00:00
Brendan Dahl
1f6bb7fb21 Bug 1620083 - Make web extensions re-bundle when dependent files change. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D65416

--HG--
extra : moz-landing-system : lando
2020-03-13 22:22:15 +00:00
Brendan Dahl
bca21e5970 Bug 1620083 - Remove unneeded test icon files. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D65415

--HG--
extra : moz-landing-system : lando
2020-03-13 22:22:13 +00:00
Thomas Wisniewski
7c32d9c818 Bug 1622076 - fix a race with WebExtensionControll.install.cancel; r=agi
Differential Revision: https://phabricator.services.mozilla.com/D66824

--HG--
extra : moz-landing-system : lando
2020-03-13 21:32:42 +00:00
James Willcox
fdb196df32 Bug 1619778 - Wait for Gecko to be ready when delivering Web Push events r=geckoview-reviewers,aklotz
Differential Revision: https://phabricator.services.mozilla.com/D66586

--HG--
extra : moz-landing-system : lando
2020-03-13 20:08:26 +00:00
James Willcox
3c21ccc32c Bug 1619778 - Add GeckoThread#waitForState(). r=geckoview-reviewers,aklotz
This allows us to asynchronously wait for a given `GeckoThread` state
to be reached.

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

--HG--
extra : moz-landing-system : lando
2020-03-13 19:49:48 +00:00
James Willcox
97a1646a17 Bug 1619778 - Remove unused GeckoThread#waitOnGecko methods. r=geckoview-reviewers,aklotz
Differential Revision: https://phabricator.services.mozilla.com/D66584

--HG--
extra : moz-landing-system : lando
2020-03-12 15:33:57 +00:00
Mike Shal
4fabfd049b Bug 1607193 - Remove MOZ_AUTOMATION_L10N_CHECK; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D66715

--HG--
extra : moz-landing-system : lando
2020-03-13 18:34:05 +00:00
Agi Sferro
e4e57c8343 Bug 1619796 - Don't fire onLoadRequest for embedder-initiated loads. r=smaug,droeh
Differential Revision: https://phabricator.services.mozilla.com/D66695

--HG--
extra : moz-landing-system : lando
2020-03-13 18:22:16 +00:00
Agi Sferro
5f34e8ebcf Bug 1621848 - Build examples during |mach build|. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D66666

--HG--
extra : moz-landing-system : lando
2020-03-13 18:11:45 +00:00
Agi Sferro
cca54c6e55 Bug 1621848 - Fix setMessageDelegate API change in example. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D66665

--HG--
extra : moz-landing-system : lando
2020-03-13 18:11:43 +00:00
Agi Sferro
4047079124 Bug 1621385 - Track the top non-private browsing tab in mobileWindowTracker. r=mixedpuppy,snorp
Differential Revision: https://phabricator.services.mozilla.com/D66311

--HG--
rename : mobile/android/geckoview/src/androidTest/assets/web_extensions/tabs-activate-remove/manifest.json => mobile/android/geckoview/src/androidTest/assets/web_extensions/tabs-activate-remove-2/manifest.json
extra : moz-landing-system : lando
2020-03-13 18:11:58 +00:00
Agi Sferro
bf7b46f3d1 Bug 1621385 - Account for unaccesible tabs in mobile's WindowTracker.getAll. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D66310

--HG--
extra : moz-landing-system : lando
2020-03-13 18:12:08 +00:00
Brendan Dahl
d36ef4c58b Bug 1621503 - Add update add-on menu item for GeckoView example. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D66718

--HG--
extra : moz-landing-system : lando
2020-03-13 17:35:04 +00:00
Brendan Dahl
a32e64c031 Bug 1621503 - Notify the extension system when GeckoView has started. r=geckoview-reviewers,agi
The extension background page should be loaded when either an event needs
to be sent to it or after the browser has started up. When an extension
is updated the special startup event listeners do not appear to be built
yet and GeckoView was not sending browser started notification, which meant the
background page never being loaded.

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

--HG--
extra : moz-landing-system : lando
2020-03-13 17:34:35 +00:00
Eugen Sawin
1fc127bf7a Bug 1620395 - [1.0] Deprecate GeckoView Snapshot Telemetry API. r=geckoview-reviewers,snorp,agi
Differential Revision: https://phabricator.services.mozilla.com/D66077

--HG--
extra : moz-landing-system : lando
2020-03-12 20:42:27 +00:00
Thomas Wisniewski
c5824ee72d Bug 1612097 - Add ability to cancel the GeckoResult returned by WebExtensionControll.install(BuiltIn); r=snorp,agi
Make the GeckoResult<WebExtension> returned by WebExtensionControll.install(BuiltIn) cancellable

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

--HG--
extra : moz-landing-system : lando
2020-03-12 19:03:46 +00:00
Geoff Brown
9ff45f39cd Bug 1556051 - Remove 'mach android-emulator' support for 'x86-4.2' avd; r=aerickson
This is a really old avd, no longer used in automation; it is obsolete.

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

--HG--
extra : moz-landing-system : lando
2020-03-12 16:57:37 +00:00
John Lin
0cfcd57cbd Bug 1572541 - ensure buffer capacity. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D66475

--HG--
extra : moz-landing-system : lando
2020-03-11 19:43:58 +00:00
Mike Hommey
72fd664abd Bug 1621529 - Use MOZ_FETCHES_DIR for pgo file paths. r=froydnj
This is both for future proofing (fetches could move any time although
they likely won't), and to fix the path on the future Windows PGO
cross builds, where the fetches path is not under $WORKSPACE.

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

--HG--
extra : moz-landing-system : lando
2020-03-11 10:36:11 +00:00
Mihai Alexandru Michis
f025ef4cb5 Backed out changeset fac88f2cec9c (bug 1621476) for causing failures in test_interfaces_secureContext.html
CLOSED TREE
2020-03-11 23:51:44 +02:00
James Willcox
239787bc8d Bug 1621129 - Remove unused sync prefs from GeckoView r=rfkelly
Differential Revision: https://phabricator.services.mozilla.com/D66120

--HG--
extra : moz-landing-system : lando
2020-03-09 22:02:53 +00:00
James Willcox
c7fcd2dac7 Bug 1621476 - Disable WebAuthn on GeckoView r=jcj
We'll enable it once it's actually supported.

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

--HG--
extra : moz-landing-system : lando
2020-03-11 14:15:55 +00:00
Kashav Madan
2dbd4a809e Bug 1578070 - Rename ClientOpenWindowInCurrentProcess and unskip test_openWindow.html, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D65232

--HG--
extra : moz-landing-system : lando
2020-03-10 20:27:49 +00:00
Mike Shal
4017368b2f Bug 1620744 - Use py3_action for cases that already support it; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65846

--HG--
extra : moz-landing-system : lando
2020-03-10 20:19:13 +00:00
Daniel Varga
09acd57d19 Backed out 13 changesets (bug 1620744) for causing diffoscope failures firefox/browser/chrome/browser/content/browser/built_in_addons.json
CLOSED TREE

Backed out changeset 6beda54bcb9b (bug 1620744)
Backed out changeset a1e97f0b91ef (bug 1620744)
Backed out changeset b8faa0184d4f (bug 1620744)
Backed out changeset 3bc8fda68107 (bug 1620744)
Backed out changeset 8e95b21b2ae3 (bug 1620744)
Backed out changeset 1de09de1a802 (bug 1620744)
Backed out changeset 622a2f7414fa (bug 1620744)
Backed out changeset 3372c9ab721c (bug 1620744)
Backed out changeset 0997313a9f99 (bug 1620744)
Backed out changeset 2fa34749bbfa (bug 1620744)
Backed out changeset 6d597d2eb792 (bug 1620744)
Backed out changeset 78e78f7c7b26 (bug 1620744)
Backed out changeset 6e4d85b19f88 (bug 1620744)
2020-03-10 21:13:18 +02:00
Mike Shal
a1ea58eb94 Bug 1620744 - Use py3_action for cases that already support it; r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D65846

--HG--
extra : moz-landing-system : lando
2020-03-09 22:02:22 +00:00
Aaron Klotz
5625e42498 Bug 1608302: Part 3 - Update the content process's service name in ContentDelgateTest; r=geckoview-reviewers,snorp
We'll want to make some changes to this test when we enable e10s-multi by
default, but for now we just need to update the name of the single content
process to reflect the naming changes that were done in part 1 of this
patch series.

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

--HG--
extra : moz-landing-system : lando
2020-03-10 16:31:47 +00:00
Aaron Klotz
55e1fadd51 Bug 1608302: Part 2 - Modify GeckoProcessManager to support multiple content processes; r=geckoview-reviewers,snorp
We change a lot of things in this patch:

* `ChildConnection` now inherits from `ServiceAllocator.InstanceInfo`, which
  imbues the former with service allocation superpowers.

* We remove the `IBinder.linkToDeath` call and the `IBinder.DeathRecipient`
  callback; a close review of the service binding APIs (and the actual
  Android source code) clearly shows that
  `ServiceConnection.onServiceDisconnected` already performs that role.

* We also greatly simplify unbinding, as a successful `Context.unbindService`
  call does not require a subsequent `onServiceDisconnected` notification;
  The `ServiceConnection` callbacks should be thought of as pertaining to
  the acquisition and loss of `Binder` connections. On that note, to improve
  the clarity of what those callbacks do, we now implement them as
  `onBinderConnected` and `onBinderConnectionLost` overrides originating from
  `ServiceAllocator.InstanceInfo`.

* We add the `ConnectionManager` class which handles the organization of
  tracking which processes exist with which pid. Its public methods are named
  such that it should be very clear what their purposes are.

* This patch adds a minimal amount of priority management code to
  `ConnectionManager`. Right now we assume that everything is running at
  `PriorityLevel.FOREGROUND` (i.e. `Context.BIND_IMPORTANT`). This will be
  further improved in bug 1620145.

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

--HG--
extra : moz-landing-system : lando
2020-03-10 16:35:13 +00:00
Aaron Klotz
26619139b9 Bug 1608302: Part 1 - Modify service definitions to support multiple content processes; r=geckoview-reviewers,snorp
For testing purposes, we'll only support 3 at the moment.

Note that this does not materially affect our test builds, as e10s-multi is
still govered by the `dom.ipc.processCount` Gecko pref.

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

--HG--
extra : moz-landing-system : lando
2020-03-10 16:31:51 +00:00