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

30441 Коммитов

Автор SHA1 Сообщение Дата
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
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
William Durand 620f570acb Bug 1686187 - Use AMO API v4. r=robwu
AMO API v3 is deprecated and we should now use API v4. Both versions are pretty similar even if the [changelog](https://addons-server.readthedocs.io/en/latest/topics/api/overview.html#v4-api-changelog) appears to be large (we mainly added new features).

I reviewed our usage of the AMO API in FF and diff'ed the API responses. I didn't notice any main difference except for `about:addons` disco, which is why I removed some code related to old properties.

Differential Revision: https://phabricator.services.mozilla.com/D101945
2021-01-19 18:10:24 +00: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
Eugen Sawin 3b175177dd Bug 1682005 - [1.0] Attach the telemetry proxy when attaching to the runtime to avoid premature proxy registration. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D102194
2021-01-19 17:34:12 +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
Dan Minor 57ae936f38 Bug 1420335 - Make OSPreferences::ReadDateTimePattern check 12h/24h on Android; r=zbraniecki
As is the case with GTK, Android provides an OS override to display times in
AM/PM or 24 hour format. This moves the code for rewriting skeletons from the
GTK specific code to OSPreferences, and calls it from the Android OSPreferences
implementation.

This was tested manually by visiting the file:/// uri. I don't believe this is
feasible to test from automation, as it would require changing Android OS settings
from within our test code.

Differential Revision: https://phabricator.services.mozilla.com/D101641
2021-01-15 19:28:12 +00:00
Agi Sferro cc616d4e76 Bug 1685389 - Use callback.resolveTo instead of result.accept. r=esawin
One thing I've noticed before going on break last year is that a lot of the
times we don't close out promises when an error occurs. Our code normally does
something like:

```
delegatePromise.then(response -> {
    // manipulate response
    callback.resolve(manipulatedResponse);
})
```

where `delegatePromise` is the `GeckoResult` from a delegate. The problem here
is that if the `delegatePromise` is rejected, the above never rejects the
callback.

A month ago we introduced `callback.resolveTo(result)` which obviates this
problem a little bit (it will rejects the callback if the result is rejected)
but it's still a little hard to use because you need to then the result to the
right value.

`result.map` sort of closes this gap a little bit and now you can write
something like this:

```
callback.resolveTo(delegatePromise.map(value -> {
     // manipulate value to match the response
    return manipulatedValue;
});
```

Which is the recommended way to resolve callbacks in GV

Another problem with callback.reject is that we pretty much only support strings but it's not made really clear (some existing code in GV returns an exception there, which doesn't work). resolveTo will take care of that by using the message of the exception passed in

Differential Revision: https://phabricator.services.mozilla.com/D101093
2021-01-15 17:29:34 +00:00
Jonathan Kew bb780cf223 Bug 1685122 - Don't allow U+3000 in testcase to trigger an async fallback and reflow, which may disrupt a following test. r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D101877
2021-01-15 16:21:42 +00:00
Mike Hommey 5552bc3c4a Bug 1686646 - In mozconfigs, don't set paths to tools configure can now find on its own. r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D101721
2021-01-15 04:33:09 +00:00
Agi Sferro f05a40ee57 Bug 1686809 - Use Locale.ROOT when calling toLowerCase. r=owlish
By default `toLowerCase` uses the device's Locale, which could have unexpected
consequences on non-en_US locales.

See also
https://github.com/googleapis/google-http-java-client/pull/420#issue-200260049.

Differential Revision: https://phabricator.services.mozilla.com/D101822
2021-01-14 22:16:05 +00:00
Mike Hommey a9c5e28258 Bug 1480005 - Move NM to python configure. r=firefox-build-system-reviewers,nalexander
There is only one place where it's used:
config/check_vanilla_allocations.py, which is only executed from
js/src/build/Makefile.in on the condition that the build is targeting
Linux and not LTO. But the LTO test is actually outdated, because we
don't build with `-flto`, but `-flto=thin`, so the exclusion doesn't
work anymore.

There is however no AC_CHECK_PROG, and we currently rely on NM to be
given, or fall back to "nm", which works in most cases, except LTO with
clang. It works on CI because in LTO builds we explicitly set NM to
llvm-nm (which can output symbols from LLVM bitcode objects), but we
could also do that automatically.

So we add a full detection of nm/llvm-nm to python configure, and limit
it to Linux, since we only ever use it there.

Differential Revision: https://phabricator.services.mozilla.com/D101681
2021-01-14 20:17:08 +00:00
Mike Hommey 3a558130b5 Bug 1480005 - Remove check for RANLIB. r=firefox-build-system-reviewers,nalexander
It hasn't been used since bug 569597 and bug 1295937.

Differential Revision: https://phabricator.services.mozilla.com/D101680
2021-01-14 03:40:45 +00:00
Mike Hommey 647145eef9 Bug 1480005 - Look for llvm-ar for AR when compiling with clang. r=firefox-build-system-reviewers,nalexander
And stop setting AR to llvm-ar in mozconfigs.

Differential Revision: https://phabricator.services.mozilla.com/D101679
2021-01-14 03:41:39 +00:00