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

732910 Коммитов

Автор SHA1 Сообщение Дата
Valentin Gosu e276174f5e Bug 1674328 - Make DNS requests use TRR_DISABLED_MODE instead of using RESOLVE_DISABLE_TRR flag r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D95263
2020-11-02 10:30:31 +00:00
Marco Bonardo 47366988d7 Bug 1674005 - Fortify PromiseSet in AsyncShutdown. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D95088
2020-11-01 23:13:44 +00:00
Sebastian Hengst 62b2f10e8c Bug 1674624 - allow timeout for test step in fontface-override-descriptor-getter-setter.sub.html. DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D95486
2020-11-02 10:10:57 +00:00
Johann Hofmann 97615080ae Bug 1672346 - Use originNoSuffix for building uris for entity list lookup in PurgeTrackerService. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D94786
2020-11-02 09:53:45 +00:00
mcccs 039fe95a03 Bug 1667579 - Pref to manually enter NAT64 prefix. r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D94597
2020-11-02 08:05:10 +00:00
Ting-Yu Lin 06aecc5c9f Bug 1674450 Part 8 - Remove SizeComputationInput's one-argument methods to set margin, border/padding, and padding. r=layout-reviewers,jfkthame
The two-argument versions are clearer and easier to use because they
work for any pair of writing mode and logical margin.

Differential Revision: https://phabricator.services.mozilla.com/D95371
2020-10-31 14:45:02 +00:00
Ting-Yu Lin 1531f4b093 Bug 1674450 Part 7 - Store SizeComputationInput's computed margin, border/padding, and padding in logical coordinates. r=layout-reviewers,jfkthame
The one-argument SetComputedLogicalMargin(),
SetComputedLogicalBorderPadding(), and SetComputedLogicalPadding() are
not changed because the next part are going to delete them.

Note that I'm deliberately not making ComputedLogicalMargin() and others
to return `const LogicalMargin&` because the compilers can use RVO to
eliminate unnecessary copy. If we'd like to convert them to accept all
writing mode like `nsIFrame::GetLogicalUsedMargin(WritingMode)` so that
the caller don't need to call `ConvertTo`, they can't return a const
reference anyway.

Differential Revision: https://phabricator.services.mozilla.com/D95370
2020-10-31 14:42:04 +00:00
Ting-Yu Lin 8c17380539 Bug 1674450 Part 6 - Convert ReflowInput::Init()'s optional border and padding parameters to Maybe<LogicalMargin>. r=layout-reviewers,jfkthame
Similar to the optional aContainingBlockSize parameter, both border and
padding should use logical coordinates in ReflowInput::mFrame's writing
mode.

Table frames that need to override border and padding can be simplified a bit.
However, DR_init_constraints_cookie and DR_init_offsets_cookie become more
complex, but they're only for debugging. I'm not planning to update their
internal APIs.

Differential Revision: https://phabricator.services.mozilla.com/D95369
2020-10-31 14:39:23 +00:00
Ting-Yu Lin acabe0a427 Bug 1674450 Part 5 - Remove SizeComputationInput::ComputedPhysicalBorderPadding() that returns a writable-reference. r=layout-reviewers,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D95368
2020-10-31 14:30:11 +00:00
Ting-Yu Lin d151cd5349 Bug 1674450 Part 4 - Remove SizeComputationInput::ComputedPhysicalPadding() that returns a writable-reference. r=layout-reviewers,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D95367
2020-10-31 14:29:50 +00:00
Ting-Yu Lin e1e3ab6157 Bug 1674450 Part 3 - Remove SizeComputationInput::ComputedPhysicalMargin() that returns a writable-reference. r=layout-reviewers,jfkthame
I favor two-argument SetComputedLogicalMargin() for clarity in this
patch series because it works for any pair of writing mode and logical
margin.

Spoiler alert: the one-argument SetComputedLogicalMargin() will be
removed in a later part.

Differential Revision: https://phabricator.services.mozilla.com/D95366
2020-10-31 14:29:27 +00:00
Ting-Yu Lin f3ddf5810b Bug 1674450 Part 2 - Rename aWM to aCBWM for some SizeComputationInput's methods. r=layout-reviewers,jfkthame
This is a pure rename to make the argument meaning clearer. In the later
parts, we might use `wm` as an alias to
SizeComputationInput::mWritingMode. It's important to differentiate
between mWritingMode and containing block's writing mode.

Differential Revision: https://phabricator.services.mozilla.com/D95365
2020-10-31 14:29:20 +00:00
Ting-Yu Lin cc9d98f163 Bug 1674450 Part 1 - Move a ReflowInput's constructor down in the file so that both constructors are near. r=layout-reviewers,jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D95364
2020-10-31 14:29:07 +00:00
Lee Salzman 16d30bafd4 Bug 1674556 - adjust SWGL fuzz on layout/reftests/bugs/409659. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D95476
2020-11-02 01:57:17 +00:00
Jeff Muizelaar 627cb758c8 Bug 1674671 - Add some documentation about the architecture of glsl-to-cxx. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D95462
2020-11-02 00:03:07 +00:00
Marco Bonardo 71dde4521c Bug 1674418 - Properly handle conn.close() exception to not block async shutdown. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D95326
2020-11-01 20:37:26 +00:00
Dragana Damjanovic 5dc542764f Bug 1673611 - Improve Http3Stream state machine and add a test for a protocol error r=necko-reviewers,valentin
- We have an assumption that SetResponseHeaders will be called before WriteSegments is called for the first time. I would like to make it more structural add add a new state BEFORE_HEADERS
 - mDataReceived was never set, which is wrong.
 - Almost any error that occurs during ReadResponseData is a connection error and neqo will handle it internally by closing the session. This will be read by necko as ConnectionState change event. Therefore ignore errors received from mHttp3Connection->ReadResponseData and let the ConnectionChange event close the stream.
 - This also adds a test. Because the stream has received some data already the transaction will br closed with the NS_ERROR_NET_PARTIAL_TRANSFER error.

Differential Revision: https://phabricator.services.mozilla.com/D94951
2020-11-01 13:54:02 +00:00
Dragana Damjanovic addc913ff7 Bug 1673611 - Add a quic server r=necko-reviewers,valentin
This will allow us to make response that violate the Http3 protocol and cause a protocol error.
Currently the server returns only one response, we may extend it if needed.

Differential Revision: https://phabricator.services.mozilla.com/D94912
2020-11-01 15:48:45 +00:00
Dragana Damjanovic f98bbedf40 Bug 1673611 - Rewrite Http3Stream::WriteSegments to be similar to the nsHttpConnection's implementation r=necko-reviewers,valentin
- This will make handling of responses contain only headers in the same way as the responses with
   a response body
 - This will also make sure we pick up an error if neqo_http3conn_read_response_data return one.

Differential Revision: https://phabricator.services.mozilla.com/D94834
2020-11-01 13:54:54 +00:00
Jeff Muizelaar 0f61683211 Bug 1674656 - qcms: make lut_inverse_interp16 safe. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D95460
2020-11-01 20:06:06 +00:00
Jeff Muizelaar 7d71ab63f7 Bug 1674621 - qcms: change some *mut to *const. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D95459
2020-11-01 20:05:01 +00:00
Emilio Cobos Álvarez 38919a1a21 Bug 1673885 - Don't expose incomplete sheets in LinkStyle.sheet / Document.styleSheets. r=nordzilla
This matches other browsers, and common sense to some extent.

The code is a bit awkward because I want this behind a pref for now, as
it's not precisely a zero-risk change.

Differential Revision: https://phabricator.services.mozilla.com/D95065
2020-11-01 15:45:40 +00:00
Dragana Damjanovic ee9a5a9657 Bug 1674095 - Make some functions in nsHttpConnectionMgr private. r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D95131
2020-10-29 12:54:45 +00:00
Jeff Muizelaar 7b07725fe9 Bug 1672547 - qcms: Change some raw ptrs to references. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D94397
2020-11-01 01:54:48 +00:00
Jeff Muizelaar edcb500aaa Bug 1672309 - Port remaning gtests to Rust. r=aosmond
I've left the C++ ones for now.

Differential Revision: https://phabricator.services.mozilla.com/D94246
2020-10-31 21:55:20 +00:00
Dragana Damjanovic 7ad4b0ec71 Bug 1672520 - Make member variable of PendingTransactionInfo private r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D94509
2020-10-31 19:28:10 +00:00
Dragana Damjanovic 1df215415b Bug 1672520 - Part 6 - Make HalfOpens private r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D94507
2020-10-31 19:12:37 +00:00
Dragana Damjanovic 43fee4fc89 Bug 1672520 - Part 5 - Move PruneDeadConnectionsAfter call where the count is incremented so that everything is at one place r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D94506
2020-10-31 19:12:39 +00:00
Dragana Damjanovic 1b4f6c5450 Bug 1672520 - Part 4 - Avoid changing counters when a conn is moved from one to another ConnectionEntry r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D94505
2020-10-31 19:12:23 +00:00
Dragana Damjanovic 74473ecf4c Bug 1672520 - Part 3 - Make mActiveConns private r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D94503
2020-10-31 19:12:25 +00:00
Dragana Damjanovic 5961271991 Bug 1672520 - Part 2 - Make mIdleConns private r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D94437
2020-10-31 19:12:27 +00:00
Dragana Damjanovic 1115c6e2e2 Bug 1672520 - Part 1 - Move Pending queues and their logic into a separate class. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D94423
2020-10-31 19:12:30 +00:00
Dragana Damjanovic e4846fef40 Bug 1672520 - Part 0 - Move all different classes defined in nsHttpConnectionMgr into separate files. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D94392
2020-10-31 19:12:32 +00:00
Dorel Luca b3d70328e9 Backed out 8 changesets (bug 1672520) for Build bustage in gecko/netwerk/protocol/http/nsHttpConnectionMgr.cpp. CLOSED TREE
Backed out changeset fd7e69c065d9 (bug 1672520)
Backed out changeset dd9c9c3c959c (bug 1672520)
Backed out changeset 84ad3077d7ef (bug 1672520)
Backed out changeset 09de9356d225 (bug 1672520)
Backed out changeset 6a0a89a02779 (bug 1672520)
Backed out changeset c1b12059f317 (bug 1672520)
Backed out changeset 473498b3df4c (bug 1672520)
Backed out changeset e2a2ecf84209 (bug 1672520)
2020-10-31 21:08:35 +02:00
Dragana Damjanovic 488391f331 Bug 1674366 - Adapt to the neqo API changes r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D95294
2020-10-31 18:44:41 +00:00
Dragana Damjanovic a0d95ff222 Bug 1674366 - Neqo version 0.4.14 r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D95291
2020-10-31 18:44:21 +00:00
Dragana Damjanovic c824810ab5 Bug 1672520 - Make member variable of PendingTransactionInfo private r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D94509
2020-10-31 18:26:42 +00:00
Dragana Damjanovic a0deb61454 Bug 1672520 - Part 6 - Make HalfOpens private r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D94507
2020-10-31 14:18:37 +00:00
Dragana Damjanovic 795bbe3c4e Bug 1672520 - Part 5 - Move PruneDeadConnectionsAfter call where the count is incremented so that everything is at one place r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D94506
2020-10-31 14:16:57 +00:00
Dragana Damjanovic 9dc665f3bc Bug 1672520 - Part 4 - Avoid changing counters when a conn is moved from one to another ConnectionEntry r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D94505
2020-10-31 14:10:38 +00:00
Dragana Damjanovic d5fe4bc679 Bug 1672520 - Part 3 - Make mActiveConns private r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D94503
2020-10-31 14:10:30 +00:00
Dragana Damjanovic 9bc8ff0598 Bug 1672520 - Part 2 - Make mIdleConns private r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D94437
2020-10-31 14:10:03 +00:00
Dragana Damjanovic a028a32bb4 Bug 1672520 - Part 1 - Move Pending queues and their logic into a separate class. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D94423
2020-10-31 14:06:07 +00:00
Dragana Damjanovic 88c1ed7234 Bug 1672520 - Part 0 - Move all different classes defined in nsHttpConnectionMgr into separate files. r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D94392
2020-10-31 14:04:01 +00:00
Ted Campbell cbf947ada3 Bug 1674465 - Add CompileOptions::useStencilXDR. r=arai
No changes to behaviour. This splits the useOffThreadParseGlobal flag into
cases that care about the format and cases that care about the GC.

Depends on D95380

Differential Revision: https://phabricator.services.mozilla.com/D95381
2020-10-31 04:52:15 +00:00
Ted Campbell 85148b16e3 Bug 1674465 - Refactor XDR script/stencil switching code. r=arai
Instead of relying directly on the UseOffThreadParseGlobal() flag to
determine the format of the XDR buffer, refactor to add useStencilXDR
locals to use. In the future, we can hook this to a different condition that
is independant of the parse-global status.

Also move the encoding of stencil until after instantiation for simplicity.
In the past, instantiation would mess with the stencil, but that has been
resolved now.

Depends on D95379

Differential Revision: https://phabricator.services.mozilla.com/D95380
2020-10-31 04:52:15 +00:00
Ted Campbell a7432d83da Bug 1674465 - Cleanup DecodeMultiScripts handling of off-thread-parse-global. r=arai
No change to behaviour, but move the exception earlier instead of mutating
CompileOptions after they are saved.

Differential Revision: https://phabricator.services.mozilla.com/D95379
2020-10-31 04:52:15 +00:00
Jonathan Kew 5050c89342 Bug 1672925 - Catch possible exceptions when trying to access font tables loaded through DWrite. r=lsalzman
If there's a device error trying to read some of the data from a font, it's better to catch the exception
and leave that individual font unusable (without names or character map) than to crash the whole process.

Differential Revision: https://phabricator.services.mozilla.com/D95146
2020-10-31 14:27:40 +00:00
Lee Salzman d1f364349a Bug 1621454 - adjust fuzz for SWGL span shaders. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D95325
2020-10-31 13:30:57 +00:00
Lee Salzman 30859a273e Bug 1621454 - reduce requirements for SIMD padding in SWGL. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D95148
2020-10-31 13:30:57 +00:00