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

712296 Коммитов

Автор SHA1 Сообщение Дата
Grace Bramley-Simmons 4ab1c522b1 Bug 1618987 - Removed WebExtensionController#setTabDelegate and related methods r=agi,geckoview-reviewers
Updated API docs to reflect removed method

Removed incorrect line to fix some bugs

Updated changelog

Added listener registration back into WebExtension Listener constructor

Differential Revision: https://phabricator.services.mozilla.com/D78977
2020-06-09 21:49:56 +00:00
Csoregi Natalia ca91b4a954 Backed out 2 changesets (bug 1626335) for xpcshell failures on test_cookies_thirdparty.js. CLOSED TREE
Backed out changeset 55c739a27793 (bug 1626335)
Backed out changeset e5f6c67f7f88 (bug 1626335)
2020-06-10 01:16:00 +03:00
Mike Hommey 01f30cd88f Bug 1643504 - Fix WR bustage. r=fix CLOSED TREE 2020-06-10 00:41:49 +03:00
Sebastian Hengst c504345919 Bug 1642865 - Expectation update for scrollend-event-for-user-scroll.html, the sequel. CLOSED TREE DONTBUILD 2020-06-09 23:40:09 +02:00
Matt Woodrow 71638cf5c0 Bug 1613589 - Persist TabProgressListener::mRequestCount across process switches. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D78838
2020-06-09 09:46:45 +00:00
James Willcox 1928cfcda5 Bug 1626335 - Enable SameSite=Lax for GeckoView unit tests r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D78152
2020-06-03 22:05:21 +00:00
James Willcox 59f798035c Bug 1626335 - Don't treat any URI as third party for system principal r=baku,ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D78151
2020-06-09 08:46:02 +00:00
Andy Grover 2475b7008d Bug 1644532 - Update to Neqo 0.4.1 r=dragana,necko-reviewers
Default to using draft 27.

Differential Revision: https://phabricator.services.mozilla.com/D78960
2020-06-09 19:39:47 +00:00
Aaron Klotz 34738f5854 Bug 1644569: Removed unused nsFilePicker::mLastUsedDirectory; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D78979
2020-06-09 20:33:38 +00:00
Mike Hommey ef2aafa5a5 Bug 1643504 - Remove not unused Debian stretch-based docker images. r=firefox-build-system-reviewers,rstewart
Differential Revision: https://phabricator.services.mozilla.com/D78433
2020-06-09 01:01:33 +00:00
Mike Hommey 57fa3660c9 Bug 1643504 - Upgrade webrender and wgpu docker images to Debian buster. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D78419
2020-06-09 13:35:40 +00:00
Nathan Froyd 79abcc46c2 Bug 1642032 - part 2 - install non-wildcard absolute FINAL_TARGET_FILES during misc; r=nalexander
Such files are, at least as of this writing, only libraries, and we can
get by with installing them later.  This change will also avoid having
them added to the dependent libraries list.

Differential Revision: https://phabricator.services.mozilla.com/D78618
2020-06-09 20:23:29 +00:00
Nathan Froyd 4f464e2b63 Bug 1642032 - part 1 - factor out install targets for final target files; r=nalexander
We're going to reuse this machinery in a subsequent patch.  I think this
change, by virtue of moving all the output to a single place, also makes
things clearer.

Differential Revision: https://phabricator.services.mozilla.com/D78617
2020-06-09 20:23:24 +00:00
Haik Aftandilian 82ec0b2bdb Bug 1643491 - Check for cancellation in SQLITE_BUSY loop r=mak
Check for cancellation in SQLITE_BUSY loop and refactor SQLITE_BUSY handling to release/acquire mMutex only once.

Differential Revision: https://phabricator.services.mozilla.com/D78565
2020-06-09 19:47:53 +00:00
Geoff Brown 446e3be5f6 Bug 1516847 - Update help and remove support for 'mach test' with no arguments; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D78804
2020-06-09 19:35:19 +00:00
Jan Andre Ikenmeyer 4ea170003e Bug 1496639 - Disable DHE ciphers by default. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D66270
2020-06-09 19:34:23 +00:00
Kartikaya Gupta 37e13b9720 Bug 1644512 - Reduce headers included in nsLayoutUtils.h. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D78954
2020-06-09 19:34:36 +00:00
Edgar Chen 8556592e77 Bug 1639368 - Restore `mCurrentTarget` after handling drag gesture; r=smaug
otherwise, generated mouseenter event might be dispatched to a wrong target.

Differential Revision: https://phabricator.services.mozilla.com/D75983
2020-06-09 15:39:54 +00:00
Noemi Erli 4bb2401ecb Backed out 4 changesets (bug 1564942) for causing SM bustage in pow-base-power-of-two.js CLOSED TREE
Backed out changeset ed869f61d924 (bug 1564942)
Backed out changeset cee3bb013291 (bug 1564942)
Backed out changeset 91d3f5dc57c9 (bug 1564942)
Backed out changeset 0017d61a5a0f (bug 1564942)
2020-06-09 22:39:08 +03:00
Joel Maher baa5132f2b Bug 1637413 - fix typo in previous patch to use the proper filename for __dir__.ini. r=jgraham
Fix typo in previous patch to use the proper filename for __dir__.ini

Differential Revision: https://phabricator.services.mozilla.com/D78274
2020-06-09 19:19:57 +00:00
Junior Hsu 58f2c8bc94 Bug 1638513 - P3 strip request body header for preflight, r=valentin,necko-reviewers
(a) Steal nsCORSListenerProxy::UpdateType since the whole usage is removed
    by bug 1312864. Now I'm using it to indicate if the headers should be
	stripped.
(b) Intentionally to let HttpBaseChannel strip the header to save one
    headers copy. It's set via idl, hence I don't think it's moveable.

Differential Revision: https://phabricator.services.mozilla.com/D78831
2020-06-09 18:38:50 +00:00
Junior Hsu c967db3c67 Bug 1638513 - P2 let nsIHttpChannel implement shouldStripRequestBodyHeader, r=valentin,necko-reviewers
We need to extract the common method into the idl since the connection between necko
and XHR is idl. Need to import the whole necko if we do something like
`#include "HttpBaseChannel.h"

Differential Revision: https://phabricator.services.mozilla.com/D78830
2020-06-09 18:20:15 +00:00
Junior Hsu b7d7ea4350 Bug 1638513 - P1 extract parsing method, r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D78829
2020-06-09 18:19:42 +00:00
Harry Twyford 1caaeaae5f Bug 1643490 - Add event telemetry probe to measure the number of words in the input on engagement. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D78396
2020-06-09 16:32:20 +00:00
Gijs Kruitbosch 46a2f9355a Bug 1633272 - do not track the PiP popped-out video in the Picture in Picture Toggle actor child, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D78727
2020-06-09 18:30:51 +00:00
Haik Aftandilian b1f63ced7e Bug 1632845 - Firefox gets stuck when quit from the dock if the user cancels quitting from a beforeunload prompt r=Gijs,spohl,necko-reviewers,geckoview-reviewers,dragana,agi
Return NSTerminateCancel from applicationShouldTerminate when the user chooses to "Stay on Page".

Differential Revision: https://phabricator.services.mozilla.com/D78839
2020-06-09 18:20:36 +00:00
Dana Keeler 63919c509b Bug 1630434 - de-duplicate preloaded intermediates that may have been cached in cert9.db r=kjacobs,bbeurdouche
In general, PSM caches intermediates from verified certificate chains in the
NSS certdb. Before bug 1619021, this would include preloaded intermediates,
which is unnecessary because cert_storage has a copy of those certificates, and
so they don't need to take up time and space in the NSS certdb. This patch
introduces the intermediate preloading healer, which periodically runs on a
background thread, looks for these duplicate intermediates, and removes them
from the NSS certdb.

Differential Revision: https://phabricator.services.mozilla.com/D77152
2020-06-09 18:02:52 +00:00
Florin Strugariu cfbc528f9c Bug 1641820 - Remove chrome variant of binast test. r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D78869
2020-06-09 18:35:24 +00:00
Alexandre Poirot f685402246 Bug 1638914 - Fix watchedByDevTools exceptions when debugging with Fission ON. r=jdescottes
This attribute can only be toggled on top level BrowsingContext.
These are the top level window's, or tab's BrowsingContext.
From DevTools point of view, it should only be toggled by the
Parent Process or Tab target.

Differential Revision: https://phabricator.services.mozilla.com/D78860
2020-06-09 09:50:05 +00:00
Andrew Halberstadt 851c45354a Bug 1643811 - [ci] Add a SCHEDULES rule to exclusively run browser-chrome tests when '**/test/browser_*' files are modified, r=gbrown,Gijs
Also makes sure that 'mochitest-devtools-chrome' tasks are triggered by the
'mochitest-browser-chrome' component since they use the same manifest / test
formats.

Depends on D78906

Differential Revision: https://phabricator.services.mozilla.com/D78927
2020-06-09 17:14:09 +00:00
Andrew Halberstadt 02fe2fbf5a Bug 1643811 - [ci] Add a SCHEDULES rule to prevent 'android' builds and tests on pushes that exclusively modify files under /browser, r=gbrown,Gijs
This rule states that if a push *only* modifies files under the /browser directory, then
we'll only schedule tasks that:

A) Use the 'skip-unless-schedules' optimization (this includes most builds and tests)
B) Are tagged with at one of the 'linux', 'macosx' or 'windows' components

This should be everything except Android builds and tests.

Differential Revision: https://phabricator.services.mozilla.com/D78906
2020-06-09 15:54:10 +00:00
Simon Giesecke ca2d0aaa68 Bug 1644403 - Fix inconsistent uses of CopyableAutoTArray and Clone. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D78893
2020-06-09 14:27:20 +00:00
yulia 118185f66f Bug 1640876 - update module names to be in line with spec revision b012019fea18f29737a67c36911340a3e25bfc63; r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D76833
2020-06-09 16:52:53 +00:00
Alexandre Poirot d6c2c33b24 Bug 1620243 - Watch console messages resources from the server side. r=nchevobbe,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D77441
2020-06-09 18:22:45 +00:00
Alexandre Poirot 9ff9996e6a Bug 1620243 - Fix the key used for DevToolsFramesChild._connections map. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D77769
2020-06-08 22:45:32 +00:00
Alexandre Poirot 4ecf485bc0 Bug 1620243 - Pass BrowsingContextTargetActor docShell via its constructor. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D77066
2020-06-08 22:45:24 +00:00
Csoregi Natalia c644ee9a06 Backed out changeset 99cce83b7e41 (bug 1636050) for assertion failures on ReadStream.cpp. CLOSED TREE 2020-06-09 21:21:34 +03:00
Csoregi Natalia ea9bf8c0f4 Backed out changeset 1884e1c2ccf4 (bug 1644366) for scrolling failures. CLOSED TREE 2020-06-09 21:18:42 +03:00
Sebastian Hengst fbc7f48992 Bug 1642865 - Expectation update for scrollend-event-for-user-scroll.html. CLOSED TREE 2020-06-09 20:34:14 +02:00
Noemi Erli 9017f973e3 Backed out 4 changesets (bug 1621960) for causing Android bustages CLOSED TREE
Backed out changeset f36a95234a5f (bug 1621960)
Backed out changeset 0e4661c9061d (bug 1621960)
Backed out changeset 3e2cbe4dd777 (bug 1621960)
Backed out changeset d7eb101e5df7 (bug 1621960)
2020-06-09 20:59:26 +03:00
Noemi Erli 72ff51478c Backed out changeset 49f533a95f64 (bug 1644458) for causing failures in registration-updateviacache.https.html 2020-06-09 20:55:58 +03:00
Csoregi Natalia ab2cd5732d Backed out 5 changesets (bug 1641231) for assertion failures on FlippedOnce.h. CLOSED TREE
Backed out changeset f91248e16c71 (bug 1641231)
Backed out changeset 3c4db99ba498 (bug 1641231)
Backed out changeset 125533344189 (bug 1641231)
Backed out changeset 203e3ec45022 (bug 1641231)
Backed out changeset 84668b82ebee (bug 1641231)
2020-06-09 20:39:47 +03:00
Razvan Maries 468d520bfa Backed out changeset 91d9671c44b5 (bug 1640445) as requested. CLOSED TREE 2020-06-09 19:57:58 +03:00
Mitchell Hentges 4006a0890c Bug 1621960: Change |mach python| default from Python 2 to Python 3 r=rstewart
Depends on D77967

Differential Revision: https://phabricator.services.mozilla.com/D78181
2020-06-09 16:44:51 +00:00
Mitchell Hentges 423c3bf123 Bug 1621960: Improves error when "profile" is called without any arguments in py3 r=ahal
By explicitly specifying that `subparsers.required = True`, we encourage argparse to provide a useful message,
rather than "'NoneType' is not callable", when no arguments are provided.

Depends on D77966

Differential Revision: https://phabricator.services.mozilla.com/D77967
2020-06-09 16:44:43 +00:00
Mitchell Hentges 1c169fac1c Bug 1621960: Improves genpgocert compatibility with Python 3 r=rstewart
Depends on D77965

Differential Revision: https://phabricator.services.mozilla.com/D77966
2020-06-09 16:44:40 +00:00
Mitchell Hentges fc50a9dcd8 Bug 1621960: Improves mozhttpd compatibility with Python 3 r=egao
Depends on D77964

Differential Revision: https://phabricator.services.mozilla.com/D77965
2020-06-09 16:44:32 +00:00
André Bargull 40bd6f3a2b Bug 1564942 - Part 4: Lower MPow to a series of shift-instructions when the base operand is a power of two. r=jandem
In-tree users of `Math.pow` show that the function is often called with the base operand equal to
two. This case can easily be optimised to a series of shift-instructions for any power of two. For
now this optimisation is only taken for 2^i with i in {1..8} to avoid generating too many
consecutive shift-instructions. 2^8 = 256 was chosen as the limit, because it is the maximum power
of two base operand for `Math.pow` used in-tree.

Differential Revision: https://phabricator.services.mozilla.com/D37587
2020-06-09 14:08:17 +00:00
André Bargull 67c0c78aed Bug 1564942 - Part 3: Avoid an extra `mov` when multiplying an operand with itself. r=jandem
Similar to `LIRGeneratorX86Shared::lowerForALU`, try to use the same register when multiplying an
operand with itself.

This change improves the generated assembly for `Math.pow(x, 2)` from:
```
# instruction MoveGroup
movl       %eax, %ecx
# instruction MulI
imull      %ecx, %eax
jo         .Lfrom0000
```

to:
```
# instruction MulI
imull      %eax, %eax
jo         .Lfrom0000
```

Differential Revision: https://phabricator.services.mozilla.com/D37586
2020-06-09 11:52:15 +00:00
André Bargull acf9035595 Bug 1564942 - Part 2: Avoid negative zero check when the base operand in MPow is an Int32. r=jandem
That way the trailing DoubleToInt32 doesn't emit the negative zero check sequence:

```
movq       %xmm0, %rax
cmpq       $0x1, %rax
jo         .Lfrom0000
```


When MPow is used with a constant power which can be folded to MMul, this change
will lead to better codegen, too. For example `Math.pow(x, 2)` where `x` is an
Int32 value, currently generates the following assembly:
```
# instruction MoveGroup
movl       %eax, %ecx
# instruction MulI:CanBeNegativeZero
imull      %ecx, %eax
jo         .Lfrom0000
testl      %eax, %eax
je         .Lfrom0000
```

With this patch, this assembly will be generated:
```
# instruction MoveGroup
movl       %eax, %ecx
# instruction MulI
imull      %ecx, %eax
jo         .Lfrom0000
```

Differential Revision: https://phabricator.services.mozilla.com/D37584
2020-06-09 11:51:40 +00:00