Commit graph

238 commits

Author SHA1 Message Date
Moonchild
0cd673d720 Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
Moonchild
538b420319 Issue #1656 - Part 4: Manual cleanup 2020-09-25 22:04:20 +08:00
Moonchild
d7a4abc3d4 Issue #1656 - Part 4: Tackle *.idl, *.css, *.ipdlh, *.webidl, *.cc 2020-09-25 22:04:18 +08:00
Moonchild
30df895eb2 Issue #1656 - Part 3: Nuke more vim config lines in the tree.
Another S&R run with some smarter matching.
2020-09-25 22:04:17 +08:00
Moonchild
8c395520d9 Issue #1656 - Part 1: Nuke most vim config lines in the tree.
Since these are just interpreted comments, there's 0 impact on actual code.
This removes all lines that match /* vim: set(.*)tw=80: */ with S&R -- there are
a few others scattered around which will be removed manually in a second part.
2020-09-25 22:04:12 +08:00
Michael Tuexen
5ec7dd76e6 [WebRTC] Stop putting addresses in the cookie chunk.
When using AF_CONN addresses, don't put these in the COOKIE
chunk. For these addresses it is possible to reconstruct them
locally. Conceptually, addresses are something to be shared
with the peer, but in the case of AF_CONN this might not be
the case. Therefore, zero then out.

Thanks to Natalie Silvanovich of Google Project Zero for
finding and reporting the issue.
2020-07-31 08:08:05 +08:00
Andrea Marchesini
7a37234be2 [xpcom] Make Base64 compatible with ReadSegments() with small buffers. 2020-07-31 08:07:55 +08:00
Moonchild
52c03190ee [network/dom] Improve sanitization of download filenames. 2020-07-31 08:07:47 +08:00
Moonchild
8d5005090a [network] Use query and ref lengths if available in nsStandardURL. 2020-07-11 07:02:31 +08:00
adeshkp
6cf6d2da88 Issue #80 - Include MDNSResponderOperator.h in libmdns/nsDNSServiceDiscovery.h for Mac
This is needed for forward declaration of `BrowseOperator` and `RegisterOperator`.
2020-05-23 06:53:26 +08:00
Gaming4JC
c314c2253d Issue #80 - Add nsSocketTransportService2.h to ThrottleQueue.cpp 2020-05-23 06:53:14 +08:00
Moonchild
391f2d1025 Issue #80 - De-unify netwerk/wifi 2020-05-23 06:53:11 +08:00
Moonchild
7d1c08bc99 Issue #80 - De-unify netwerk/streamconv 2020-05-23 06:53:08 +08:00
Moonchild
13c2026dc2 Issue #80 - De-unify netwerk/srtp 2020-05-23 06:53:05 +08:00
Moonchild
8863dff0dd Issue #80 - De-unify netwerk/socket 2020-05-23 06:53:02 +08:00
Moonchild
be78f46bae Issue #80 - De-unify netwerk/protocol/http 2020-05-23 06:52:58 +08:00
Moonchild
ff440ebb84 Issue #80 - De-unify netwerk/protocol/res 2020-05-23 06:52:55 +08:00
Moonchild
f0b717678c Issue #80 - De-unify netwerk/protocol/ftp 2020-05-23 06:52:03 +08:00
Moonchild
911270ea60 Issue #80 - De-unify smaller netwerk/protocol components
- data
- device
- file
- viewsource
- wyciwyg
2020-05-23 06:52:01 +08:00
Moonchild
60b7d2e259 Issue #80 - De-unify netwerk/protocol/about 2020-05-23 06:51:57 +08:00
Moonchild
1d2309df55 Issue #80 - De-unify netwerk/ipc 2020-05-23 06:51:54 +08:00
Moonchild
cf74460dc0 Issue #80 - De-unify netwerk/dns 2020-05-23 06:51:51 +08:00
Moonchild
14e038f2c5 Issue #80 - De-unify netwerk/cookie 2020-05-23 06:51:48 +08:00
Moonchild
36ea31cc81 Issue #80 - De-unify netwerk/cache2 2020-05-23 06:51:45 +08:00
Moonchild
fd7e75b6e6 Issue #80 - De-unify netwerk/cache 2020-05-23 06:51:42 +08:00
Moonchild
2ba616d271 Issue #80 - De-unify netwerk/base 2020-05-23 06:51:39 +08:00
Moonchild
9ec0ef7614 [WebRTC] Port some upstream sctp fixes
- add SCTP auth token boundary check.
- turn off SCTP auth and address reconfiguration.
2020-05-09 06:56:38 +08:00
wolfbeast
4337a5f1a8 Issue #1505 - Part 3: Make native mode actually native again. 2020-04-11 09:40:32 +08:00
wolfbeast
11f8f80826 Issue #1505 - Part 2: Store application build ID in nsHttpHandler
Since we're needing to reuse this several times, it makes it simpler to
just get it once in init and storing it.
2020-04-11 09:40:31 +08:00
wolfbeast
41a3028a67 Issue #1505 - Rebuild application version string
To respond dynamically to the pref change, the mAppVersion string needs
to be rebuilt.
Includes some minor improvements for corner cases and removes leftover
b2g junk.
2020-04-11 09:40:30 +08:00
wolfbeast
052b2e70a3 Issue #1280 - Un-bust certerror pages and ForgetAboutSite 2020-04-03 09:30:07 +08:00
wolfbeast
cf5f069080 Issue #1280 - Part 1: Remove HPKP components.
This also removes leftover plumbing for storing preload information
in SiteSecurityService since no service still uses it.
2020-04-03 09:27:11 +08:00
JustOff
6aa52af7ac Issue #1473 - Fix building %OS_SLICE% on non-Windows platforms 2020-04-03 09:26:52 +08:00
wolfbeast
7a9ab66aed [network] Cherry-pick various sctp lib upstream fixes. 2020-03-20 08:58:31 +08:00
JustOff
4f0a0c4606 Issue #1482 - Give dynamic SSUAO rules priority over static ones 2020-03-20 08:58:11 +08:00
JustOff
efb161c255 Issue #1053 - Remove no longer used function and modules from UserAgentUpdates.jsm 2020-03-13 10:24:01 +08:00
JustOff
0333159186 Issue #1473 - Add %OS_SLICE% macro to SSUAO to refine OS info 2020-03-13 10:23:59 +08:00
wolfbeast
577055a7e5 Issue #1474 - Prevent the cp detection from starting if preffed off.
When setting up connectivity, e.g. with new network detection, the pref
wouldn't be checked (or honored), resulting in spurious startup calls
despite being preffed off. This fixes that.

Resolves #1474
2020-03-13 10:23:25 +08:00
Matt A. Tobin
bb8b180863 Issue #1053 - Remove android support from netwerk/protocol/http/nsHttpHandler.cpp 2020-02-27 07:31:16 +08:00
Matt A. Tobin
93a435ae22 Issue #1053 - Remove android support from netwerk 2020-02-27 07:31:14 +08:00
wolfbeast
47cc63bc6c [Network] Bump http channel default Firefox CompatMode init value. 2020-02-14 22:46:00 +08:00
Matt A. Tobin
146d0aa2d2 Issue #1395 - Remove FlyWeb Service 2020-02-08 07:11:37 +08:00
New Tobin Paradigm
57809c759f Fix preprocessor directive in UserAgentUpdates.jsm 2020-02-07 07:56:01 +08:00
Matt A. Tobin
ef27cc7fd0 Issue #65 - Remove AppConstants from netwerk/ 2020-02-07 07:52:32 +08:00
athenian200
0fbfd09291 Fix whitespace. 2020-01-31 07:34:08 +08:00
athenian200
bd714bc690 Issue #1349 - Stop 2xx FTP responses from causing browser to hang.
LIST and RETR still appear to work as intended on ftp:// URLs after my changes. I wasn't able to test STOR because the browser doesn't appear to support FTP uploads at this time (although our FTP implementation appears perfectly capable of doing an FTP upload.)

If I understood the issue correctly, though, what we're doing is ensuring that we receive a preliminary 100 response from the FTP server for a given action before jumping to the 200 code describing what we do if the action was completed. Even though it makes no logical sense for a server to say an action was completed before it was initiated, someone could write a really annoying FTP server that takes advantage of this fact to crash the browser if they wanted.
2020-01-31 07:34:06 +08:00
wolfbeast
c8f73fb28e No issue - Fix unsafe http methods on HTTP/2 with TLSv1.3 0RTT. 2020-01-24 09:10:40 +08:00
wolfbeast
d43f7275d0 Handle missing base64 challenge in NegotiateAuth and NTLMAuth. 2020-01-10 17:07:02 +08:00
Valentin Gosu
38439fd244 Use mutex in PACResolver when accessing mRequest from multiple threads. 2019-12-06 22:46:44 +08:00
Gaming4JC
eb555aaa47 Issue #1288 - Use NS_DECL_THREADSAFE_ISUPPORTS in HttpBaseChannel.cpp
Fixes a regression in Part 1b which caused HTML5 parser to fall off the main thread.
2019-11-22 10:45:19 +08:00