Commit graph

68 commits

Author SHA1 Message Date
janekptacijarabaci
09a81da02d CSP: Support for "LoadInfo::GetLoadingContext" and "LoadInfo::GetLoadingContextXPCOM()"
https://bugzilla.mozilla.org/show_bug.cgi?id=1439713 (partially)
2019-02-16 00:04:33 +08:00
wolfbeast
624aa2c581 Fix SSL status ambiguity.
- Adds CipherSuite string with the full suite
- Changes CipherName to be the actual cipher name instead of the (erroneous) full suite like Firefox does.
2019-02-16 00:03:48 +08:00
Valentin Gosu
bfe6f25a2d Sanity-check in nsStandardURL::Deserialize(). r=mayhemer, a=RyanVM
Also add test for faulty nsStandardURL deserialization.

See Bug 1392739.
2019-02-16 00:02:02 +08:00
wolfbeast
155cee3aae Revert "Disable TLS 1.3 by default for now until our NSS can be updated to the latest spec."
This reverts commit 6c3f95480a191ce432ddfb2aa400a6d70c4884a8.
2019-02-16 00:01:11 +08:00
wolfbeast
b74e38782d Port our stricter cookie gating.
This addresses the critical section of #449.
2019-02-16 00:00:52 +08:00
janekptacijarabaci
4a6ce109b1 Build - throws a warning: 'rv': unreferenced local variable
PR #412
2019-02-15 23:59:49 +08:00
Gaming4JC
d4ac94cf3e Remove support and tests for HSTS priming from the tree. Fixes #384 2019-02-15 23:59:39 +08:00
wolfbeast
fdf7ba29b4 Fix sec pref locations and enable HPKP checking by default.
Some prefs were incorrectly in all.js (ocsp and hpkp)
2019-02-15 23:59:35 +08:00
Jan Steffens
51c2477b99 Bug 1314968 - Explicitly specify the AccessPoint interface name. r=kanru
The DBus specification allows passing an empty string as the interface to the
org.freedesktop.DBus.Properties.GetAll call to get all properties, throwing away the namespace
(interface) information.

However, GDBus does not allow this. When NetworkManager moved to using GDBus, Firefox lost the
ability to retrieve access points from NetworkManager.

Since we're only interested in properties from the org.freedesktop.NetworkManager.AccessPoint
interface, name it explicitly. This works with both the old and the new NetworkManager.

MozReview-Commit-ID: Kc5HaYvwfRZ

--HG--
extra : rebase_source : e1550d327e5a4ea05b8d35d98ef7b27c0add709b
2019-02-15 23:58:07 +08:00
JustOff
0aeb4a7e15 Revert incorrect UAO optimization that broke SSUAO 2019-02-15 23:57:29 +08:00
wolfbeast
74df182488 Remove other gonk widget conditionals and unused files.
Tag #288.
2019-02-15 23:57:15 +08:00
wolfbeast
0e73df8e21 Fix incorrectly removed #includes
Tag #288.
2019-02-15 23:57:12 +08:00
wolfbeast
2531de02eb Remove MOZ_WIDGET_GONK [2/2]
Tag #288
2019-02-15 23:57:10 +08:00
wolfbeast
719ac1bc38 Remove MOZ_B2G leftovers and some dead B2G-only components. 2019-02-15 23:57:05 +08:00
trav90
648b8b2917 Remove nameprep.c from moz.build
Follow up to e6d4a8daf3497986d55bd4b4cfd85b11bc5684d1
2019-02-15 23:56:23 +08:00
wolfbeast
6b2478e225 Issue #325 Part 11: Fix up build files. 2019-02-15 23:56:12 +08:00
wolfbeast
1af1f5b3a3 Issue #325 Part 1: Remove the legacy non-IDNA2008 code path from nsIDNService. 2019-02-15 23:55:56 +08:00
janekptacijarabaci
846daf6d3b Bug 1182569: Update ContentSecurityManager to handle docshell loads 2019-02-15 23:54:22 +08:00
janekptacijarabaci
6885700c5b moebius#158: The Performance Resource Timing (added support for "workerStart")
https://github.com/MoonchildProductions/moebius/pull/158
2019-02-15 23:53:25 +08:00
wolfbeast
63045af8a2 Disable TLS 1.3 by default for now until our NSS can be updated to the latest spec. 2019-02-15 23:50:30 +08:00
janekptacijarabaci
7f09dee539 moebius#187: DOM - nsIContentPolicy - context (document)
https://github.com/MoonchildProductions/moebius/pull/187
2019-02-15 23:49:47 +08:00
janekptacijarabaci
850879535a Revert "Bug 1182569: Update ContentSecurityManager to handle docshell loads"
This reverts commit 2e33335820b2816bee111e78588ac82e401c86ae.
2019-02-15 23:49:44 +08:00
janekptacijarabaci
983926cce7 Bug 1182569: Update ContentSecurityManager to handle docshell loads
native in moebius
2019-02-15 23:49:30 +08:00
janekptacijarabaci
8dccc387f9 Bug 1323683 - Fold nsIURIWithQuery into nsIURI
native in moebius
2019-02-15 23:49:27 +08:00
janekptacijarabaci
18d312235d moebius#230: Consider blocking top level window data: URIs (part 3/3 without tests)
https://github.com/MoonchildProductions/moebius/pull/230
2019-02-15 23:49:20 +08:00
janekptacijarabaci
73f89fe562 moebius#226: Consider blocking top level window data: URIs (part 2/2 without tests)
https://github.com/MoonchildProductions/moebius/pull/226
2019-02-15 23:49:19 +08:00
janekptacijarabaci
712d19e1b7 moebius#223: Consider blocking top level window data: URIs (part 1/3 without tests)
https://github.com/MoonchildProductions/moebius/pull/223
2019-02-15 23:49:17 +08:00
Valentin Gosu
222de2080c Bug 1433609 - Ensure that deserialized URL is correct. r=mayhemer, a=RyanVM
MozReview-Commit-ID: BMQfPzPhDhc
2019-02-15 23:47:02 +08:00
Thomas Nguyen
787c782fd8 Bug 1361699 - Add buffer when writing hashstore to file. r=gcp, r=mcmanus, a=RyanVM
We write a lot of 4-bytes prefixes to file which call many system calls.
We should use a buffer and only write to file if the buffer is full or
finish writing. nsIBufferedOutputStream is a good candidate to do that

MozReview-Commit-ID: CzGOd7iXVTv

--HG--
extra : source : 8f2b4efc5f0d3191a7e80d9324933621e111b44a
2019-02-15 23:47:01 +08:00
janekptacijarabaci
de0621cc7e moebius#131: URL parser - stop preserving empty passwords
https://github.com/MoonchildProductions/moebius/issues/131
2019-02-15 23:46:01 +08:00
janekptacijarabaci
196fddddb6 moebius#130: URL parser - fix: don't allow empty host name
https://github.com/MoonchildProductions/moebius/issues/130
2019-02-15 23:45:55 +08:00
trav90
55b7eeecbf Fix GCC -Wreorder warnings. 2019-02-15 23:45:51 +08:00
janekptacijarabaci
637540d66e JS - location.hash - no escape single quote 2019-02-15 23:45:46 +08:00
janekptacijarabaci
8f4e22e819 Bug 1431095 - Change Content-Type-Options: nosniff allowed script MIME types to match the spec 2019-02-15 23:42:44 +08:00
wolfbeast
434f3590e3 Remove base conditional code for crash reporter and injector. 2019-02-15 23:39:53 +08:00
wolfbeast
6790fd483b Be more explicit with a lock. 2019-02-15 23:38:03 +08:00
Ben Kelly
94a68d86a9 Bug 1440775 - Make fetch API force-cache and only-if-cached use VALIDATE_NEVER instead of LOAD_FROM_CACHE. r=mayhemer, a=RyanVM
--HG--
extra : source : 60fb09de57ec145923da102f856399d3323f632b
extra : amend_source : b42db87defcc5615773cfa4659af9ff5b9cd4b72
extra : intermediate-source : 599641c7992def734cb352d9413aa51bf0e9793f
extra : histedit_source : 1d42c837225bdf000d3a68bef46a862be87d4044
2019-02-15 23:37:25 +08:00
Valentin Gosu
2022008a84 Bug 1334465 - Set mIPCClosed to true before calling SendDeleteSelf in order to avoid race. r=bagder, a=ritu
In the previous code, a race condition could cause us to call SendSetPriority() after calling SendDeleteSelf.

For example:
T1: SendDeleteSelf()
T2: if (!mIPCClosed) SendSetPriority()
T1: mIPCClosed = true

MozReview-Commit-ID: 3XOwCaphb2o

--HG--
extra : rebase_source : d6e6886402d1e0b0afed23c25a9fb18d8ca29ad6
extra : intermediate-source : cfc9afe916091e6449f7d748991e2a19187dc817
extra : source : 4ebdab0e332892378558817e30d0138c95199ce5
2019-02-15 23:37:08 +08:00
Valentin Gosu
c82a62a1ac Bug 1334465 - Make HttpChannelParent::mIPCClosed atomic. r=bagder, a=ritu
MozReview-Commit-ID: 6irCJMAjzjW

--HG--
extra : rebase_source : 2357ab0b9d1d693dac9e5f4f16f34f370c6591b5
extra : intermediate-source : 48b9f6671588c3c2b8d3b4ea6ba1267f5e297f83
extra : source : bd315ae86709c3459a3dbf0778022ff3b1908723
2019-02-15 23:37:06 +08:00
Nicholas Hurley
b49b2afc58 Bug 1416529. r=mcmanus, a=ritu
MozReview-Commit-ID: CD1l5vLB4yy

--HG--
extra : rebase_source : d74f8ca96dab4e0d25d79948fcddbf8dab98bb36
2019-02-15 23:37:02 +08:00
wolfbeast
0429ca95e0 Remove Rust URL parser CAPI
Part 2 for #58
2019-02-15 23:36:39 +08:00
janekptacijarabaci
54f2e6eafd DevTools - network - implement the secureConnectionStart property for the PerformanceTiming
https://github.com/MoonchildProductions/moebius/pull/116
("/testing" and "/toolkit" in in the previous commit)
2019-02-15 23:34:40 +08:00
wolfbeast
43fe9261ea Activate TLS 1.3 by default.
This resolves #15.
2019-02-15 23:33:55 +08:00
janekptacijarabaci
6ba7168a9c Style clean up 2019-02-15 23:33:54 +08:00
janekptacijarabaci
3d994cb36d Bug 1344340 - "An unknown error has occurred (804b000c)" appears in the statusbar when loading some sites 2019-02-15 23:33:52 +08:00
janekptacijarabaci
a7f276d915 Bug 1328955 - When a client tries TLS1.3 with EarlyData and a server falls back to tls1.2,we should reconnect using tls1.3 without EarlyData 2019-02-15 23:33:51 +08:00
janekptacijarabaci
8b37136dc4 Bug 1351392 - Fix transport status events for http2 and ftp 2019-02-15 23:33:48 +08:00
janekptacijarabaci
62dc2168b0 Bug 1344890 - h2 tls 1.3 early data problem with https://echo.filippo.io/foo 2019-02-15 23:33:46 +08:00
janekptacijarabaci
202ca6d067 Bug 1322373 - TLS 1.3 early-data for http/2 2019-02-15 23:33:44 +08:00
janekptacijarabaci
0f08cb0c4f Bug 1345240 - h2 stalls on failed early data hard reload 2019-02-15 23:33:43 +08:00