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

737084 Коммитов

Автор SHA1 Сообщение Дата
Agi Sferro 0b9c0abdce Bug 1625233 - Move xpcshell browsingData to toolkit. r=robwu
Depends on D98368

Differential Revision: https://phabricator.services.mozilla.com/D98369
2020-12-04 21:43:32 +00:00
Agi Sferro 7c25d2ff06 Bug 1625233 - Add smoke test for browsingData.settings. r=robwu,owlish
Depends on D96154

Differential Revision: https://phabricator.services.mozilla.com/D98368
2020-12-04 21:43:24 +00:00
Agi Sferro 06e6777956 Bug 1625233 - Convert browsingData browser tests to mochitests. r=rpl
Depends on D96153

Differential Revision: https://phabricator.services.mozilla.com/D96154
2020-12-04 21:43:22 +00:00
Agi Sferro be73b6f3a4 Bug 1625233 - Implement ext-browsingData on Android. r=robwu,owlish,droeh
Depends on D96152

Differential Revision: https://phabricator.services.mozilla.com/D96153
2020-12-04 21:07:58 +00:00
Agi Sferro 25013d8d5f Bug 1625233 - Refactor ext-browsingData code so it can be shared with other platforms. r=rpl,robwu
Depends on D96150

Differential Revision: https://phabricator.services.mozilla.com/D96152
2020-12-04 20:52:52 +00:00
Agi Sferro 7afeed9b20 Bug 1625233 - Add EventCallback.resolveTo. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D96150
2020-12-04 20:52:45 +00:00
Mike Hommey 54a7eeb436 Bug 1680678 - Upgrade builds to Xcode 12.2 final's SDK. r=firefox-build-system-reviewers,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D98712
2020-12-04 14:16:51 +00:00
Mike Hommey 8af9b4dc08 Bug 1680685 - Allow to turn on pid in tabs via a pref. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D98715
2020-12-04 20:57:02 +00:00
Dana Keeler d45819348c Bug 1678490 - remove the "When a server requests your personal certificate" section from about:preferences r=preferences-reviewers,fluent-reviewers,jaws
In bug 634697, Firefox was changed to remember client authentication decisions
across sessions, so the option of having Firefox "Ask every time" was
misleading. Offering to "Select one automatically" is a privacy disaster and it
should not have been exposed in the UI.

Differential Revision: https://phabricator.services.mozilla.com/D98675
2020-12-04 20:45:22 +00:00
Shane Caraveo 3463b4f194 Bug 1495021 remove temp files when install system addon updates r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D74353
2020-12-04 20:39:25 +00:00
Scott 08e4769651 Bug 1672518 - Adding some user config telemetry to home prefs. r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D98555
2020-12-04 19:54:28 +00:00
Bas Schouten d7db260690 Bug 1680544 - Part 3: Do not log runnables coming from TaskController. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D98646
2020-12-04 18:59:45 +00:00
Bas Schouten e9ccb2eec1 Bug 1680544 - Part 2: Specialize LogTaskBase<Task>::Run::Run. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D98645
2020-12-04 19:14:12 +00:00
Bas Schouten 3f4d736062 Bug 1680544 - Part 1: Introduce a GetName member for Tasks and implement this for RunnableTask. r=smaug,nika
Differential Revision: https://phabricator.services.mozilla.com/D98644
2020-12-04 19:54:18 +00:00
Agi Sferro 167d5effe6 Bug 1672262 - Remove workaround for duplicated START events. r=aklotz
The underlying problem has been fixed in Bug 1661833.

Differential Revision: https://phabricator.services.mozilla.com/D98686
2020-12-04 20:11:13 +00:00
Henrik Skupin 5167e2ba69 Bug 1680740 - [remote] Implement Target.getTargets. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D98803
2020-12-04 19:56:36 +00:00
Mike Conley 2e689029d7 Bug 1666739 - Add site-specific PiP toggle visibility threshold to the WebCompat add-on. r=mstriemer,webcompat-reviewers,denschub,twisniewski
This also adds the first threshold of 0.9 for YouTube, which allows us to avoid
hittest false positives on the PiP toggle when the user has one of the YouTube
player menus open.

Differential Revision: https://phabricator.services.mozilla.com/D93124
2020-12-04 19:43:54 +00:00
Mike Conley 73a835db89 Bug 1673716 - Move the AboutHomeStartupCache shutdown blocker timeout to the onShutdown method. r=emalysz
In an earlier attempt to fix this shutdown hang, a timeout was added to the cacheNow
task function to try to have a maximum of 1s of wait time during the shutdown blocker
before giving up and letting the shutdown proceed.

This didn't seem to put a dent in the shutdown hangs. It looks like DeferredTasks
that are being finalized don't actually re-enter the task if the task was already
running, which might explain why in some cases the timeout wasn't being hit. This
patch makes sure that the timeout is being used regardless of whether or not the
cache task is already underway.

Differential Revision: https://phabricator.services.mozilla.com/D98688
2020-12-04 19:41:16 +00:00
André Bargull 35813933df Bug 1673027 - Part 2: Update tzdata in ICU data files to 2020d. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D94605
2020-12-04 17:23:41 +00:00
André Bargull 19ec7cb673 Bug 1673027 - Part 1: Remove "US/Pacific-New" time zone link. r=jwalden
tzdata 2020b removed the "US/Pacific-New" time zone link, but the link is
still present in CLDR/ICU, so we need to manually remove it before processing
the ICU time zone files.

Also reformats the complete file through Black because the linter was
complaining about it. (The `u` prefix for Unicode strings wasn't removed when
Black was applied on all in-tree files and apparently this is now causing
linter warnings.)

Differential Revision: https://phabricator.services.mozilla.com/D94604
2020-12-04 17:23:16 +00:00
Gregory Mierzwinski cd877463f0 Bug 1675157 - Handle gzipped mobile profiles in raptor. r=perftest-reviewers,AlexandruIonescu
This patch makes raptor handle the gzipped profiles that come from browsertime when the tests are run on mobile.

Differential Revision: https://phabricator.services.mozilla.com/D98231
2020-12-04 15:42:09 +00:00
brizental 00f6b7f260 Bug 1673642 - Implement C++ and JS APIs for the Boolean Metric Type. r=chutten
BONUS: Improve the docs for adding new metric type in C++ and JS,
added two missing steps to the C++ part and changed the layout
a bit to make it easier to follow.

Differential Revision: https://phabricator.services.mozilla.com/D95314
2020-12-04 18:18:27 +00:00
Barret Rennie 43bd9a2ac0 Bug 1673949 - Collect gfx.omtp.paint_wait_ratio on release channels r=cpeterson
Differential Revision: https://phabricator.services.mozilla.com/D98683
2020-12-04 18:16:38 +00:00
Mihai Alexandru Michis 457296a859 Backed out 67 changesets (bug 1679322, bug 1680005, bug 1680165, bug 1679328, bug 1680143, bug 1680409, bug 1675513, bug 1680029, bug 1680552, bug 1680553, bug 1679899, bug 1680413, bug 1679895, bug 1679900, bug 1679955, bug 1679902, bug 1680346, bug 1679980, bug 1680340, bug 1680222, bug 1680632, bug 1680305, bug 1679920, bug 1679569, bug 1679672, bug 1680117, bug 1680115, bug 1680174, bug 1678317, bug 1680176, bug 1676958, bug 1680415, bug 1680078, bug 1680663, bug 1679996, bug 1679599, bug 1679993, bug 1679024, bug 1679069, bug 1680350, bug 1679067, bug 1679846, bug 1679029, bug 1669612, bug 1679919, bug 1679570, bug 1676460, bug 1678394, bug 1679943, bug 1679926) for causing wpt leaks.
CLOSED TREE

Backed out changeset 08d9a76a912d (bug 1680663)
Backed out changeset 43289b69898b (bug 1680663)
Backed out changeset c54a684dbd70 (bug 1680409)
Backed out changeset 35695baf0cd7 (bug 1680632)
Backed out changeset 4bb74424681c (bug 1679069)
Backed out changeset 77c7c4cc95eb (bug 1680340)
Backed out changeset fb01c9e1cc8d (bug 1680340)
Backed out changeset 90238d97c978 (bug 1680176)
Backed out changeset b3c5c730b392 (bug 1679067)
Backed out changeset 6a73586d0c7a (bug 1679067)
Backed out changeset 4a7e0730d7f1 (bug 1680552)
Backed out changeset a95b0fe507e0 (bug 1680553)
Backed out changeset ca7b6fb8a0e9 (bug 1680222)
Backed out changeset 40dc4b06a6a2 (bug 1680222)
Backed out changeset 1b300fd372fb (bug 1680346)
Backed out changeset 3ec3ed991603 (bug 1680413)
Backed out changeset 12df026355e8 (bug 1680413)
Backed out changeset 720accde8c8f (bug 1680415)
Backed out changeset e73610b1b4f9 (bug 1678317)
Backed out changeset c68cb403b34a (bug 1678317)
Backed out changeset 768c14f81815 (bug 1676460)
Backed out changeset 56e1a8d30892 (bug 1676460)
Backed out changeset eb5952ba1958 (bug 1676958)
Backed out changeset fddc6114a3cb (bug 1676958)
Backed out changeset 5bbf4e83b91a (bug 1680350)
Backed out changeset c9cddf20eeec (bug 1680350)
Backed out changeset 9a351269f3e9 (bug 1680165)
Backed out changeset ad34bb605a18 (bug 1680165)
Backed out changeset a9e597411b1d (bug 1680115)
Backed out changeset 5cf5bbad028f (bug 1679024)
Backed out changeset 0d9ff56d46b7 (bug 1680305)
Backed out changeset 82e9e83b6d3c (bug 1680174)
Backed out changeset 984e7ac419ef (bug 1679328)
Backed out changeset 1e60a9a52a5d (bug 1679328)
Backed out changeset ed4c80dab2f8 (bug 1680078)
Backed out changeset 1eb9fc5b8d15 (bug 1669612)
Backed out changeset bbff40206580 (bug 1680143)
Backed out changeset 3b0ab6daa070 (bug 1679322)
Backed out changeset cb9396002c9c (bug 1680117)
Backed out changeset c771a3b155c9 (bug 1675513)
Backed out changeset 58936167a157 (bug 1679920)
Backed out changeset b27cdb388bdf (bug 1679920)
Backed out changeset 03705f52b0a0 (bug 1679926)
Backed out changeset ed7115c2c3f8 (bug 1680005)
Backed out changeset b71bb11ae3bb (bug 1679980)
Backed out changeset 3693bbbff389 (bug 1679980)
Backed out changeset 51aeb77109c0 (bug 1680029)
Backed out changeset fde59549f693 (bug 1679993)
Backed out changeset 4d783fba033d (bug 1679993)
Backed out changeset 59f10b7a13a1 (bug 1679919)
Backed out changeset 5d4ff363748d (bug 1679846)
Backed out changeset ea51bd6c0589 (bug 1679599)
Backed out changeset 2efd52a63562 (bug 1679570)
Backed out changeset 9641419b8161 (bug 1679569)
Backed out changeset 86b43f8e84f3 (bug 1679996)
Backed out changeset ec05e752c1f9 (bug 1679029)
Backed out changeset d568e641b791 (bug 1679955)
Backed out changeset 2f2e995c714c (bug 1679899)
Backed out changeset 434852b39519 (bug 1679899)
Backed out changeset 98ca4e7ce514 (bug 1679900)
Backed out changeset 374e1a9134bc (bug 1679900)
Backed out changeset 40ed1779d8a1 (bug 1679943)
Backed out changeset 1f0bb3921fb3 (bug 1679902)
Backed out changeset 37c7bf4399fe (bug 1679672)
Backed out changeset f4c00cd52dce (bug 1678394)
Backed out changeset 098eab7a7977 (bug 1678394)
Backed out changeset 0bb1bdd25991 (bug 1679895)
2020-12-04 20:51:58 +02:00
Andrew Sutherland 175070c565 Bug 1674278 - Improve BodyConsumer worker shutdown. r=ytausky,dom-workers-and-storage-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D97108
2020-12-04 17:49:46 +00:00
Dale Harvey bea62c168a Bug 1663501 - Use geolocation monitor for region updates r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D91214
2020-12-04 17:46:03 +00:00
Nika Layzell 15316f5e45 Bug 1670530 - Part 2: Consistently update supported interfaces in nsViewSourceChannel, r=necko-reviewers,valentin
Previously, the updates in OnStartRequest were not updating some of the
interface fields, including `nsIHttpChannelInternal`, which caused the wrong
channel object to be queried for Cross-Origin-Opener-Policy status during
process switches after a redirect, and crashes.

In the `browser_application_panel_viewsource-service-worker.js` test case, the
http channel was being intercepted by a service worker, but the non-intercepted
channel was being queried. As the non-intercepted channel had not observed
`OnStartRequest`, the query failed.

Differential Revision: https://phabricator.services.mozilla.com/D98619
2020-12-03 17:08:15 +00:00
Nika Layzell 10ecfc0ee0 Bug 1670530 - Part 1: Don't process multipart content when doing a view-source load, r=mattwoodrow,necko-reviewers,valentin
Before switching to using DocumentChannel to process multipart requests,
multipart documents loaded as a view-source load would be displayed their
plain-text data, as the multipart processing would be after the view-source
channel had wrapped the channel, and replaced the content type with
"application/x-view-source".

This change restores that behaviour, by preventing parent process multipart
processing for wrapped channels like `view-source` loads. This also allowed
removing the replaceRequest option on nsViewSourceChannel, as it was no longer
necessary, and required introducing a mechanism to get the inner http channel
for process switching.

The crash in Bug 1670530 was caused by a bad interaction between the view-source
replaceChannel logic, and the parent/content process switching logic, which
could lead to the load in the content process being initialized in a broken
state after a process switch, due to accidentally acting on a wrapped
view-source channel when an unwrapped one was expected. This patch also fixes
that issue, by removing the replaceRequest logic which caused it in the first
place.

Differential Revision: https://phabricator.services.mozilla.com/D98205
2020-12-03 17:03:45 +00:00
Mike Conley 100b70d8d8 Bug 1680734 - Update browser_ProcessHangNotifications to use right button count for plugin hangs. r=mossop
buttonCount has a different value depending on whether or not the build is MOZ_DEV_EDITION or
not, since we show an extra Debug button for script hangs in Developer Edition.

We do not show that extra button for plugin hangs, regardless of the build type, so we
shouldn't use buttonCount here.

Differential Revision: https://phabricator.services.mozilla.com/D98793
2020-12-04 17:44:22 +00:00
David Major 6cacd7d64b Bug 1632866 - Enable Control Flow Guard for Rust r=nalexander
This flag has been stabilized as of rust 1.47.0.

Differential Revision: https://phabricator.services.mozilla.com/D94128
2020-12-04 17:38:28 +00:00
Ted Campbell a0783ae337 Bug 1673567 - Cleanup initialization of JS::OffThreadToken. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D98543
2020-12-04 17:15:08 +00:00
Alexis Beingessner d2495438a1 Bug 1674770 - update parking_lot to get tsan fixes. r=glandium
Although this doesn't fix the particular false positive we hit, more fixes
is good to get

Differential Revision: https://phabricator.services.mozilla.com/D98649
2020-12-04 17:02:33 +00:00
Nicolas Chevobbe da432100a0 Bug 1679974 - [devtools] Remove backward compatibility code for older version of getCSSDatabase. r=ladybenko.
Differential Revision: https://phabricator.services.mozilla.com/D98319
2020-12-04 16:50:43 +00:00
Csoregi Natalia 142a3cd8a0 Backed out changeset 336e9d01c80d (bug 1673567) for causing assertion failures on HelperThreads.cpp. CLOSED TREE 2020-12-04 19:00:09 +02:00
Kevin Jacobs 1269e1524e Bug 1680655 - Extend TSAN false-positive suppression to EncryptedClientHelloServer. r=decoder
No idea why this didn't show up in earlier try runs, but this is a known false-positive that we need to suppress in the newly-added EncryptedClientHelloServer.

Differential Revision: https://phabricator.services.mozilla.com/D98771
2020-12-04 15:42:25 +00:00
Kevin Jacobs c27baf9ddb Bug 1678079 - Add PSM support and xpcshell tests for ECH. r=keeler,kershaw
This patch enables PSM and Firefox to use TLS 1.3 Encrypted Client Hello (draft -08). Specifically:
  - Compile NSS with NSS_ENABLE_DRAFT_HPKE=1
  - Add ECH "public_name" handling in SSLServerCertVerification.cpp (see: https://tools.ietf.org/html/draft-ietf-tls-esni-08#section-6.3.2)
  - Adds `mIsAcceptedEch` to TransportSecurityInfo, and xpcshell tests for ECH use cases
  - Adds EncryptedClientHelloServer to facilitate the xpcshell tests
  - Un-ifdef Set/GetEchConfigs code in nsNSSIOLayer.cpp. Also reverted the Base64 encoding and decoding, as the data returned from DNS is already decoded (wire-format).

Differential Revision: https://phabricator.services.mozilla.com/D92651
2020-12-04 15:26:17 +00:00
Mitchell Hentges e977945eea Bug 1679616: Include python[3]-dev in static-analysis-build image r=sylvestre
To build native python packages, the python dev packages are needed.
This should resolve the psutil installation failure.

Differential Revision: https://phabricator.services.mozilla.com/D98197
2020-12-04 16:20:37 +00:00
Emilio Cobos Álvarez 7c207e6d58 Bug 1680084 - Use a more precise rule start for sanitization. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D98710
2020-12-04 15:41:24 +00:00
Steve Fink 6a927752ef Bug 1678416 - Minor comment fixes r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D90901
2020-12-04 16:03:24 +00:00
Steve Fink 515d10f4bb Bug 1678416 - Remove a couple of calls to TimeStamp::Now() r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D90900
2020-12-04 16:03:13 +00:00
Steve Fink bd6330b7a4 Bug 1678416 - Merge ICCRunner and CCRunner into a single CCRunner r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D90633
2020-12-04 16:03:07 +00:00
Steve Fink 630f77d442 Bug 1678416 - Move more state to CCGCScheduler r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D97692
2020-12-04 16:02:59 +00:00
Steve Fink 68bc625380 Bug 1678416 - Implement IdleTaskRunner::SetBudget() and add some comments. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D97670
2020-12-04 16:02:52 +00:00
Gregory Mierzwinski 50dfc2cb3a Bug 1672142 - Update mozperftest perfdocs to include new test. r=tarek,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D98773
2020-12-04 15:47:22 +00:00
Ted Campbell 658cccaa07 Bug 1673567 - Cleanup initialization of JS::OffThreadToken. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D98543
2020-12-04 15:44:10 +00:00
Butkovits Atila e82dd032af Backed out changeset 247ecae76586 (bug 1678756) for failures on gfxTextRun.h. CLOSED TREE 2020-12-04 18:16:29 +02:00
Simon Giesecke 50e7efd650 Bug 1680760 - Allow SafeRefPtr construction to derive template argument type from a CheckedUnsafePtr. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D98769
2020-12-04 15:16:12 +00:00
Simon Giesecke 0acc527c9e Bug 1678030 - Generalize CreateAndExecuteSingleStepStatement to accept an optional bind functor. r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D97462
2020-12-04 15:15:31 +00:00
Simon Giesecke 1ff0e248eb Bug 1678030 - Support multiple variants of hasResult expectations in CreateAndExecuteSingleStepStatement. r=dom-workers-and-storage-reviewers,ttung
Differential Revision: https://phabricator.services.mozilla.com/D97461
2020-12-04 15:10:07 +00:00
Simon Giesecke e6b749fc81 Bug 1678030 - Move CreateAndExecuteSingleStepStatement to QuotaCommon and use in all quota clients. r=dom-workers-and-storage-reviewers,janv
Differential Revision: https://phabricator.services.mozilla.com/D97460
2020-12-04 14:56:18 +00:00