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

3654 Коммитов

Автор SHA1 Сообщение Дата
Eugen Sawin 434f165a88 Bug 1691819 - [1.7] Extend the Autocomplete API to support credit cards. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D106695
2021-04-12 21:57:15 +00:00
Agi Sferro a208f94178 Bug 1567341 - Initialize SafeBrowsing in geckoview.js. r=esawin
We don't need to initialize SafeBrowsing _immediately_ at startup and we can
wait until the InitLater stage.

This has the added benefit of not crashing xpcshell-test which doesn't have
SafeBrowsing support.

Differential Revision: https://phabricator.services.mozilla.com/D106200
2021-03-24 21:49:33 +00:00
Alexandru Michis 497409d76e Backed out 24 changesets (bug 1567341) for causing xpcshell failures in test_telemetry.js
CLOSED TREE

Backed out changeset deb795c7d0ed (bug 1567341)
Backed out changeset 62d24a3e5e33 (bug 1567341)
Backed out changeset 1185cabd94e0 (bug 1567341)
Backed out changeset 73a4ae419261 (bug 1567341)
Backed out changeset b6eb111329f3 (bug 1567341)
Backed out changeset 0dc0bfedc042 (bug 1567341)
Backed out changeset 9dca635e41d7 (bug 1567341)
Backed out changeset c34928580933 (bug 1567341)
Backed out changeset f9ba384bb407 (bug 1567341)
Backed out changeset ec25c2df380e (bug 1567341)
Backed out changeset 9e8ea542b51e (bug 1567341)
Backed out changeset 3dc62863a028 (bug 1567341)
Backed out changeset 6c104f865540 (bug 1567341)
Backed out changeset c422ca4207ea (bug 1567341)
Backed out changeset e3df748ed62f (bug 1567341)
Backed out changeset 9d1f27796a97 (bug 1567341)
Backed out changeset 1d93ba23f809 (bug 1567341)
Backed out changeset 55652f6af6ed (bug 1567341)
Backed out changeset 9fb892955a88 (bug 1567341)
Backed out changeset 1cdd95c43416 (bug 1567341)
Backed out changeset 5a839d5e3e33 (bug 1567341)
Backed out changeset ea84b5749a27 (bug 1567341)
Backed out changeset dcb1ae146475 (bug 1567341)
Backed out changeset d72accc274ac (bug 1567341)
2021-03-24 23:37:43 +02:00
Agi Sferro 84add96ac7 Bug 1567341 - Initialize SafeBrowsing in geckoview.js. r=esawin
We don't need to initialize SafeBrowsing _immediately_ at startup and we can
wait until the InitLater stage.

This has the added benefit of not crashing xpcshell-test which doesn't have
SafeBrowsing support.

Differential Revision: https://phabricator.services.mozilla.com/D106200
2021-03-24 20:19:56 +00:00
Mark Banner 3ef6acac59 Bug 1608272 - Remove 'this' as the second argument to 'ChromeUtils.import', use object destructuring instead (application changes). r=geckoview-reviewers,Gijs,agi
Differential Revision: https://phabricator.services.mozilla.com/D104684
2021-02-11 22:02:15 +00:00
Mark Banner e3ee71f734 Bug 1687235 - Enable ESLint rule no-setter-return for mobile/. r=agi
Differential Revision: https://phabricator.services.mozilla.com/D102156
2021-01-26 13:44:11 +00:00
Brindusan Cristian 70ab748bed Backed out 5 changesets (bug 1687235) for mochitest failures at test_menulist_null_value.xhtml. CLOSED TREE
Backed out changeset 638c802ca1d1 (bug 1687235)
Backed out changeset ec830b771bce (bug 1687235)
Backed out changeset a7c933ddecfd (bug 1687235)
Backed out changeset c36493fb0599 (bug 1687235)
Backed out changeset 6eb33ad5d460 (bug 1687235)
2021-01-26 10:58:43 +02:00
Mark Banner 94aaf448b5 Bug 1687235 - Enable ESLint rule no-setter-return for mobile/. r=agi
Depends on D102155

Differential Revision: https://phabricator.services.mozilla.com/D102156
2021-01-19 17:03:57 +00:00
Magnus Melin e4574c7ab0 Bug 1524836 - Move new HTML about:config page from browser to toolkit. r=fluent-reviewers,preferences-reviewers,geckoview-reviewers,Gijs,agi
Unbitrot and change strategy for geckoview: now map about:config directly in nsAboutRecirector.cpp

Differential Revision: https://phabricator.services.mozilla.com/D25938
2021-01-26 00:27:56 +00:00
Edgar Chen 48c01f0a8b Bug 1688105 - Part 2: Get rid of dom.w3c_pointer_events.enabled; r=smaug
Depends on D102668

Differential Revision: https://phabricator.services.mozilla.com/D102669
2021-01-25 16:22:44 +00:00
Edgar Chen ca799a4ad8 Bug 1688105 - Part 1: Get rid of dom.w3c_pointer_events.multiprocess.android.enabled; r=geckoview-reviewers,smaug,agi
Differential Revision: https://phabricator.services.mozilla.com/D102668
2021-01-22 16:40:13 +00:00
Emilio Cobos Álvarez cd99d52bde Bug 1673683 - Copy activeness status in CanonicalBrowsingContext::ReplacedBy, instead of handling it on consumers. r=nika,agi
Differential Revision: https://phabricator.services.mozilla.com/D102220
2021-01-20 15:09:09 +00:00
smolnar 1182b67f0f Backed out changeset 8e3490247126 (bug 1673683) for causing bc failures in browser_aboutNewTab_bookmarksToolbar.js CLOSED TREE 2021-01-20 15:17:08 +02:00
Emilio Cobos Álvarez a3f5fa882e Bug 1673683 - Copy activeness status in CanonicalBrowsingContext::ReplacedBy, instead of handling it on consumers. r=nika,agi
Differential Revision: https://phabricator.services.mozilla.com/D102220
2021-01-20 12:16:20 +00:00
smolnar a905f86ac5 Merge autoland to mozilla-central. a=merge 2021-01-20 11:49:57 +02:00
smolnar b3bcdd2462 Backed out changeset ae3db166c985 (bug 1673683) for causing empty pinned tabs with fission (bug 1687616). a=backout DONTBUILD 2021-01-20 11:46:11 +02:00
Emilio Cobos Álvarez 199530f89a Bug 1673683 - Copy activeness status in CanonicalBrowsingContext::ReplacedBy, instead of handling it on consumers. r=nika,agi
Differential Revision: https://phabricator.services.mozilla.com/D102220
2021-01-19 17:21:24 +00:00
Anny Gakhokidze 3ae9a2f63d Bug 1630908 - Part 1: Pass OriginAttributes to be included with remote type, r=nika,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D101073
2021-01-19 22:23:29 +00:00
Emilio Cobos Álvarez f4c5f128e9 Bug 1635914 - Remove GeckoView workaround. r=agi
Differential Revision: https://phabricator.services.mozilla.com/D99581
2020-12-15 18:28:44 +00:00
Agi Sferro 73923d06c0 Bug 1673316 - Ensure docShellIsActive is preserved when switching process. r=snorp
I'm not a fan of accessing private bits like `docShellIsActive` in tests like
that but it's both:

1) very important, if we don't correctly activate docShell performance will be
   very poor

2) stable, this API is not likely to change, and if it changes it
   should be easy to get whatever the replacement is

Differential Revision: https://phabricator.services.mozilla.com/D94874
2020-10-27 18:41:58 +00:00
Agi Sferro 36ba3257a5 Bug 1650118: Part 8 - Remove useMultiprocess; r=geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D92481
2020-10-27 16:43:32 +00:00
Agi Sferro 1c56792626 Bug 1648156 - Migrate GeckoViewSelectionActionChild to actor. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D94648
2020-10-27 16:18:25 +00:00
Razvan Maries f3f6721caa Backed out 8 changesets (bug 1650118) for wpt failures on inside-dedicated-worker.html. CLOSED TREE
Backed out changeset ab6218dd84f5 (bug 1650118)
Backed out changeset a99d1aae6e2e (bug 1650118)
Backed out changeset ed357b8bb07e (bug 1650118)
Backed out changeset cd5155e732d9 (bug 1650118)
Backed out changeset 63cc752924f2 (bug 1650118)
Backed out changeset 7f0a281a399e (bug 1650118)
Backed out changeset 0fd77fef3c95 (bug 1650118)
Backed out changeset f397e86fd61e (bug 1650118)
2020-10-27 18:39:11 +02:00
Agi Sferro dfaa438b97 Bug 1650118: Part 8 - Remove useMultiprocess; r=geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D92481
2020-10-26 23:09:49 +00:00
Ricky Stewart 02a7b4ebdf Bug 1654103: Standardize on Black for Python code in `mozilla-central`.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Bogdan Tara da1098d4aa Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Agi Sferro 8514df4ea8 Bug 1672262 - Disable modules on processSwitch only if they have frameScripts. r=snorp
This also fixes a bug where we send an extra `about:blank` event when switching
process.

Differential Revision: https://phabricator.services.mozilla.com/D94370
2020-10-23 21:08:07 +00:00
Agi Sferro 41eabac0c4 Bug 1672262 - Removed unused onDestroyBrowser. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D94368
2020-10-23 21:08:02 +00:00
Ricky Stewart c0cea3b0fa Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Dorel Luca 1ff59cb7a3 Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Ricky Stewart 50762dacab Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +00:00
Agi Sferro 07a1be1097 Bug 1646810 - Use DocumentChannel process switching. r=nika,owlish
Differential Revision: https://phabricator.services.mozilla.com/D93866
2020-10-20 16:14:33 +00:00
Agi Sferro 28911b048d Bug 1646810 - HistoryInParent workaround for SessionStateAggregator. r=esawin
This is a temporary workaround so that we can test Fission on GeckoView without
implementiong SessionStateAggregator, which needs to be moved to the parent
since Fission implies HistoryInParent.

Differential Revision: https://phabricator.services.mozilla.com/D93865
2020-10-20 16:14:36 +00:00
Agi Sferro 005c753e3f Bug 1665068 - Preserve layers for inactive GV windows. r=jnicol,snorp
Differential Revision: https://phabricator.services.mozilla.com/D93816
2020-10-19 18:28:49 +00:00
Agi Sferro fb84d4b14d Bug 1671184 - Don't send GeckoView settings to child processes. r=snorp
Now that GeckoViewSettingChild is an actor, nobody listens to settings in the
child anymore.

Differential Revision: https://phabricator.services.mozilla.com/D93512
2020-10-14 17:26:02 +00:00
Agi Sferro e73521ae44 Bug 1670125 - Migrate GeckoViewPromptChild to Actor. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D93028
2020-10-13 17:59:22 +00:00
Agi Sferro 96d703076c Bug 1648155 - Migrate GeckoViewScrollChild to Actor. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D93017
2020-10-13 17:59:41 +00:00
Agi Sferro 702d3f2721 Bug 1667179 - Initialize OneCRL when GeckoView starts. r=snorp,jcj
Differential Revision: https://phabricator.services.mozilla.com/D93250
2020-10-13 16:57:32 +00:00
lonocvb 803b368879 Bug 1669158 - Fix the offset of nested iframe by considering the border and padding size. r=mats,geckoview-reviewers,TYLin,agi
Differential Revision: https://phabricator.services.mozilla.com/D92375
2020-10-13 05:02:26 +00:00
Agi Sferro 41821739e4 Bug 1648157 - Migrate GeckoViewSettingsChild to Actor. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D92485
2020-10-09 17:32:04 +00:00
Gijs Kruitbosch 632a61a42f Bug 1668586 - stop messing with web progress listeners when changing remoteness, r=mattwoodrow,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D92514
2020-10-07 20:39:33 +00:00
Eugen Sawin 4730cbf48f Bug 1647522 - [1.0] Dispatch onFullscreen without metadata when there is an existing media session. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D91476
2020-10-01 13:30:53 +00:00
Eugen Sawin 0f6df7df2b Bug 1666609 - [1.0] Fix undefined function call in onFullscreen handling. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D91054
2020-09-25 14:17:29 +00:00
Agi Sferro 4eec0c20b2 Bug 1648154 - Move GeckoViewProgressChild to actor. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D89508
2020-09-12 02:39:36 +00:00
Agi Sferro f98d1aa2d2 Bug 1648154 - Forward child actor messages to the relevant module. r=esawin
This patch tightens the coupling between the parent module and the child
actors.

Each parent module will receive messages from the corresponding child actors
whenever the parent actor does not define a message handler.

The parent actor also has the option to handle some messages and delegate the
rest by calling `super.receiveMessage`.

The idea is that every message that can be handled within the browsingContext
should be handled in the parent actor, while everything that needs context
across browsing contexts (e.g. page navigation listeners) should be handled in
the parent module.

Differential Revision: https://phabricator.services.mozilla.com/D89506
2020-09-12 02:39:32 +00:00
James Willcox b8fb1213a4 Bug 1662528 - Make ContentDelegate.onCloseRequest() work again r=geckoview-reviewers,agi
This also adds a test.

Differential Revision: https://phabricator.services.mozilla.com/D89026
2020-09-02 20:02:52 +00:00
Mihai Alexandru Michis 202f4a23fc Backed out changeset 2f0f44bd9758 (Bug 1662528) for causing failures in browsers/the-window-object/*
CLOSED TREE
2020-09-02 21:22:13 +03:00
Agi Sferro a70a754e72 Bug 1662327 - Use pagetitlechanged instead of DOMTitleChanged. r=esawin,droeh
Differential Revision: https://phabricator.services.mozilla.com/D89086
2020-09-02 15:31:54 +00:00
James Willcox 6fbeb84e24 Bug 1662528 - Make ContentDelegate.onCloseRequest() work again r=geckoview-reviewers,agi
This also adds a test.

Differential Revision: https://phabricator.services.mozilla.com/D89026
2020-09-02 01:53:20 +00:00
Agi Sferro 672892c504 Bug 1661480 - Restore scrolling position and form data. r=droeh
When migrating RestoreState to actors we didn't consider that the child actor
gets recreated at every navigation, as its lifetime is tied to the inner
window.

This means that restoring state in one step is not possible, as restoring the
history will trigger a navigation from `about:blank` to the restored page.

To achieve this, we split restoring in two steps and we keep the state on the
parent actor instead of the child.

We move the restoring logic to a newly added GeckoViewContent parent actor,
which is more readibly accessible from both geckoview.js and
GeckoViewContent.jsm.

Differential Revision: https://phabricator.services.mozilla.com/D88637
2020-08-28 20:19:44 +00:00