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

21445 Коммитов

Автор SHA1 Сообщение Дата
ffxbld 168f51b8b5 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D100503
2020-12-28 16:56:21 +00:00
Cosmin Sabou 2978aa00a3 Backed out changeset dbed1cdf588f (bug 1684173) for mochitest plain and devtools failures. a=backout DONTBUILD 2020-12-28 00:43:51 +02:00
Kartik Gautam 775cdec032 Bug 1684173 - Add newline character at end of files when missing r=sylvestre
Depends on D100443

Differential Revision: https://phabricator.services.mozilla.com/D100484
2020-12-27 11:43:41 +00:00
Kershaw Chang 0eebf69d04 Bug 1662676 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D99680
2020-12-22 16:44:36 +00:00
Sylvestre Ledru 4c0c328c0a Bug 1683840 - Fix some array-parameter errors found by gcc 11 r=necko-reviewers,dragana
I am aware they are third party code. pushing to keep a trace

Differential Revision: https://phabricator.services.mozilla.com/D100323
2020-12-24 12:41:28 +00:00
Dragana Damjanovic 539ededfd5 Bug 1683902 - Update neqo to 0.4.19 r=necko-reviewers,kershaw
Update neqo to 0.4.19

Differential Revision: https://phabricator.services.mozilla.com/D100338
2020-12-22 18:36:22 +00:00
Kershaw Chang bb995d9497 Bug 1665037 - Make some tests that using TrrServer run sequentially r=necko-reviewers,dragana
Depends on D99680

Differential Revision: https://phabricator.services.mozilla.com/D100339
2020-12-22 17:05:41 +00:00
Rob Wu dedef88684 Bug 1683189 - Release pending StreamFilter requests r=mattwoodrow,mixedpuppy,necko-reviewers,dragana
mStreamFilterRequests is current rejected/resolved from
nsHttpChannel::CallOnStartRequest. But that point may never be reached
for various reasons, including (internal) redirects and cancellations.
Ensure that they are cleaned up via nsHttpChannel::ReleaseListeners.

The test in test_ext_webRequest_viewsource_StreamFilter.js was already
passing before, but they were non-deterministic due to the reliance on
garbage collection of the HTTP channel. Now it completes soon.

The new test file, test_ext_webRequest_redirect_StreamFilter.js is a
regression test that actually confirms that the filter is closed as soon
as reasonably possible.

Differential Revision: https://phabricator.services.mozilla.com/D100189
2020-12-22 15:40:15 +00:00
Steven Englehardt 0ebdba6f2c Bug 1682450 - Parse only the final SameSite attribute when mutliple are present; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D99740
2020-12-21 19:24:30 +00:00
Butkovits Atila d25ca898cd Backed out changeset 9b4ab01fda40 (bug 1662676) for gv-junit failures. CLOSED TREE 2020-12-21 20:20:04 +02:00
Kershaw Chang 1c40c3d129 Bug 1662676 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D99680
2020-12-21 15:19:46 +00:00
Alexis Beingessner 53ac8f1b86 Bug 1682932 - ensure sAutoMemoryCacheCapacity is properly synchronized. r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D100027
2020-12-17 17:16:14 +00:00
ffxbld 09a2b437fc No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D100239
2020-12-21 14:41:51 +00:00
Kershaw Chang 06bcf38841 Bug 1682800 - Make inflation fail if there is no enough memory r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D100060
2020-12-18 12:37:13 +00:00
Simon Giesecke 9758d919eb Bug 1583109 - Use StringJoin(Append) where easily possible. r=nika
Bug 1583109 introduced new function templates StringJoin and StringJoinAppend.
These are now used to replace several custom loops across the codebase that
implement string-joining algorithms to simplify the code.

Differential Revision: https://phabricator.services.mozilla.com/D98750
2020-12-17 14:58:18 +00:00
ffxbld 377b7dd0c8 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D100015
2020-12-17 14:37:41 +00:00
Simon Giesecke 78678eab21 Bug 1679987 - Implement nsTSubstring::Split using nsTokenizedRange. r=xpcom-reviewers,necko-reviewers,nika
nsTSubstring::Split used to heap-allocate an array to store all tokens.
However, most uses of Split just use it to iterate in a range-based for loop.
The few remaining uses also don't need to iterate multiple times over all
tokens, so it's better to just use nsTokenizedRange, which tokenizes lazily.

Differential Revision: https://phabricator.services.mozilla.com/D99234
2020-12-17 12:36:47 +00:00
Masatoshi Kimura 3424a95ee0 Bug 1682103 - Make nsContentPolicyType a CEnum type. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D99580
2020-12-16 11:36:47 +00:00
Csoregi Natalia d8c9489b13 Backed out changeset 16d174e7c342 (bug 1583109) for bustage on nsReadableUtils.h. CLOSED TREE 2020-12-16 22:51:26 +02:00
Simon Giesecke 72babae175 Bug 1583109 - Use StringJoin(Append) where easily possible. r=nika
Bug 1583109 introduced new function templates StringJoin and StringJoinAppend.
These are now used to replace several custom loops across the codebase that
implement string-joining algorithms to simplify the code.

Differential Revision: https://phabricator.services.mozilla.com/D98750
2020-12-16 19:38:23 +00:00
Simon Giesecke db8cc251fb Bug 1679987 - Replace strtok for Vary header by nsCCharSeparatedTokenizer and range-based for. r=necko-reviewers,dom-workers-and-storage-reviewers,asuth,valentin
Differential Revision: https://phabricator.services.mozilla.com/D98309
2020-12-16 19:10:41 +00:00
Simon Giesecke 9379d0240f Bug 1679987 - Use nsTokenizedRange where easily possible. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D98308
2020-12-16 19:10:34 +00:00
Simon Giesecke 4a023dd2aa Bug 1679987 - Make nsTokenizerFlags a scoped enum and make them a template argument to nsTCharSeparatedTokenizer. r=xpcom-reviewers,necko-reviewers,nika
There are no uses of nsTCharSeparatedTokenizer that require run-time
configuration of the flags, so having them a compile-time template
argument allows for generation of more efficient code.

This might not matter that much now, but a subsequent patch will add another
flag to allow merging the implementation of nsTSubstring::Split with
nsTCharSeparatedTokenizer, through which the compile-time evaluation will
become more relevant.

Differential Revision: https://phabricator.services.mozilla.com/D99368
2020-12-16 19:10:21 +00:00
Simon Giesecke 29c054ab83 Bug 1679987 - Removed unused includes of nsCharSeparatedTokenizer.h. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D99877
2020-12-16 19:09:58 +00:00
Butkovits Atila f445afcec2 Backed out changeset 3b339694337c (bug 1677987) for causing build bustage on nsHttpChannel.cpp. CLOSED TREE 2020-12-15 19:37:25 +02:00
Dragana Damjanovic fe922a75e5 Bug 1677987 - Collect telemetry on the success rate of http requests with HTTP3 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D97444
2020-11-19 19:14:18 +00:00
Kartik Gautam f7ffcd09fb Bug 1679758 - Remove trailing empty lines r=sylvestre,marionette-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D99595
2020-12-15 10:34:54 +00:00
Kershaw Chang 15436fbdba Bug 1675207 - Fail the websocket connection when there is no enough memory r=necko-reviewers,valentin CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D99145
2020-12-15 04:18:17 +02:00
Sebastian Hengst d24e073b75 Merge mozilla-central to autoland 2020-12-15 00:16:27 +01:00
Butkovits Atila fd134a95ca Backed out changeset 084279c12a76 (bug 1675207) for build bustage complaining about rules.mk. CLOSED TREE 2020-12-14 15:42:52 +02:00
Kershaw Chang 0b0f595f73 Bug 1675207 - Fail the websocket connection when there is no enough memory r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D99145
2020-12-14 12:14:38 +00:00
Dorel Luca 7320ae982a Backed out changeset f3aaf04fce3b (bug 1679758) for Devtool failures in browser_styleeditor_syncAddProperty.js. CLOSED TREE 2020-12-13 16:38:21 +02:00
Kartik Gautam caf549c200 Bug 1679758 - Remove trailing empty lines r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D99595
2020-12-13 13:28:30 +00:00
Emilio Cobos Álvarez 3987c781d0 Bug 1635914 - Move active flag handling explicitly to BrowsingContext. r=nika
And have it mirror in the parent process more automatically.

The docShellIsActive setter in the browser-custom-element side needs to
be there rather than in the usual DidSet() calls because the
AsyncTabSwitcher code relies on getting an exact amount of notifications
as response to that specific setter. Not pretty, but...

BrowserChild no longer sets IsActive() on the docshell itself for OOP
iframes. This fixes bug 1679521. PresShell activeness is used to
throttle rAF as well, which handles OOP iframes nicely as well.

Differential Revision: https://phabricator.services.mozilla.com/D96072
2020-12-11 15:43:19 +00:00
Razvan Maries 63e133ae53 Backed out changeset 259ad0fe9f08 (bug 1675207) for build bustages on WebSocketChannelChild.h. CLOSED TREE 2020-12-11 12:05:34 +02:00
Kershaw Chang fcca17a6ca Bug 1675207 - Fail the websocket connection when there is no enough memory r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D99145
2020-12-11 09:35:05 +00:00
Kershaw Chang dc47506b2a Bug 1665037 - Make sure we wait trrServer to stop r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D99391
2020-12-10 22:01:27 +00:00
Kershaw Chang ded6541cb4 Bug 1679749 - Make sure we only close private connections when last private window closed r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D99238
2020-12-10 20:32:06 +00:00
Butkovits Atila d1ca78bf22 Backed out changeset 421c32ac0aaf (bug 1679749) for causing build bustage on rules.mk. CLOSED TREE 2020-12-10 15:30:17 +02:00
Kershaw Chang a6d76f36fb Bug 1679749 - Make sure we only close private connections when last private window closed r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D99238
2020-12-10 11:30:02 +00:00
Kershaw Chang e7843f8df0 Bug 1680249 - Don't create the coalescing key if the ip address is 0.0.0.0 or :: r=necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D99326
2020-12-10 11:26:31 +00:00
Dragana Damjanovic 57a8f77f33 Bug 1681689 - HTTP3 may receive multiple GOAWAY frames. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D99328
2020-12-10 10:30:12 +00:00
Simon Giesecke 4cab6ac723 Bug 1677466 - Move ParamTraits specializations with extra dependencies out of IPCMessageUtils.h. r=mccr8
This moves parts of IPCMessageUtils.h to two new header files and adapts
the include directives as necessary. The new header files are:
- EnumSerializer.h, which defines the templates for enum serializers
- IPCMessageUtilsSpecializations.h, which defines template specializations
  of ParamTraits with extra dependencies (building upon both IPCMessageUtils.h
  and EnumSerializer.h)

This should minimize the dependencies pulled in by every consumer of
IPCMessageUtils.h

Differential Revision: https://phabricator.services.mozilla.com/D94459
2020-12-10 11:09:21 +00:00
Simon Giesecke 92347a9513 Bug 1676346 - Add missing include directives etc. r=andi,necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D99323
2020-12-10 11:09:01 +00:00
Kershaw Chang 316aa453f0 Bug 1675207 - Fail the websocket connection when there is no enough memory r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D99145
2020-12-14 21:15:38 +00:00
Dragana Damjanovic 96b916ebe1 Bug 1682262 - Update neqo to 0.4.18 and bindgen to 0.56 r=necko-reviewers,emilio,valentin
Differential Revision: https://phabricator.services.mozilla.com/D99665
2020-12-14 18:38:49 +00:00
Nika Layzell 1cd7ee51fa Bug 1678463 - Part 3: Use DELETE_ON_MAIN_THREAD refcounting with DataResolver, r=necko-reviewers,valentin
The resolver object held by DataResolver must be destroyed on the actor's worker
thread, as it holds non-threadsafe references.

Differential Revision: https://phabricator.services.mozilla.com/D97827
2020-12-14 18:26:48 +00:00
Alexis Beingessner c8f416b627 Bug 1614697 - Make HttpBaseChannel and its children use MOZ_ATOMIC_BITFIELDS. r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D99306
2020-12-14 17:26:29 +00:00
Alexis Beingessner 70c9b7ef2c Bug 1681546 - rename MOZ_ATOMIC_BITFIELDS methods to Load/Store. r=valentin,necko-reviewers
I was running into issues where these names would conflict with the type's own Get/Set methods
and these names have the added benefit of indicating a bit more that atomic stuff is going on.

Differential Revision: https://phabricator.services.mozilla.com/D99268
2020-12-09 18:14:55 +00:00
ffxbld 978e531d38 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D99678
2020-12-14 14:31:26 +00:00