Moonchild
2f27335cc4
Issue #1751 -- Remove XP_DARWIN
2021-05-05 10:27:04 +08:00
Moonchild
434b3269fb
Issue #1767 - Prevent incorrect calling of network change detection function.
...
This rewrites the websocket channel network change detection function to not
skip part of its logic in a situation that has already been checked, preventing
a thread race. See analysis of the problem in the issue.
2021-05-05 10:25:45 +08:00
roytam1
3348d89604
partly imported from bk55:
...
- import changes from tenfourfox:
- #642 : M1699835 (modified)
- #642 : update eTLDs
2021-04-23 09:27:29 +08:00
roytam1
46c9b4df6f
Merge remote-tracking branch 'origin/master' into custom
2021-04-23 09:23:01 +08:00
Moonchild
69597507db
[Network] Solve type mismatch in AllowPort().
...
Casting it to an int16_t was wrong and would preclude the check for high port
numbers (due to overflow).
This makes the type matching, but adds an explicit check to ensure the port
number passed in is within a valid range.
2021-04-21 21:55:41 +08:00
roytam1
d72c60c303
Merge remote-tracking branch 'origin/master' into custom
2021-01-27 21:05:06 +08:00
Moonchild
b83d024efb
[network] Hold mutex when accessing mSecurityInfo.
2021-01-27 21:03:07 +08:00
roytam1
2e836f2b39
import change from tenfourfox: #633 : update TLDs, timezone data (7b437c98d)
2021-01-25 21:27:02 +08:00
roytam1
e075f1b671
Merge remote-tracking branch 'origin/master' into custom
2020-12-21 15:13:46 +08:00
adesh
942b305400
Issue #1697 - Reinstate the performance timing code removed in error.
...
This was a fallout from pull request #929 .
2020-12-21 15:11:57 +08:00
Moonchild
9f0067af53
Issue #1695 - Restore Sleep/Wake timer that was erroneously removed.
...
This was fallout from PR #929 for Issue #21
2020-12-21 15:11:48 +08:00
Moonchild
f1eb2c5cfb
[network] Update port blacklist.
...
See BZ bugs 1674735, 1677047, 1677940 and 1676868 for details.
2020-12-21 15:10:29 +08:00
roytam1
0f5904acc6
Merge remote-tracking branch 'origin/master' into custom
2020-12-12 00:15:44 +08:00
Moonchild
f04f4a996f
Issue #1695 - Fix socket timeout logic.
2020-12-10 10:31:43 +08:00
roytam1
ee11f1749b
Merge remote-tracking branch 'origin/master' into custom
2020-12-02 09:58:28 +08:00
Brian Smith
e4030ad075
Issue #1690 - Part 1: Fix MacOS version detection above 10.15.
...
Changes based on Mozilla bug 1616404 but supporting back to 10.7.
2020-12-02 09:57:28 +08:00
roytam1
c5bb4ee5fa
Merge remote-tracking branch 'origin/master' into custom
2020-11-20 09:32:22 +08:00
Moonchild
63a7c7f90e
[http] Use a copy of nsHttpConnectionInfo.
...
The root cause in this bug is that the connection info used by
'SpdyConnectTransaction' is the same instance as the connection info in
'nsHttpTransaction', so we should clone it and let 'SpdyConnectTransaction' use
the cloned one.
2020-11-20 09:31:27 +08:00
roytam1
4903a8dfa9
Merge remote-tracking branch 'origin/master' into custom
2020-10-30 09:27:13 +08:00
Moonchild
a77ab3da7f
Issue #1656 - Nuke the remaining vim lines in UXP
...
Closes #1656
2020-10-30 09:09:20 +08:00
Moonchild
efa2f805fe
[netwerk] Make nsIncrementalStreamLoader's GetNumBytesRead threadsafe.
...
This prevents a potential race and simplifies the code a bit by keeping the
bytes read separate instead of using mData, which is modified from another
thread from OnDataAvailable.
Relaxed atomics are fine for these, since they don't guard any memory.
2020-10-30 09:08:13 +08:00
roytam1
c0eddaf735
import tzdata and DNS from tenfourfox (as of rev 16c85bb3)
2020-10-09 21:25:52 +08:00
roytam1
56aaf6a15a
Merge remote-tracking branch 'origin/master' into custom
2020-09-25 22:18:48 +08:00
Moonchild
9305760571
Issue #1656 - Part 9: Single-line-comment style.
2020-09-25 22:07:00 +08:00
Moonchild
d5919942ff
Issue #1656 - Part 8: Devtools and misc.
2020-09-25 22:06:55 +08:00
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
roytam1
48b96210d1
partly import change from tenfourfox:
...
- #618 : EV now from ESR78, update TLDs, pins, HSTS (cb0f39c2f)
2020-09-19 07:04:44 +08:00
Roy Tam
61e493cf30
Merge remote-tracking branch 'origin/master' into custom
2020-07-31 08:12:40 +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
Roy Tam
a4875a589f
Merge remote-tracking branch 'origin/master' into custom
2020-07-11 07:15:30 +08:00
Moonchild
8d5005090a
[network] Use query and ref lengths if available in nsStandardURL.
2020-07-11 07:02:31 +08:00
Roy Tam
1a8a524849
Merge remote-tracking branch 'origin/master' into custom
2020-05-23 06:59:40 +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