Andreea Pavel
9e3c21fbdf
Backed out 3 changesets (bug 1475073, bug 1304645, bug 1474537) for failing wpt and mochitest on a CLOSED TREE
...
Backed out changeset 4fbeea69b10d (bug 1475073)
Backed out changeset d3ac68d9ead9 (bug 1304645)
Backed out changeset 113b601a3b59 (bug 1474537)
2018-07-20 14:00:09 +03:00
Christoph Kerschbaumer
da3b449455
Bug 1304645: Pass individual CSP errors as categories to web console error messages. r=baku
2018-07-20 10:42:46 +02:00
Andrea Marchesini
aca3590963
Bug 1470355 - BufferWriter should stop reading data when the wanted amount has been reached, r=michal
2018-07-02 02:00:00 +03:00
Dorel Luca
92a72ef340
Backed out 2 changesets (bug 1470355) for causing multiple failures
...
Backed out changeset 50b0bfa64b2c (bug 1470355)
Backed out changeset 198a4644c09a (bug 1470355)
2018-07-02 15:06:11 +03:00
Andrea Marchesini
02c9a69f1e
Bug 1470355 - BufferWriter should stop reading data when the wanted amount has been reached, r=michal
2018-07-02 02:00:00 +03:00
Chris Peterson
f7ceeaf5cf
Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj
...
This patch is an automatic replacement of s/NS_NOTREACHED/MOZ_ASSERT_UNREACHABLE/. Reindenting long lines and whitespace fixups follow in patch 6b.
MozReview-Commit-ID: 5UQVHElSpCr
2018-06-17 22:43:11 -07:00
Andrea Marchesini
b5f3f4e7ed
Bug 1469290 - Avoid extra locks in NS_ReadInputStreamToBuffer, r=valentin
2018-06-18 19:41:29 -04:00
Andrea Marchesini
e9435cffc2
Bug 1468108 - Increase the buffer size and avoid extra runnables in NS_ReadInputStreamToBuffer, r=valentin
2018-06-17 20:30:58 -04:00
Emilio Cobos Álvarez
4b8b5e1717
Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
...
This was done automatically replacing:
s/mozilla::Move/std::move/
s/ Move(/ std::move(/
s/(Move(/(std::move(/
Removing the 'using mozilla::Move;' lines.
And then with a few manual fixups, see the bug for the split series..
MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Andrea Marchesini
c8b49ba5dd
Bug 1446933 - Remove 'using namespace mozilla::net' from BackgroundUtils.h, r=qdot
2018-05-30 21:21:17 +02:00
Boris Zbarsky
a793b360eb
Bug 1455676 part 5. Remove nsIDOMNode usage from netwerk/. r=qdot
2018-05-29 22:58:48 -04:00
Chris Peterson
f35191ec18
Bug 1461243 - Part 2: Remove unused functions NS_CheckIsJavaCompatibleURLString() and NS_MakeRandomInvalidURLString(). r=jimm
...
These functions were only used in some Java workarounds in NPAPI _getproperty.
MozReview-Commit-ID: FqCd5ss1VqQ
2016-11-22 01:10:40 -08:00
Valentin Gosu
a8351c5f7b
Bug 1448058 - Remove nsIMutable from URI implementations r=mayhemer
...
* Also removes NS_TryToMakeImmutable, NS_TryToSetImmutable, URIIsImmutable
* NS_EnsureSafeToReturn, nsINetUtil.toImmutableURI
MozReview-Commit-ID: 5eFtFm2CQt7
2018-05-09 18:21:24 +02:00
Chris Peterson
5d6b16ea3b
Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj
...
s/NS_PRECONDITION/MOZ_ASSERT/ and reindent
MozReview-Commit-ID: KuUsnVe2h8L
2018-04-28 12:50:58 -07:00
Andi-Bogdan Postelnicu
99cba2dd23
Bug 1457411 - Update netwerk module to make use of newer methods introduced with c++11 and c++14. r=valentin
...
MozReview-Commit-ID: 666LNaHyiuQ
2018-04-30 19:46:04 +03:00
Christoph Kerschbaumer
0893b98e53
Bug 1454914: Exempt web-extensions from same-site cookie policy. r=valentin,kmag
2018-04-19 20:00:37 +02:00
Christoph Kerschbaumer
cf52757576
Bug 1454027 - Update SameSite cookie handling inside iframes.r=valentin
2018-04-17 18:25:59 +02:00
Christoph Kerschbaumer
547d999256
Bug 1453814: Treat any cross-origin redirects as foreign for same-site cookies. r=valentin
2018-04-13 15:42:00 +02:00
Andreea Pavel
ebf8959550
Backed out 2 changesets (bug 1453814) for failing dom/base/test/chrome/test_bug884693.xul on a CLOSED TREE
...
Backed out changeset 86a4c50c98f6 (bug 1453814)
Backed out changeset 4d37ff0c232e (bug 1453814)
2018-04-13 20:19:39 +03:00
Christoph Kerschbaumer
61e6f4b89d
Bug 1453814: Treat any cross-origin redirects as foreign for same-site cookies. r=valentin
2018-04-13 15:42:00 +02:00
Christoph Kerschbaumer
e23ecd42ac
Bug 1452496: Discard same-site cookie in cross site context. r=valentin
2018-04-12 12:52:51 +02:00
Nika Layzell
b4c313c43d
Bug 1437167 - Part 1: Stop using PRIntervalTime as the argument to CondVar::Wait and Monitor::Wait, r=mstange, r=froydnj
2018-04-10 17:49:47 -04:00
Christoph Kerschbaumer
e2074aeb9b
Bug 1286861: Update CookieService to enforce same site cookies. r=valentin
2018-04-08 19:52:05 +02:00
Henri Sivonen
6fbfac6f0d
Bug 1395114 - Remove nsIUnicharStreamLoader. r=emilio,michal
...
MozReview-Commit-ID: ECKNnJt80oK
2018-03-26 12:45:31 +03:00
Andrea Marchesini
cdb15164d7
Bug 1443079 - nsScriptError.isFromPrivateWindow must match the correct value also in e10s mode, r=smaug
2018-03-13 06:40:38 +01:00
Andrea Marchesini
c7ccfd0124
Bug 1431646 - Adding a completed boolean to know if the operation is completed in NS_ReadInputStreamToBuffer(), r=smaug
2018-02-28 07:14:41 +01:00
Jonathan Kingston
91e54f8c78
Bug 1435733 - Upgrade mixed display content pref. r=baku,ckerschb,francois,mayhemer
...
MozReview-Commit-ID: ETIgVF3zhRu
2018-02-05 15:37:27 +00:00
Valentin Gosu
58b69cefa1
Bug 1435671 - Reduce binary size by making NS_MutateURI.Apply not be a templated method r=mayhemer
...
We instead add a templated method NS_MutatorMethod that returns a std::function<nsresult(nsIURIMutator*)> which Apply then calls with mMutator as an argument.
The function returned by NS_MutatorMethod performs a QueryInterface, then calls the passed method with arguments on the result.
MozReview-Commit-ID: Jjqp7gGLG1D
2018-02-21 01:00:54 +01:00
nbeleuzu@mozilla.com
b62c960098
Backed out changeset c9dcce0a1068 (bug 1435671) for build bustages on nsIURIMutator.h. CLOSED TREE
2018-02-21 00:06:46 +02:00
Valentin Gosu
e594a13815
Bug 1435671 - Reduce binary size by making NS_MutateURI.Apply not be a templated method r=mayhemer
...
We instead add a templated method NS_MutatorMethod that returns a std::function<nsresult(nsIURIMutator*)> which Apply then calls with mMutator as an argument.
The function returned by NS_MutatorMethod performs a QueryInterface, then calls the passed method with arguments on the result.
MozReview-Commit-ID: Jjqp7gGLG1D
2018-02-20 22:39:40 +01:00
Andrea Marchesini
991fd07a91
Bug 1437152 - NS_ReadInputStreamToString doesn't reallocate the string if the size is passed, r=me
2018-02-12 18:49:36 +01:00
Andrea Marchesini
4947bdbbf5
Bug 1437152 - NS_ReadInputStreamToString doesn't reallocate the string if the size is passed, r=froydnj
2018-02-12 17:40:17 +01:00
Andrea Marchesini
3faaf5a84b
Bug 1425458 - Resource timing entries Workers - part 0 - NS_NewChannel, r=smaug
...
* * *
Bug 1425458 - Resource timing entries Workers - part 10 - Correct parameters in NS_NewChannel in nsDataObj.cpp, r=me
2018-01-24 17:17:31 +01:00
Narcis Beleuzu
427a1f4a33
Merge inbound to mozilla-central. a=merge
2018-01-24 23:56:14 +02:00
Valentin Gosu
a91ffced35
Bug 1432187 - Change code to use nsIStandardURLMutator.{init,setDefaultPort} r=mayhemer
...
MozReview-Commit-ID: K2Uy9ET3Ay6
2018-01-24 20:33:02 +01:00
Ben Kelly
b162cc9335
Bug 1231211 P12 Allow the ClientInfo and ServiceWorkerDescriptor to be passed to NS_NewChannel() for principal based loads. r=valentin
2018-01-23 10:38:54 -05:00
Luke Crouch
77eb3049d3
Bug 587523 - rename referer.userControlPolicy to referer.defaultPolicy r=valentin
...
MozReview-Commit-ID: A2hkYfdTCR9
2018-01-10 16:51:10 -06:00
Luke Crouch
8f3bdcf2d3
Bug 587523 - strict-origin-when-cross-origin referer policy in pbmode r=valentin
...
Adds new network.http.referer.defaultPolicy.pbmode pref which defaults to 2.
When setting referrer from default policy, checks mLoadInfo OriginAttributes
for mPrivateBrowsingId > 0 to detect PBM.
MozReview-Commit-ID: 7SfNk0dO1rW
2018-01-10 16:33:52 -06:00
Kate McKinley
400d720dc9
Bug 1424917 - Remove support for HSTS Priming. r=mayhemer, r=ckerschb
...
This patch removes support and tests for HSTS priming from the tree.
2018-01-10 11:07:00 -05:00
Michal Novotny
ba1765dd4d
Bug 1418752 - Firefox instahang on start after landing patch from bug #1392841.vr=honzab
...
Initialize in advance all security services whose initialization on background thread could cause a deadlock.
2017-12-19 21:08:15 -05:00
Cosmin Sabou
ad281ad5f6
Backed out changeset 5eff2c0351a9 (bug 1418752) for marionette harness fails on OS X at /builds/worker/workspace/build/src/netwerk/base/nsNetUtil.cpp:2669 r=backout on a CLOSED TREE
2017-12-18 19:50:00 +02:00
Michal Novotny
7b142f5828
Bug 1418752 - Firefox instahang on start after landing patch from bug #1392841 , r=honzab
...
Initialize in advance all security services whose initialization on background thread could cause a deadlock.
2017-12-15 05:45:00 +02:00
Andrea Marchesini
4cdec3b5e8
Bug 1424809 - Get rid of NS_NewPostDataStream, r=valentin
2017-12-12 06:01:17 -06:00
Andrea Marchesini
66a055c50b
Bug 1419382 - Moving ownership of nsIInputStream when using netUtil functions - part 4 - Get rid of NS_NewAsyncStreamCopier, r=smaug
2017-11-22 11:19:25 +01:00
Andrea Marchesini
e4f3681898
Bug 1419382 - Moving ownership of nsIInputStream when using netUtil functions - part 3 - NS_NewInputStreamPump, r=smaug
2017-11-22 11:18:57 +01:00
Andrea Marchesini
98ef19a386
Bug 1419382 - Moving ownership of nsIInputStream when using netUtil functions - part 2 - NS_NewInputStreamChannel, r=smaug
2017-11-22 11:18:36 +01:00
Andrea Marchesini
78d1ee0fd0
Bug 1419382 - Moving ownership of nsIInputStream when using netUtil functions - part 1 - NS_NewInputStreamChannelInternal, r=smaug
2017-11-22 11:18:18 +01:00
Andrea Marchesini
13d0a8a42d
Bug 1417448 - Better use of monitors in NS_ReadInputStreamToBuffer, r=smaug
2017-11-20 15:18:26 +01:00
Andrea Marchesini
f6d6d42580
Bug 1416724 - part 4 - AbstractThread::Dispatch return value check in netwerk/base, r=smaug
2017-11-15 07:58:03 +01:00
shindli
ec27542442
Backed out 4 changesets (bug 1416724) for failing /builds/worker/workspace/build/src/dom/media/hls/HLSDemuxer.cpp:89:5 r=backout on a CLOSED TREE
...
Backed out changeset 45352aa4319d (bug 1416724)
Backed out changeset 01d1e5263bcd (bug 1416724)
Backed out changeset bc854c315ec8 (bug 1416724)
Backed out changeset 35a50167485d (bug 1416724)
2017-11-15 09:49:04 +02:00