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

1125 Коммитов

Автор SHA1 Сообщение Дата
Agi Sferro fb2e2aaa8e Bug 1604222 - Implement disable(APP_DISABLED) for WebExtension. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D59223

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

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

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

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

--HG--
extra : moz-landing-system : lando
2020-01-13 14:09:12 +00:00
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 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
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
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
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
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 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
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
Noemi Erli e6341c6f8c Backed out changeset d72ce5d90b7c (bug 1602565) for causing Android mochites failures CLOSED TREE 2019-12-12 20:20:02 +02: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
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
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
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 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
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 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
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
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
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 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
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
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
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
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 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
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 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 049a7c667b Bug 1530402 - Remove Fennec's {Browser,Page} Action implementation. r=snorp
We're going to replace this implementation from scratch so we remove it here to
avoid a confusing diff.

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

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

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

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

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

--HG--
rename : toolkit/components/extensions/schemas/browser_action.json => browser/components/extensions/schemas/browser_action.json
rename : toolkit/components/extensions/schemas/page_action.json => browser/components/extensions/schemas/page_action.json
2019-11-15 05:48:23 +02:00
Agi Sferro d39cf52795 Bug 1530402 - Implement {Browser,Page}Action for GeckoView. r=snorp,mixedpuppy,esawin
Design doc: https://docs.google.com/document/d/1XJuKk9Hm_2RNbX8KRcyUOXTaELBWYMyXBUchz15OElY

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

--HG--
rename : browser/components/extensions/schemas/browser_action.json => toolkit/components/extensions/schemas/browser_action.json
rename : browser/components/extensions/schemas/page_action.json => toolkit/components/extensions/schemas/page_action.json
extra : moz-landing-system : lando
2019-11-14 19:08:46 +00:00
Agi Sferro 86a2866244 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-14 19:08:35 +00:00
Csoregi Natalia 4cf34e2666 Backed out 13 changesets (bug 1530402, bug 1533156) for multiple failures e.g columnrule-linestyles.html and test_composite.html. CLOSED TREE
Backed out changeset 9e55fee783ff (bug 1530402)
Backed out changeset f6af9d6a5482 (bug 1530402)
Backed out changeset bf09025d6f98 (bug 1530402)
Backed out changeset 9717ba255826 (bug 1530402)
Backed out changeset e34768ee01db (bug 1530402)
Backed out changeset b540d7b34ef6 (bug 1530402)
Backed out changeset 126af041394b (bug 1530402)
Backed out changeset cf16e02e62cd (bug 1530402)
Backed out changeset 3638fcff5bed (bug 1530402)
Backed out changeset 9630bed0ca2c (bug 1530402)
Backed out changeset 1aa5898efa5f (bug 1530402)
Backed out changeset 7462bbe4e676 (bug 1533156)
Backed out changeset 536a4cac3ffe (bug 1530402)

--HG--
rename : toolkit/components/extensions/schemas/browser_action.json => browser/components/extensions/schemas/browser_action.json
rename : toolkit/components/extensions/schemas/page_action.json => browser/components/extensions/schemas/page_action.json
2019-11-14 03:46:37 +02:00
Agi Sferro 644a663e7d 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-13 20:29:15 +00:00
Agi Sferro 2f2d8db217 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-13 20:28:58 +00:00
Eugen Sawin 0d2c69ca71 Bug 1591462 - [2.1] Combine autofill mechanics in Java API. r=snorp,geckoview-reviewers,droeh
Differential Revision: https://phabricator.services.mozilla.com/D50631

--HG--
extra : moz-landing-system : lando
2019-11-11 17:22:33 +00:00
James Willcox fbc8a04d5f Bug 1555337 - Add `LoadRequest#hasUserGesture` r=geckoview-reviewers,rbarker,agi
This uses `Document.hasValidTransientUserGestureActivation` to expose
gesture for use in the `onLoadRequest()` delegate method in GeckoView,
allowing apps to know if a load was initiated by a user.

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

--HG--
extra : moz-landing-system : lando
2019-11-05 22:53:30 +00:00
Gijs Kruitbosch 00778dd54e Bug 1591212 - make webchannel work with fission, r=vladikoff,mconley
Differential Revision: https://phabricator.services.mozilla.com/D51214

--HG--
rename : toolkit/modules/WebChannel.jsm => toolkit/actors/WebChannelParent.jsm
rename : browser/base/content/test/general/browser_web_channel.js => toolkit/modules/tests/browser/browser_web_channel.js
rename : browser/base/content/test/general/browser_web_channel.html => toolkit/modules/tests/browser/file_web_channel.html
rename : browser/base/content/test/general/browser_web_channel_iframe.html => toolkit/modules/tests/browser/file_web_channel_iframe.html
extra : moz-landing-system : lando
2019-11-02 00:39:35 +00:00
Dylan Roeh 0bbded0263 Bug 1588782 - Fix getWindowByName calls in GeckoViewContentBlockingController.jsm r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D50509

--HG--
extra : moz-landing-system : lando
2019-10-24 22:07:36 +00:00
Neil Deakin 7cbc074da1 Bug 1567175, rename LoginManagerContent to LoginManagerChild, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D47824

--HG--
rename : toolkit/components/passwordmgr/LoginManagerContent.jsm => toolkit/components/passwordmgr/LoginManagerChild.jsm
extra : moz-landing-system : lando
2019-10-21 18:17:50 +00:00
Neil Deakin 3302428083 Bug 1567175, make LoginManagerContent and LoginManagerParent JS classes,r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D47823

--HG--
extra : moz-landing-system : lando
2019-10-21 18:17:43 +00:00
James Willcox d45e43febe Bug 1577003 - Make naming consistent in GeckoView autofill bits r=geckoview-reviewers,agi,esawin
Differential Revision: https://phabricator.services.mozilla.com/D48066

--HG--
rename : mobile/android/modules/geckoview/GeckoViewAutoFill.jsm => mobile/android/modules/geckoview/GeckoViewAutofill.jsm
extra : moz-landing-system : lando
2019-10-04 17:55:54 +00:00
Randall E. Barker 232be7b92d Bug 1583265 - Add GeckoSession.purgeHistory() r=geckoview-reviewers,snorp,droeh
Differential Revision: https://phabricator.services.mozilla.com/D47137

--HG--
extra : moz-landing-system : lando
2019-09-26 15:18:59 +00:00
Eitan Isaacson 885a031613 Bug 1564549 - Remove AccessFu. r=geckoview-reviewers,yzen,snorp
Differential Revision: https://phabricator.services.mozilla.com/D45604

--HG--
extra : moz-landing-system : lando
2019-09-24 19:28:28 +00:00
Noemi Erli ecdbbb2a1f Backed out 8 changesets (bug 1564549) for causing failures in browser_all_files_referenced.js CLOSED TREE
Backed out changeset a6b83802832c (bug 1564549)
Backed out changeset 7f38c6ddd009 (bug 1564549)
Backed out changeset 15a754fb192e (bug 1564549)
Backed out changeset 34441585469f (bug 1564549)
Backed out changeset aada27f6ad6e (bug 1564549)
Backed out changeset 103dbf465704 (bug 1564549)
Backed out changeset c38e72058869 (bug 1564549)
Backed out changeset aca91e9add16 (bug 1564549)
2019-09-24 02:38:39 +03:00
Eitan Isaacson b7427e24a9 Bug 1564549 - Remove AccessFu. r=geckoview-reviewers,yzen,snorp
Differential Revision: https://phabricator.services.mozilla.com/D45604

--HG--
extra : moz-landing-system : lando
2019-09-23 21:07:21 +00:00
Agi Sferro ebe6d184ab Bug 1570115 - Move LoadURIDelegate to Actor. r=kmag,snorp
Differential Revision: https://phabricator.services.mozilla.com/D44051

--HG--
extra : moz-landing-system : lando
2019-09-20 18:15:25 +00:00
Neil Deakin 9a9e65a7e5 Bug 1553384, find should iterate over each frame within a document in the parent process to allow out-of-process frames to be searched through, r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D41224

--HG--
extra : moz-landing-system : lando
2019-09-17 23:28:41 +00:00
Dylan Roeh d53f00ee8b Bug 1580201 - Expose ContentBlockingLog to GV. r=geckoview-reviewers,snorp,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D45350

--HG--
extra : moz-landing-system : lando
2019-09-16 13:53:24 +00:00
Andreea Pavel c0862209da Backed out changeset 7fa60ca9bdb5 (bug 1580201) for ESlint failure on a CLOSED TREE 2019-09-16 05:24:47 +03:00
Dylan Roeh 708b155955 Bug 1580201 - Expose ContentBlockingLog to GV. r=geckoview-reviewers,snorp,Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D45350

--HG--
extra : moz-landing-system : lando
2019-09-16 01:46:52 +00:00
Ehsan Akhgari fcbe4c45aa Bug 1573238 - Provide a minimal BrowserUsageTelemetry.jsm module in GeckoView that implements nsIBrowserUsage; r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D45428

--HG--
extra : moz-landing-system : lando
2019-09-10 20:52:47 +00:00
Razvan Maries 87792dbd62 Backed out changeset 746c872d6242 (bug 1573238) for ES Lint failure. CLOSED TREE 2019-09-10 23:45:24 +03:00
Ehsan Akhgari 0385a52dd3 Bug 1573238 - Provide a minimal BrowserUsageTelemetry.jsm module in GeckoView that implements nsIBrowserUsage; r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D45428

--HG--
extra : moz-landing-system : lando
2019-09-10 19:28:24 +00:00
Elliot Stirling 73adec6cbf Bug 1567549 - Added overloads to GeckoSession.loadUri() that accept additional HTTP request headers r=geckoview-reviewers,snorp,mayhemer
Adds overloads to GeckoSession.loadUri() that accept additional HTTP request headers

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

--HG--
extra : moz-landing-system : lando
2019-09-09 15:59:13 +00:00
Dylan Roeh 9a70aa2560 Bug 1557009 - Add ContentBlockingController to GeckoSession to allow managing exceptions list for content blocking. r=snorp,geckoview-reviewers,Ehsan,agi
Differential Revision: https://phabricator.services.mozilla.com/D43758

--HG--
extra : moz-landing-system : lando
2019-09-06 17:21:16 +00:00
arthur.iakab a85c15b134 Backed out changeset dce44ccda93f (bug 1557009) for causing android lints failure on ContentBlockingController.java CLOSED TREE 2019-09-06 18:53:35 +03:00
Dylan Roeh 5ee7c5e622 Bug 1557009 - Add ContentBlockingController to GeckoSession to allow managing exceptions list for content blocking. r=snorp,geckoview-reviewers,Ehsan,agi
Differential Revision: https://phabricator.services.mozilla.com/D43758

--HG--
extra : moz-landing-system : lando
2019-09-06 15:14:36 +00:00
James Willcox 17531c0400 Bug 1343678 - Add WebPush support to GeckoView r=jcj,lina,agi,geckoview-reviewers,droeh,mt
Differential Revision: https://phabricator.services.mozilla.com/D41290

--HG--
extra : moz-landing-system : lando
2019-09-04 21:25:44 +00:00
Noemi Erli 478b1751c7 Backed out 5 changesets (bug 1343678) for causing multiple web-platform failures CLOSED TREE
Backed out changeset 4b77646bc788 (bug 1343678)
Backed out changeset 7396789341b1 (bug 1343678)
Backed out changeset 85526faefe6d (bug 1343678)
Backed out changeset 07b757a21222 (bug 1343678)
Backed out changeset 3551cc55620d (bug 1343678)
2019-08-30 00:36:40 +03:00
James Willcox fe4b02a3cc Bug 1343678 - Add WebPush support to GeckoView r=jcj,lina,agi,geckoview-reviewers,droeh,mt
Differential Revision: https://phabricator.services.mozilla.com/D41290

--HG--
extra : moz-landing-system : lando
2019-08-29 18:59:31 +00:00
Elliot Stirling 650412e66c Bug 1521094 - Basic API for handling nsIHangReport in GeckoView r=geckoview-reviewers,snorp
Hooks up slow script reporting to the ContentDelegate. Allowing slow script prompts to be implemented.

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

--HG--
extra : moz-landing-system : lando
2019-08-29 15:51:55 +00:00
Dorel Luca 547786f1cd Backed out 3 changesets (bug 1343678) for WPT failures on Android. CLOSED TREE
Backed out changeset 619e7838ebfd (bug 1343678)
Backed out changeset 5010684cdca4 (bug 1343678)
Backed out changeset b01343e4c2eb (bug 1343678)
2019-08-28 23:09:08 +03:00
James Willcox 746abdeae8 Bug 1343678 - Add WebPush support to GeckoView r=jcj,lina,agi,geckoview-reviewers,droeh,mt
Differential Revision: https://phabricator.services.mozilla.com/D41290

--HG--
extra : moz-landing-system : lando
2019-08-28 14:21:47 +00:00
Noemi Erli 15323a790b Backed out 3 changesets (bug 1343678) for breaking Android web platform tests CLOSED TREE
Backed out changeset c22a725950f0 (bug 1343678)
Backed out changeset 0bef62794abb (bug 1343678)
Backed out changeset 37c92bba3e1c (bug 1343678)
2019-08-24 01:13:36 +03:00
James Willcox fa77c48a55 Bug 1343678 - Add WebPush support to GeckoView r=jcj,lina,agi,geckoview-reviewers,droeh,mt
Differential Revision: https://phabricator.services.mozilla.com/D41290

--HG--
extra : moz-landing-system : lando
2019-08-23 16:29:38 +00:00
Thomas Nguyen bbd6f51a56 Bug 1528697 - Add cenum referrerpolicy in ReferrerInfo.idl r=ckerschb,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D41955

--HG--
extra : moz-landing-system : lando
2019-08-21 13:28:23 +00:00
chrmod 3aafa3960e Bug 1562844 - GeckoView webextensions tabs and webnavigation listeners support r=robwu,rpl,snorp
This changes provide basic support for webextenion tabs and webNavigation listeners by implementing missing objects on which Fennec implementation was relying.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 18:59:55 +00:00
Mark Banner b1970e6a2f Bug 1571466 - Cleanup unnecessary ESLint global definitions. r=mossop
These are raised as redeclares or unused variables by ESLint 6.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 07:11:56 +00:00
Cosmin Sabou 4569ff802f Backed out changeset 2a9a7371947a (bug 1562844) for Android mochitest failures on test_ext_tabs_onUpdated. CLOSED TREE 2019-08-12 19:18:01 +03:00
chrmod 25488b089e Bug 1562844 - GeckoView webextensions tabs and webnavigation listeners support r=robwu,rpl,snorp
This changes provide basic support for webextenion tabs and webNavigation listeners by implementing missing objects on which Fennec implementation was relying.

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

--HG--
extra : moz-landing-system : lando
2019-08-12 12:51:52 +00:00
Dylan Roeh 8ac0d59281 Bug 1567268 - [1.0] Report all ETP-related blocking and non-blocking. r=geckoview-reviewers,snorp,rbarker
Differential Revision: https://phabricator.services.mozilla.com/D40694

--HG--
rename : mobile/android/modules/geckoview/GeckoViewContentBlocking.jsm => mobile/android/chrome/geckoview/GeckoViewContentBlockingChild.js
extra : moz-landing-system : lando
2019-08-09 14:17:35 +00:00
Julian Descottes 3df7a88f3b Bug 1572390 - Split main.js in debugger-server and debugger-server-connection r=yulia,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D41009

--HG--
rename : devtools/server/main.js => devtools/server/debugger-server-connection.js
rename : devtools/server/main.js => devtools/server/debugger-server.js
extra : moz-landing-system : lando
2019-08-08 12:44:13 +00:00
Randall E. Barker 5911905e7c Bug 1571088 - Add LOAD_FLAGS_REPLACE_HISTORY to GeckoSession LoadFlags r=geckoview-reviewers,snorp,droeh
Bug 1571088 - Add LOAD_FLAGS_REPLACE_HISTORY to GeckoSession LoadFlags

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

--HG--
extra : moz-landing-system : lando
2019-08-07 22:58:48 +00:00
Kris Maglione 22592538f5 Bug 1561015: Part 1 - Use BrowsingContext in window provider APIs. r=bzbarsky,mossop
This is the first step in making it possible to return remote WindowProxy
objects from window.open() and related APIs.

This patch also incidentally fixes a bug where getContentWindowOrOpenURI
returned the top-level browser window rather than the new content window when
passed OPEN_NEWWINDOW for the `aWhere` parameter. This was not the expected
behavior, and was a potentially major footgun for any new users who expected
to always get the content window for the URL they were loading, rather than
sometimes getting a chrome browser window instead.

For now, that case just returns null, which is only a minor footgun, rather
than the major one we had before.

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

--HG--
extra : moz-landing-system : lando
2019-08-02 20:48:33 +00:00
Grisha Kruglov 33327053e3 Bug 1570496 - Forward-compatible treatment of 'action' WebChannel payload param r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D40118

--HG--
extra : moz-landing-system : lando
2019-08-01 00:09:23 +00:00
Bogdan Tara 331634801e Backed out changeset bcdd64c29e02 (bug 1570496) for ES Lint failure on FxAccountsWebChannel.jsm CLOSED TREE 2019-08-01 02:44:24 +03:00
Grisha Kruglov b86d74ef84 Bug 1570496 - Forward-compatible treatment of 'action' WebChannel payload param r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D40118

--HG--
extra : moz-landing-system : lando
2019-07-31 23:01:22 +00:00
Grisha Kruglov eaeb821d6a Bug 1568605 - Send corrent Leanplum events during signin, signup and reconnect r=nalexander
This patch augments FxA messages sent to native code with just enough information that we are able
to differentiate between "signin", "signup" and "reconnect" events.

Corresponding Leanplum events are sent on the receiving end of the FxA messages.

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

--HG--
extra : moz-landing-system : lando
2019-07-31 18:28:25 +00:00
James Willcox 6c9d00461e Bug 1561913 - Correctly propagate referrer policy in GeckoView nsIBrowserDOMWindow impl r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D36617

--HG--
extra : moz-landing-system : lando
2019-07-29 15:34:45 +00:00
James Willcox 4274c61812 Bug 1561079 - Add a `GeckoSession.loadUri()` overload that takes a referring `GeckoSession` r=geckoview-reviewers,ckerschb,esawin,agi
Differential Revision: https://phabricator.services.mozilla.com/D36526

--HG--
extra : moz-landing-system : lando
2019-07-29 15:34:40 +00:00
Thomas Nguyen 180aa6b0a1 Bug 1566833 - Update to use ReferrerInfo in nsIWebBrowserChrome3 r=Gijs,snorp
Differential Revision: https://phabricator.services.mozilla.com/D38381

--HG--
extra : moz-landing-system : lando
2019-07-29 10:13:45 +00:00
chrmod 271cd169eb Bug 1565782 - Implement browser.tabs.remove for GeckoView webextensions APIs r=agi,robwu,rpl,geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D38216

--HG--
rename : mobile/android/geckoview/src/androidTest/assets/web_extensions/tabs/background.js => mobile/android/geckoview/src/androidTest/assets/web_extensions/tabs-create/background.js
rename : mobile/android/geckoview/src/androidTest/assets/web_extensions/tabs/manifest.json => mobile/android/geckoview/src/androidTest/assets/web_extensions/tabs-create/manifest.json
extra : moz-landing-system : lando
2019-07-26 20:26:47 +00:00
Coroiu Cristina 075c52994f Backed out 4 changesets (bug 1561079, bug 1561913) for mochitest failures at dom/base/test/test_bug375314.html on a CLOSED TREE
Backed out changeset 0d1eaf86253f (bug 1561913)
Backed out changeset 1d1be67a5950 (bug 1561079)
Backed out changeset 528a46ffe2af (bug 1561079)
Backed out changeset f562e67e38cf (bug 1561079)
2019-07-24 20:56:30 +03:00
James Willcox ffd5747f58 Bug 1561913 - Correctly propagate referrer policy in GeckoView nsIBrowserDOMWindow impl r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D36617

--HG--
extra : moz-landing-system : lando
2019-07-24 16:34:00 +00:00
James Willcox 3d039180df Bug 1561079 - Add a `GeckoSession.loadUri()` overload that takes a referring `GeckoSession` r=geckoview-reviewers,ckerschb,esawin,agi
Differential Revision: https://phabricator.services.mozilla.com/D36526

--HG--
extra : moz-landing-system : lando
2019-07-24 16:33:52 +00:00
Bogdan Tara e82c5fe738 Backed out 4 changesets (bug 1561079, bug 1561913) for apilint and checkstyle failures CLOSED TREE
Backed out changeset 50244d8132f9 (bug 1561913)
Backed out changeset 9abb44cca93b (bug 1561079)
Backed out changeset e6e23c902808 (bug 1561079)
Backed out changeset e48cf42b707f (bug 1561079)
2019-07-24 19:23:44 +03:00
James Willcox 83bfba712a Bug 1561913 - Correctly propagate referrer policy in GeckoView nsIBrowserDOMWindow impl r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D36617

--HG--
extra : moz-landing-system : lando
2019-07-24 15:48:02 +00:00
James Willcox b06b598252 Bug 1561079 - Add a `GeckoSession.loadUri()` overload that takes a referring `GeckoSession` r=geckoview-reviewers,ckerschb,esawin,agi
Differential Revision: https://phabricator.services.mozilla.com/D36526

--HG--
extra : moz-landing-system : lando
2019-07-24 15:48:00 +00:00
Bogdan Tara 6d06c40c7c Backed out 2 changesets (bug 1561079, bug 1561913) for apilint and checkstyle failures CLOSED TREE
Backed out changeset c21bf3dfa6e5 (bug 1561913)
Backed out changeset 77ef4f2e0a8d (bug 1561079)
2019-07-24 18:34:06 +03:00
James Willcox c6482d6bcf Bug 1561913 - Correctly propagate referrer policy in GeckoView nsIBrowserDOMWindow impl r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D36617

--HG--
extra : moz-landing-system : lando
2019-07-24 14:52:42 +00:00
James Willcox c0a84486f6 Bug 1561079 - Add a `GeckoSession.loadUri()` overload that takes a referring `GeckoSession` r=geckoview-reviewers,ckerschb,esawin,agi
Differential Revision: https://phabricator.services.mozilla.com/D36526

--HG--
extra : moz-landing-system : lando
2019-07-24 15:03:36 +00:00
Boris Zbarsky 3381384634 Bug 1568279. Remove some unnecessary QIs to nsIDOMChromeWindow. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D39066

--HG--
extra : moz-landing-system : lando
2019-07-23 19:08:55 +00:00
Eugen Sawin 54c69d2380 Bug 1501108 - [5.1] Ensure that the context ID string is safe for Gecko processing. r=Ehsan,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D38188

--HG--
extra : moz-landing-system : lando
2019-07-21 17:36:41 +00:00
Eugen Sawin 10b4aa39cc Bug 1501108 - [3.6] Extend StorageController API to delete session context data. r=baku,snorp,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D23732

--HG--
extra : moz-landing-system : lando
2019-07-21 17:20:19 +00:00
Eugen Sawin 532f60a55d Bug 1501108 - [1.7] Add GeckoView Session Context ID support. r=snorp,baku,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D19182

--HG--
extra : moz-landing-system : lando
2019-07-21 17:18:37 +00:00
Alvina Waseem bf830a7844 Bug 1557096 - Add ContentDelegate.onKill() to differentiate between content process crashes and kills. r=geckoview-reviewers,agi,snorp
Differential Revision: https://phabricator.services.mozilla.com/D35874

--HG--
extra : moz-landing-system : lando
2019-07-18 15:12:28 +00:00
Gurzau Raul 9e92bbfdc8 Backed out 2 changesets (bug 1557096, bug 1565410) for multiple regressions linked to Bug 1557096. a=backout CLOSED TREE
Backed out changeset d35d90d0322b (bug 1565410)
Backed out changeset 4629e855ea33 (bug 1557096)

--HG--
extra : amend_source : a32a416570e06b3905d482ebf313a0da21e53cb6
2019-07-17 00:07:39 +03:00
Alvina Waseem 485de70925 Bug 1557096 - Add ContentDelegate.onKill() to differentiate between content process crashes and kills. r=geckoview-reviewers,agi,snorp
Differential Revision: https://phabricator.services.mozilla.com/D35874

--HG--
extra : moz-landing-system : lando
2019-07-11 22:03:43 +00:00
Bogdan Tara 556047a14b Backed out changeset 81f121f3a7cb (bug 1557096) for ES lint failure on GeckoViewContent.jsm CLOSED TREE 2019-07-12 00:40:18 +03:00
Alvina Waseem 133133e12f Bug 1557096 - Add ContentDelegate.onKill() to differentiate between content process crashes and kills. r=geckoview-reviewers,agi,snorp
Differential Revision: https://phabricator.services.mozilla.com/D35874

--HG--
extra : moz-landing-system : lando
2019-07-11 18:34:55 +00:00
chrmod 8e1240dc4b Bug 1539144 - GeckoView extensions support chrome.tabs.create r=snorp,agi,geckoview-reviewers,robwu,rpl
Differential Revision: https://phabricator.services.mozilla.com/D32796

--HG--
rename : mobile/android/geckoview/src/androidTest/assets/web_extensions/messaging/background.js => mobile/android/geckoview/src/androidTest/assets/web_extensions/tabs/background.js
extra : moz-landing-system : lando
2019-07-11 11:35:25 +00:00
Brindusan Cristian 8594594498 Backed out changeset aebbb469f1d5 (bug 1539144) for ESlint failure at background.js:2:1 and checkstyle bustage. CLOSED TREE 2019-07-11 13:44:29 +03:00
chrmod eb49662142 Bug 1539144 - GeckoView extensions support chrome.tabs.create r=snorp,agi,geckoview-reviewers,robwu,rpl
Differential Revision: https://phabricator.services.mozilla.com/D32796

--HG--
rename : mobile/android/geckoview/src/androidTest/assets/web_extensions/messaging/background.js => mobile/android/geckoview/src/androidTest/assets/web_extensions/tabs/background.js
extra : moz-landing-system : lando
2019-07-11 10:18:02 +00:00
Randall E. Barker 0f6b776ba1 Bug 1556540 - Fix GeckoSession.loadData() so that it can load data URLs r=geckoview-reviewers,agi,esawin,snorp
Differential Revision: https://phabricator.services.mozilla.com/D37343

--HG--
extra : moz-landing-system : lando
2019-07-09 17:27:05 +00:00
Agi Sferro 68d3e0d0c1 Bug 1553515 - Always send navigation events for about:blank. r=snorp
Some background information on this change:

DocShell loads about:blank when first starting up. This initial load can be
avoided by setting `nodefaultsrc` on the browser element, but this will still
cause some load events related to `about:blank` to fire anyway, as they are
specified in the DOM spec (see e.g. bz's Comment #2 Bug 1447406). In particular
`onSecurityChange` and `onLocationChange` are still fired, `onPageStart` and
onPageStop` are not.

These messages are unreliable and sometimes do not fire, to unrestand why it's
helpful to look at a timeline of the events when starting up a GeckoSession.

page           about:blank ---------------------------------------------------------

nsDocShell     --- startup --- onPageStart --- onLocationChange --- onPageStop -----

busyState      idle ---------- busy ------------------------------------------ idle-
                ^           ^               ^                    ^               ^
geckoview.js   (0)         (1)             (2)                  (3)             (4)

geckoview.js loads in parallel with nsDocShell startup process (and loading of
about:blank). This means that consumers of GeckoView might start receiving
navigation events at any of the points marked with (0) - (4). E.g. if geckoview
starts up at (4) a consumer waiting for onPageStop for `about:blank` will
actually wait forever (this is what happens before this change for our tests).

As it can be seen there's not really a way to detect in which of the (0) - (4)
state DocShell is when starting up geckoview.js. Checking for the busy state is
not enough as an `idle` busy state might mean that we're in (0) or (4).
Furthermore a consumer of geckoview has no way to know which onPageStop
messages to wait for after an initial loadUri as e.g. the following is what
would happen if geckoview.js happens to startup at (3):

- loadUri(hello.html)
- onPageStop (for about:blank)
- onLoadRequest (for hello.html)

which confuses any code that just waits for onPageStop.

Desktop deals with this in `TabProgressListener.onStateChange` where the
initial `about:blank` navigation is ignored and fake events are triggered at a
convenient time.

To patch implements a very similar behavior for geckoview, we ignore the
initial `about:blank` `onLoadRequest` call, set `nodefaultsrc` so `onPageStart`
and `onPageStop` events don't fire and fire the above calls when the
`GeckoViewProgress` module has finished loading.

This makes `about:blank` events deterministic with the exception of reloading
an empty `GeckoSession`, which will often not fire any extra events. To account
for that we load a dummy html page before the tests that used to rely on this
behavior (which would actually fail occasionally due to the startup race
condition explained above).

This makes the tests pass reliably on x86_64 (20/20 runs passed in try).

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

--HG--
extra : moz-landing-system : lando
2019-07-08 21:08:32 +00:00
Jonathan Kingston 31441f82ea Bug 1560455 - rename CodebasePrincipal to ContentPrincipal. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35504

--HG--
extra : moz-landing-system : lando
2019-07-08 16:37:45 +00:00
Victor Porof 9e9be26a9b Bug 1561435 - Fix linting errors for mobile/, r=standard8
# ignore-this-changeset

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

--HG--
extra : source : 2072cc33ae8e2b64a761ece5ab32ce711d547c97
extra : intermediate-source : afb89fcad8e41f4f03ea5d16a7528002820b8305
2019-06-20 11:33:11 -07:00
Victor Porof e999ae1989 Bug 1561435 - Format mobile/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : eafb1052afc7712c969e57552da5affc63093e9e
2019-07-05 10:53:35 +02:00
Victor Porof b5a4cb3848 Bug 1558517 - Pre 3.0: Remove conflicting eslint rules, and turn on "curly: all" everywhere, r=standard8
Differential Revision: https://phabricator.services.mozilla.com/D34535

--HG--
extra : source : 74ed7ee773393d305c4e948a57a1b1e32b1f12e8
extra : intermediate-source : 403d0757d61683e0a85d0bb07768eb39fbd0af72
2019-06-28 17:14:01 +02:00
Eugen Sawin 81dd9a3a64 Bug 1559084 - [1.0] Fix wrong nsIClearDataService constant name for clearing push notifications. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D34859

--HG--
extra : moz-landing-system : lando
2019-06-13 11:17:20 +00:00
Boris Zbarsky 9de72a3ac6 Bug 1557793 part 2. Stop using [array] in nsIStringBundle. r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D34196

--HG--
extra : moz-landing-system : lando
2019-06-11 15:51:51 +00:00
Agi Sferro a641bc8da0 Bug 1554260 - Send WebExtension Page messages to GeckoSession. r=snorp
WebExtension pages introduce a case that was previously not possible: a script
with full WebExtension privileges that runs on a page with a GeckoSession
associated to it.

This breaks the assumption that all messages from a privileged context don't
have a GeckoSession associated to it. We fix this by checking if we can find an
eventDispatcher for the given window.

This also fixes the test which had the same wrong assumption.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 20:09:25 +00:00
Boris Zbarsky 5eb248348f Bug 1557847. Stop using [array] in nsIClipboard. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D34243

--HG--
extra : moz-landing-system : lando
2019-06-09 01:06:39 +00:00
Emilio Cobos Álvarez b6728cedb7 Bug 1553769 - Have a single way of requesting window focus and switching to a tab. r=NeilDeakin,snorp
Right now there's some duplicated code with the focus manager and the
DOMWindowFocus event.

Android didn't handle the new framefocusrequested event, so the test-cases in
bug 416771 still didn't work there.

I think using the focus manager codepath everywhere is preferable. I confirmed
manually that the stuff that sent DOMWindowFocus events still works as expected
with this patch (i.e., switching to the right tab when you click on a
notification, etc.).

This fixes it so that it works in Fennec, and it sends the focus events right in
GeckoView Example (i.e., we get here[1] properly).

The snippet that Snorp provided on IRC to implement the "bring activity to
front" stuff (`startActivity(getIntent())`) didn't actually work for me, but I
confirmed that the right message is sent when the focus is requested, and that
we get there.

[1]: https://searchfox.org/mozilla-central/rev/952521e6164ddffa3f34bc8cfa5a81afc5b859c4/mobile/android/geckoview_example/src/main/java/org/mozilla/geckoview_example/GeckoViewActivity.java#503

Depends on D32353

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

--HG--
extra : moz-landing-system : lando
2019-06-03 19:42:28 +00:00
Sean Feng 9be59499b0 Bug 1549519 - Add page reload telemetry probe for geckoview r=bdekoz,geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D32143

--HG--
extra : moz-landing-system : lando
2019-05-30 14:37:03 +00:00
Emily Toop da9b93a7f1 Bug 1554778 - Fetch dispatcher at the beginning of `handleRecordingDeviceEvents`. r=geckoview-reviewers,snorp
This is because in some circumstances, when navigating away from a page, the dispatcher is no longer present when trying to send the `GeckoView:MediaRecordingStatusChanged` causing the message not to be sent. Fetching the dispatcher earlier ensures that it is present at the point of message sending.

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

--HG--
extra : moz-landing-system : lando
2019-05-29 14:57:03 +00:00
chrmod aa9e661a42 Bug 1551377 - GeckoView unique tab id r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D32824

--HG--
extra : moz-landing-system : lando
2019-05-28 16:54:40 +00:00
Eugen Sawin 52bea1fda2 Bug 1553454 - [1.1] Only enable handling of CLEAR_HISTORY when Places is supported. r=baku
Differential Revision: https://phabricator.services.mozilla.com/D32473

--HG--
extra : moz-landing-system : lando
2019-05-27 11:09:50 +00:00
Liang-Heng Chen 9ff316fe67 Bug 1330467 - part 9. Use principal with mobile permissions; r=johannh,snorp
Differential Revision: https://phabricator.services.mozilla.com/D19930

--HG--
extra : moz-landing-system : lando
2019-05-26 17:00:54 +00:00
Emily Toop f00e577132 Bug 1549633 - Enable listening for `recording-device-events`. r=esawin,geckoview-reviewers,snorp
This is to allow us to detect the enabling and disabling of recording so that we can notify the embedding application of the change in status.

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

--HG--
extra : moz-landing-system : lando
2019-05-24 07:45:41 +00:00
Eugen Sawin c0069258a0 Bug 1489669 - [1.4] Add Storage Controller API. r=baku,snorp
Differential Revision: https://phabricator.services.mozilla.com/D32153

--HG--
extra : moz-landing-system : lando
2019-05-22 20:21:09 +00:00
Agi Sferro 92c0a96191 Bug 1553371 - Load moz-extension pages in extension principal. r=snorp
WebExtension can always open their respective WebExtension pages even when the
WebExtension page is not content accessible.

However, this is not true for `tabs.update`, which couldn't link to
WebExtension pages at all.

Similarly, a user should be able to open a WebExtension page directly by typing
the URL.

To fix the above problems we pass the correct `triggeringPrincipal` when
loading such URIs. This change also makes URI typed by the user not use the
`systemPrincipal` anymore but a more restrictive codebase principal local to
the page that's being typed to avoid unintended side-effects. This also makes
the triggering URI always the page for these privileged pages, so we need to
adjust some tests to account for that by loading unprivileged `http` pages
instead.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 19:20:54 +00:00
Agi Sferro 1324e8b036 Bug 1550877 - Use correct E10SUtils in GeckoViewNavigation. r=snorp
This fixes a crash in `browser.tabs.update` when used with WebExtension pages.

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

--HG--
extra : moz-landing-system : lando
2019-05-17 13:43:44 +00:00
Agi Sferro b6a082b167 Bug 1552328 - Add missing unregisterListener in GeckoViewProgress. r=droeh
Differential Revision: https://phabricator.services.mozilla.com/D31538

--HG--
extra : moz-landing-system : lando
2019-05-17 13:43:44 +00:00
Mihai Alexandru Michis 97df17e745 Backed out 11 changesets (bug 1330467) as requested by xeonchen on IRC. CLOSED TREE
Backed out changeset 0229d5353d50 (bug 1330467)
Backed out changeset 2f2308fe5747 (bug 1330467)
Backed out changeset 2cd09bae2bdf (bug 1330467)
Backed out changeset 2648f5bb1804 (bug 1330467)
Backed out changeset 4686eebd8962 (bug 1330467)
Backed out changeset b43fa07d5756 (bug 1330467)
Backed out changeset 35d96a4ff659 (bug 1330467)
Backed out changeset 6ac44130d2bb (bug 1330467)
Backed out changeset f939c61e051f (bug 1330467)
Backed out changeset 0ae215d91758 (bug 1330467)
Backed out changeset 1d48bdbb4035 (bug 1330467)
2019-05-17 16:19:06 +03:00
Narcis Beleuzu ac51017892 Backed out 2 changesets (bug 1550877, bug 1552328) for causing perma geckoview-junit failures on contentPortDisconnectFromApp
Backed out changeset 877ae9359a27 (bug 1550877)
Backed out changeset aee7bbc03bff (bug 1552328)
2019-05-17 10:50:50 +03:00
Agi Sferro bdf3d1a97c Bug 1550877 - Use correct E10SUtils in GeckoViewNavigation. r=snorp
This fixes a crash in `browser.tabs.update` when used with WebExtension pages.

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

--HG--
extra : moz-landing-system : lando
2019-05-17 04:10:53 +00:00
Agi Sferro 432633e493 Bug 1552328 - Add missing unregisterListener in GeckoViewProgress. r=droeh
Differential Revision: https://phabricator.services.mozilla.com/D31538

--HG--
extra : moz-landing-system : lando
2019-05-17 04:11:29 +00:00
Liang-Heng Chen 2c4d7cf8eb Bug 1330467 - part 9. Use principal with mobile permissions; r=johannh,snorp
Differential Revision: https://phabricator.services.mozilla.com/D19930

--HG--
extra : moz-landing-system : lando
2019-05-07 22:20:46 +00:00
Makoto Kato fcfbec0479 Bug 1538458 - Part 1. LoginManagerContent requires <input> or <input type="password"> element to recognize login form r=geckoview-reviewers,snorp
Actually, sample url has `<fieldset>` element, so LoginManagerContent cannot detects username field.

`LoginManagerContent.getUserNameAndPasswordFields` detects username field and password field when passing `<input>` element.  So we should pass password field if possible.

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

--HG--
extra : moz-landing-system : lando
2019-05-07 20:18:12 +00:00
Eugen Sawin d1db7a80be Bug 1545255 - [1.0] Use ReferrerInfo when loading URIs in GeckoView. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D29683

--HG--
extra : moz-landing-system : lando
2019-05-03 22:08:29 +00:00
Sebastian Hengst 3dd01e8232 Backed out 4 changesets (bug 1501108) for causing very frequent leaks in macOS debug wpt tests. a=backout
Backed out changeset 23a77e063257 (bug 1501108)
Backed out changeset 335cec0aacd8 (bug 1501108)
Backed out changeset 99ba286125d1 (bug 1501108)
Backed out changeset 8f2d511ad49f (bug 1501108)

--HG--
extra : rebase_source : 01925c24ac47b37135fcfebab8ae7e9876d5b90e
2019-04-29 17:39:42 +02:00
Ryan Hunt e9e7d608be Bug 1534395 - Rename nsITabChild to nsIBrowserChild. r=nika,mconley
Similarly to nsITabParent, TabChild is exposed to frontend code via nsITabChild. It's not clear what the future of this interface will be, but for now we can just rename it to nsIBrowserChild.

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

--HG--
rename : dom/interfaces/base/nsITabChild.idl => dom/interfaces/base/nsIBrowserChild.idl
extra : rebase_source : a6c42a661e35b19e46c60f6f6a6f3dab64c0a1bc
extra : histedit_source : 1eb475bd840bf37a3f86294685c9b3c250684e79
2019-04-09 18:15:02 -05:00
Ryan Hunt 3675f2449b Bug 1534395 - Rename nsITabParent to nsIRemoteTab. r=nika,mconley
nsITabParent is exposed to frontend code and is generally used as a representation of a remote tab. We could just rename the interface to nsIBrowserParent and worry about it later, but I think it's better to rename the interface to nsIRemoteTab so that we can later work on splitting the interface away from the PBrowser protocol.

Note: Some frontend code refers to a TabParentId. This commit renames this to RemoteTabId. We need to figure out the purpose of TabId with fission.

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

--HG--
rename : dom/interfaces/base/nsITabParent.idl => dom/interfaces/base/nsIRemoteTab.idl
extra : rebase_source : 9d8a1790a7bb10195ad063644d1a93d63b2afb72
2019-04-09 15:59:37 -05:00
Christoph Kerschbaumer 42672fde72 Bug 1544863: Explicitly pass csp to createContentWindow(). r=Gijs,baku
Differential Revision: https://phabricator.services.mozilla.com/D27871

--HG--
extra : moz-landing-system : lando
2019-04-23 14:37:40 +00:00
Dorel Luca facaf244e4 Backed out changeset 7d3f2f4c53be (bug 1544863) for eslint failure 2019-04-23 17:16:13 +03:00