Commit Graph

30458 Commits

Author SHA1 Message Date
Agi Sferro
bb4d979a00 Bug 1692246 - Remove dead code in GeckoScreenOrientation. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D104843
2021-02-11 22:05:48 +00:00
Agi Sferro
0bbf1ceff4 Bug 1692246 - Add menu item to collapse the GV view. r=aklotz
Differential Revision: https://phabricator.services.mozilla.com/D104842
2021-02-11 22:05:47 +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
Agi Sferro
891c91612b Bug 1533194 - Remove palette dependency and unused BitmapUtils. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D104576
2021-02-10 21:19:43 +00:00
Eugen Sawin
bf1b0ed525 Bug 1674528 - [1.0] Ignore redundant calls to onMetadata. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D104568
2021-02-10 00:25:33 +00:00
Dylan Roeh
650c5fb0ab Bug 1672478 - Add support for HTTPS-only mode to GeckoRuntimeSettings. r=geckoview-reviewers,agi,esawin
Differential Revision: https://phabricator.services.mozilla.com/D103128
2021-02-09 23:23:13 +00:00
Aaron Klotz
4bfcee5fa0 Bug 1691151: Derive ServiceAllocator.MAX_NUM_ISOLATED_CONTENT_SERVICES from build config; r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D104287
2021-02-08 16:43:33 +00:00
Agi Sferro
227fa1abcd Bug 1689745 - Throw ImageProcessingException in Image#getBitmap. r=aklotz,esawin
Differential Revision: https://phabricator.services.mozilla.com/D103527
2021-02-05 17:48:15 +00:00
Noemi Erli
4cfd96eecc Backed out changeset 0b901070bff8 (bug 1684923) for causing xpcshell failures 2021-02-05 06:37:25 +02:00
owlishDeveloper
7c4a3f5621 Bug 1684923 - Implement Web Extension downloads.onChanged event in GeckoView r=agi,robwu,geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D101377
2021-02-05 02:45:42 +00:00
Agi Sferro
138f68156c Bug 1674180 - Use the llvm-readobj from the build instead of the NDK. r=nalexander
The llvm-readobj in the NDK is not part of the same toolchain that is used to
build Gecko, and in some cases this difference causes the build to fail (e.g.
local ASAN builds trip into this).

To fix this we use the llvm-readobj from the clang directory, when available.

Differential Revision: https://phabricator.services.mozilla.com/D104117
2021-02-05 00:07:22 +00:00
Csoregi Natalia
77491eb133 Backed out changeset 0c965255e798 (bug 1689745) for causing lint failure on geckoview/Image.java. CLOSED TREE 2021-02-05 00:33:56 +02:00
Agi Sferro
90780fa3c1 Bug 1689745 - Throw ImageProcessingException in Image#getBitmap. r=aklotz,esawin
Differential Revision: https://phabricator.services.mozilla.com/D103527
2021-02-04 20:47:00 +00:00
Agi Sferro
1abeebbf81 Bug 1625593 - Move activeTab functionality to toolkit. r=robwu,esawin
Differential Revision: https://phabricator.services.mozilla.com/D95420
2021-02-04 02:19:18 +00:00
Agi Sferro
1478d39ca4 Bug 1681360 - Implement AppUiTestDelegate for GeckoView. r=esawin,robwu
Differential Revision: https://phabricator.services.mozilla.com/D101207
2021-02-04 02:19:10 +00:00
Makoto Kato
1c58526bf3 Bug 1684967 - Add navigation test for form submission. r=geckoview-reviewers,agi
`NavigationDelegateTest` has no form submission test.
So I would like to add this.

Differential Revision: https://phabricator.services.mozilla.com/D103741
2021-02-02 16:38:36 +00:00
owlishDeveloper
db9a32fa63 Bug 1689442 - Add DownloadInitData type to initialize DownloadItems in Web Extensions r=agi,geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D103423
2021-02-03 20:37:37 +00:00
Dorel Luca
9d50e72c4a Backed out changeset 100bc29bbb72 (bug 1625593) for Browser-chrome failures in gfx/layers/apz/test/mochitest/browser_test_scrollbar_in_extension_popup_window.js. CLOSED TREE 2021-01-30 01:13:18 +02:00
Dorel Luca
85e20aac7c Backed out 3 changesets (bug 1681360) for Browser-chrome failures in browser/base/content/test/performance/browser_startup_content_subframe.js. CLOSED TREE
Backed out changeset 2e07885dda4c (bug 1681360)
Backed out changeset c80806107851 (bug 1681360)
Backed out changeset 49e0948090b9 (bug 1681360)
2021-01-30 01:12:33 +02:00
Agi Sferro
fce977af88 Bug 1625593 - Move activeTab functionality to toolkit. r=robwu,esawin
Differential Revision: https://phabricator.services.mozilla.com/D95420
2021-01-29 19:07:55 +00:00
Agi Sferro
5983c5b1c6 Bug 1681360 - Implement AppUiTestDelegate for GeckoView. r=esawin,robwu
Differential Revision: https://phabricator.services.mozilla.com/D101207
2021-01-29 19:08:29 +00:00
Kris Maglione
f440a0cc36 Bug 1685801: Part 2 - Move site origin telemetry to separate module. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D101482
2021-01-28 20:58:26 +00:00
Mihai Alexandru Michis
040e2ea5d0 Backed out 12 changesets (bug 1685801) for causing bc failures in browser_ctrlTab.js
CLOSED TREE

Backed out changeset 021924b62f13 (bug 1685801)
Backed out changeset 38cc10101c1f (bug 1685801)
Backed out changeset 9ab9574ac72a (bug 1685801)
Backed out changeset 1a7f259cc2ec (bug 1685801)
Backed out changeset b267b19a7f6e (bug 1685801)
Backed out changeset 7dfcf0257487 (bug 1685801)
Backed out changeset ee0d0169b079 (bug 1685801)
Backed out changeset 0c358ee51951 (bug 1685801)
Backed out changeset 338ab91af557 (bug 1685801)
Backed out changeset a49415007aaf (bug 1685801)
Backed out changeset b91098299143 (bug 1685801)
Backed out changeset edf6209861a8 (bug 1685801)
2021-01-28 22:55:11 +02:00
Valentin Gosu
1422dc2925 Bug 1689208 - Add LINK_TYPE_5G to nsINetworkLinkService and report it on Android r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D103305
2021-01-28 17:06:51 +00:00
Kris Maglione
59963809cd Bug 1685801: Part 2 - Move site origin telemetry to separate module. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D101482
2021-01-28 18:48:25 +00:00
Butkovits Atila
7decdccbdc Backed out 12 changesets (bug 1685801) for causing failures on browser_fission_maxOrigins.js. CLOSED TREE
Backed out changeset 0d7153110519 (bug 1685801)
Backed out changeset 5175062925c7 (bug 1685801)
Backed out changeset 2c1250e786f0 (bug 1685801)
Backed out changeset 0ce3c773ba74 (bug 1685801)
Backed out changeset 9d51c6e24dee (bug 1685801)
Backed out changeset 3f4dc6349441 (bug 1685801)
Backed out changeset a80de9abb9f8 (bug 1685801)
Backed out changeset 30786893a5e7 (bug 1685801)
Backed out changeset 8007b12d6e32 (bug 1685801)
Backed out changeset fa814f4b7125 (bug 1685801)
Backed out changeset 14e4e47ee99f (bug 1685801)
Backed out changeset d9f1feba9454 (bug 1685801)
2021-01-28 07:15:59 +02:00
Kris Maglione
36a64d4784 Bug 1685801: Part 2 - Move site origin telemetry to separate module. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D101482
2021-01-28 03:32:30 +00:00
Dan Minor
fd50ec0311 Bug 1510797 - Migrate about:webrtc to Fluent; r=ng,flod
Differential Revision: https://phabricator.services.mozilla.com/D102931
2021-01-27 12:11:47 +00:00
Paul Zuehlcke
119a237e12 Bug 1684469 - Allow showing multiple async auth prompts at the same time. r=necko-reviewers,sfoster,agi
- Made asyncPromptAuth fully async.
- Removed auth prompt queuing from LoginManagerAuthPrompter asyncPromptAuth implementation.
- If there are multiple auth prompts with the same target in a tab, consolidate them.
- Removed unused method asyncPromptAuthBC.
- Fixed an issue with PromptTestUtils#waitForPrompt where it didn't always return
  the correct prompt.
- Added test for multi tab auth prompts.

Differential Revision: https://phabricator.services.mozilla.com/D102306
2021-01-27 11:34:05 +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
smolnar
edb1ce7144 Backed out 2 changesets (bug 1686989, bug 1684469) for causing mochitest failures in browser_basicAuth_multiTab. CLOSED TREE
Backed out changeset b2aa38ecfb55 (bug 1684469)
Backed out changeset d96ac6e7874e (bug 1686989)
2021-01-26 15:36:54 +02:00
Paul Zuehlcke
37ca601614 Bug 1684469 - Allow showing multiple async auth prompts at the same time. r=necko-reviewers,sfoster,agi
- Made asyncPromptAuth fully async.
- Removed auth prompt queuing from LoginManagerAuthPrompter asyncPromptAuth implementation.
- If there are multiple auth prompts with the same target in a tab, consolidate them.
- Removed unused method asyncPromptAuthBC.
- Fixed an issue with PromptTestUtils#waitForPrompt where it didn't always return
  the correct prompt.
- Added test for multi tab auth prompts.

Differential Revision: https://phabricator.services.mozilla.com/D102306
2021-01-26 10:33:59 +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
Dimi Lee
2055f0ff86 Bug 1589074 - Fix geckoview test failures after changing default referrer policy to strict-origin-when-cross-origin. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D88554
2021-01-25 13:26:51 +00:00
Csoregi Natalia
086251db75 Backed out 2 changesets (bug 1686989, bug 1684469) for auth and dialog box failures. CLOSED TREE
Backed out changeset 111af4c2bf6b (bug 1684469)
Backed out changeset 81794f8a220b (bug 1686989)
2021-01-25 21:47:43 +02:00
Agi Sferro
d0ea404038 Bug 1686808 - Don't use regex to parse URIs in WebExecutor. r=owlish
The harmless looking regex

```
uri.matches("(http|blob).*")
```

has a flaw: it will not accept URLs that contain a new line character. In that
case GeckoWebExecutor errors out with "Unsupported URI scheme." when in reality
that's not the problem at all.

Since it has caused a bunch of headaches to the frontend already, let's just
replace that regex with a plain `startsWith` which should work in all cases.

Differential Revision: https://phabricator.services.mozilla.com/D102943
2021-01-25 18:20:31 +00:00
Paul Zuehlcke
54cce40f63 Bug 1684469 - Allow showing multiple async auth prompts at the same time. r=necko-reviewers,sfoster,agi
- Made asyncPromptAuth fully async.
- Removed auth prompt queuing from LoginManagerAuthPrompter asyncPromptAuth implementation.
- If there are multiple auth prompts with the same target in a tab, consolidate them.
- Removed unused method asyncPromptAuthBC.
- Fixed an issue with PromptTestUtils#waitForPrompt where it didn't always return
  the correct prompt.
- Added test for multi tab auth prompts.

Differential Revision: https://phabricator.services.mozilla.com/D102306
2021-01-22 10:18:38 +00:00
Butkovits Atila
69babd862d Backed out 11 changesets (bug 1589074) for causing failures on test_DownloadCore.js.
Backed out changeset 10e37ec238ee (bug 1589074)
Backed out changeset a306f2483d73 (bug 1589074)
Backed out changeset b7a0d73a2885 (bug 1589074)
Backed out changeset da996dc79d5d (bug 1589074)
Backed out changeset 3cffd4570c8e (bug 1589074)
Backed out changeset 9fe67741eb5a (bug 1589074)
Backed out changeset e8e6d9a6b90d (bug 1589074)
Backed out changeset 78df7f0ccb31 (bug 1589074)
Backed out changeset 712f147c5a41 (bug 1589074)
Backed out changeset f093f3c48807 (bug 1589074)
Backed out changeset 454beae0f635 (bug 1589074)
2021-01-25 14:57:00 +02:00
Dimi Lee
3222982679 Bug 1589074 - Fix geckoview test failures after changing default referrer policy to strict-origin-when-cross-origin. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D88554
2021-01-22 08:48:11 +00:00
Robbendebiene
cdec8d59d8 Bug 1679688 - make host permissions grant access to privileged parts of the tabs API and fix Bug 1686443 r=robwu,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D98471
2021-01-23 14:09:22 +00:00
Agi Sferro
55c70145f1 Bug 1686808 - Add debugging information for invalid scheme in fetch(). r=droeh
Differential Revision: https://phabricator.services.mozilla.com/D102633
2021-01-21 20:54:55 +00:00
Dylan Roeh
f56be74395 Bug 1687523 - Do not call onSessionStateChange if session state is null or contains no history. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D102425
2021-01-21 16:43:01 +00:00
Hiroyuki Ikezoe
b759a55797 Bug 1687430 - Introduce INPUT_RESULT_IGNORED to represent nsEventStatus_eConsumeNoDefault. r=botond,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D102270
2021-01-21 00:24:33 +00:00
Tim Huang
e50502e5c2 Bug 1687390 - Part 1: Set the name of window when calling window.open() with 'noopener' in GeckoView. r=geckoview-reviewers,agi
This patch makes the aName in the GeckoViewNavigation.openURIInFrame() to
be set properly to the new opened window when calling window.open() with
'noopener'.

Differential Revision: https://phabricator.services.mozilla.com/D102240
2021-01-20 20:39:13 +00:00
Shane Caraveo
98c9307c72 Bug 1594234 manifest v3 content security validation improvements r=robwu,geckoview-reviewers,agi
This patch adds CSP validation for manifest v3 changes when parsing the addon manifest.

Differential Revision: https://phabricator.services.mozilla.com/D100720
2021-01-19 19:42:41 +00:00
Shane Caraveo
4a14410028 Bug 1594234 manifest v3 content security policy support r=robwu,geckoview-reviewers,agi
Implement manifest v3 CSP that is compatible with the current chrome implementation.

Support for content_security_policy.isolated_world (a.k.a. content_security_policy.content_scripts)
has been removed for consistency with
345390adf6%5E%21/

Differential Revision: https://phabricator.services.mozilla.com/D100573
2021-01-07 14:53:18 +00:00