Narcis Beleuzu
359bfccedf
Backed out 8 changesets (bug 1574475, bug 1699222) for build bustages on moz.build . CLOSED TREE
...
Backed out changeset 6c2c039872b3 (bug 1574475)
Backed out changeset 8a2a04743c5f (bug 1699222)
Backed out changeset 9437c60798d6 (bug 1574475)
Backed out changeset 7ef1884ac11b (bug 1574475)
Backed out changeset ec8c237d5298 (bug 1574475)
Backed out changeset 4a760b3f5d53 (bug 1574475)
Backed out changeset b229b0eea1e7 (bug 1574475)
Backed out changeset 03d34a2f10a6 (bug 1574475)
2021-04-22 18:10:59 +03:00
Valentin Gosu
52e46d11c4
Bug 1574475 - Remove FTP proxy code r=necko-reviewers,preferences-reviewers,mixedpuppy,mkaply,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D111248
2021-04-22 13:41:34 +00:00
Simon Giesecke
95c38cc6b8
Bug 1691913 - Rename nsBaseHashtable::Put to InsertOrUpdate. r=xpcom-reviewers,necko-reviewers,jgilbert,dragana,nika
...
This makes the naming more consistent with other functions called
Insert and/or Update. Also, it removes the ambiguity whether
Put expects that an entry already exists or not, in particular because
it differed from nsTHashtable::PutEntry in that regard.
Differential Revision: https://phabricator.services.mozilla.com/D105473
2021-02-26 09:11:46 +00:00
Kershaw Chang
b401892ab7
Bug 1680688 - Add a delay before we reload PAC url r=necko-reviewers,valentin
...
Apparently, some VPN software also manipulate PAC url in system settings. In this case, the PAC url may not be available when we detect the network change, so this patch introduce a pref for adding a delay before reloading the PAC.
Differential Revision: https://phabricator.services.mozilla.com/D104449
2021-02-09 09:05:45 +00:00
Simon Giesecke
46908cfb51
Bug 1660470 - Add missing include directives/forward declarations. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D87865
2020-11-23 16:21:38 +00:00
Frédéric Wang
72217d8457
Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,necko-reviewers,dragana
...
This patch make localhost addresses resolve to a loopback address,
thereby ensuring that we can safely treat http://localhost/ and
http://*.localhost/ as "Potentially Trustworthy". This addresses
various bug reports from developers and aligns with specifications.
See https://groups.google.com/g/mozilla.dev.platform/c/sZdEYTiEBdE
Differential Revision: https://phabricator.services.mozilla.com/D92716
2020-10-22 07:36:15 +00:00
smolnar
0158d46caf
Backed out changeset a5a35a205a44 (bug 1220810) for causing test_dns_offline and fontface-override-descriptor-getter-setter failures. CLOSED TREE
2020-10-21 13:00:01 +03:00
Frédéric Wang
c51798ae19
Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,necko-reviewers,dragana
...
This patch make localhost addresses resolve to a loopback address,
thereby ensuring that we can safely treat `http://localhost/ ` and
`http://*.localhost/ ` as "Potentially Trustworthy". This addresses
various bug reports from developers and aligns with specifications.
See https://groups.google.com/g/mozilla.dev.platform/c/sZdEYTiEBdE
Differential Revision: https://phabricator.services.mozilla.com/D92716
2020-10-21 07:42:23 +00:00
Simon Giesecke
ab6f0a7137
Bug 1650145 - Replace all value uses of Empty[C]String by 0-length _ns literals. r=froydnj,geckoview-reviewers,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D82325
2020-09-23 15:17:15 +00:00
Frederik Braun
617d3006d9
Bug 1366973: Rename security flags to not contain DATA anymore r=geckoview-reviewers,ckerschb,snorp
...
Differential Revision: https://phabricator.services.mozilla.com/D83490
2020-07-15 11:20:45 +00:00
Narcis Beleuzu
5e2cf2ee39
Backed out changeset 83749e9e67bd (bug 1220810) for bc failures on browser_fall_back_to_https.js . CLOSED TREE
2020-07-10 18:42:17 +03:00
Andrea Marchesini
45b873b43a
Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D64586
2020-07-10 14:30:58 +00:00
Mihai Alexandru Michis
0814f896c2
Backed out changeset 1b035d80fb9f (bug 1220810) for causing bustages in netwerk/dns/DNS.cpp
...
CLOSED TREE
2020-07-10 17:17:20 +03:00
Andrea Marchesini
b1bd8c4349
Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D64586
2020-07-10 13:08:14 +00:00
Mihai Alexandru Michis
9b258bc851
Backed out changeset 1b44f13206d0 (bug 1220810) for causing gecko decision task bustages.
...
CLOSED TREE
2020-07-10 15:37:45 +03:00
Andrea Marchesini
e597486ec6
Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D64586
2020-07-10 12:23:46 +00:00
Mihai Alexandru Michis
fc7a5eeb36
Backed out changeset 36f368ba214c (bug 1220810) for causing gecko decision task bustages.
...
CLOSED TREE
2020-07-10 15:00:15 +03:00
Andrea Marchesini
454adc1f3b
Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D64586
2020-07-10 11:34:10 +00:00
Simon Giesecke
a69d79b6db
Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D80860
2020-07-01 08:29:29 +00:00
Jean-Yves Avenard
88f1bc0462
Bug 1647133 - P3. Use nsISerialEventTarget where it's actually that. r=valentin
...
All uses are always the main thread and its derivative (obtained via EventTargetFor method) or nullptr.
Depends on D80421
Differential Revision: https://phabricator.services.mozilla.com/D80422
2020-06-22 11:13:24 +00:00
Nicklas Boman
72b2085951
Bug 1515419 - fixing ToNewCString (and ToNewUnicode as well) xpcom/string/nsReadableUtils.cpp r=froydnj,necko-reviewers,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D17411
2020-05-17 06:58:48 +00:00
Lilian Braud
671dafab4d
Bug 1624230 - Replace else if with if after continue. r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D69263
2020-04-10 12:43:07 +00:00
Andreas Farre
c76bc4f1c8
Bug 1620594 - Part 1: Rework NS_ReleaseOnMainThreadSystemGroup. r=nika
...
To be able to remove SystemGroup, NS_ReleaseOnMainThreadSystemGroup
needs to have its dependency on SystemGroup removed. Since all
releases using SystemGroup would've released on the main thread anyway
we can safely replace NS_ReleaseOnMainThreadSystemGroup with
NS_ReleaseOnMainThread.
Depends on D64390
Differential Revision: https://phabricator.services.mozilla.com/D67631
2020-04-07 15:16:23 +00:00
sonakshi
700fb84ec0
Bug 1584797 - Remove unused aProxyService parameter from applyFilter method r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D69679
2020-04-06 20:21:03 +00:00
Junior Hsu
c2269278d7
Bug 1601671 - let system proxy in PACMan resolves HTTPS for websocket, r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D68110
2020-04-06 19:11:33 +00:00
Mihai Alexandru Michis
da4d2147e0
Backed out changeset f01596089356 (bug 1220810) for causing crashes in test_performance_attributes_exist_in_object.html
...
CLOSED TREE
2020-03-19 17:12:32 +02:00
Andrea Marchesini
06fecea7d2
Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D64586
2020-03-19 13:06:48 +00:00
anjali1903
0e373a201d
Bug 1621251 Replace NS_ADDREF(*var = other) with *var = do_AddRef(other).take() in /netwerk r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D66818
2020-03-17 15:05:26 +00:00
MahakBansal
29b5b02a90
Bug 1599373 - Checking for http proxy should compare only 4 characters.r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D66860
2020-03-17 11:22:10 +00:00
Eric Rahm
9f1fb4c724
Bug 1610070 - Part 3: Convert the rest of netwerk/ to use UniquePtr. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D60341
2020-02-11 16:20:08 +00:00
Junior Hsu
38f61b7819
Bug 1601671 - make websocket support proxying on SOCKS/HTTPS, r=michal
...
This is something less hacky to the best of my knowledge. Both passing preferable proxy table and letting system setting handle `ws`/`wss` touch the code of all platforms, which is more fragile.
Differential Revision: https://phabricator.services.mozilla.com/D57176
2019-12-24 19:51:09 +00:00
Gabriele Svelto
f03cdb2b2d
Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan
...
The inclusions were removed with the following very crude script and the
resulting breakage was fixed up by hand. The manual fixups did either
revert the changes done by the script, replace a generic header with a more
specific one or replace a header with a forward declaration.
find . -name "*.idl" | grep -v web-platform | grep -v third_party | while read path; do
interfaces=$(grep "^\(class\|interface\).*:.*" "$path" | cut -d' ' -f2)
if [ -n "$interfaces" ]; then
if [[ "$interfaces" == *$'\n'* ]]; then
regexp="\("
for i in $interfaces; do regexp="$regexp$i\|"; done
regexp="${regexp%%\\\|}\)"
else
regexp="$interfaces"
fi
interface=$(basename "$path")
rg -l "#include.*${interface%%.idl}.h" . | while read path2; do
hits=$(grep -v "#include.*${interface%%.idl}.h" "$path2" | grep -c "$regexp" )
if [ $hits -eq 0 ]; then
echo "Removing ${interface} from ${path2}"
grep -v "#include.*${interface%%.idl}.h" "$path2" > "$path2".tmp
mv -f "$path2".tmp "$path2"
fi
done
fi
done
Differential Revision: https://phabricator.services.mozilla.com/D55444
2019-12-06 09:17:57 +00:00
Michal Novotny
fec2857704
Bug 1582359 - Parse host:port correctly when PAC string includes credentials but scheme is not present, r=valentin
...
This patch fixes parsing host:port from PAC string when scheme is not present.
Differential Revision: https://phabricator.services.mozilla.com/D47768
2019-10-02 12:32:39 +00:00
Byron Campen [:bwc]
fc65029ad7
Bug 1569183: Fix bugs where OnProxyAvailable would be called with a proxy info whose resolve flags did not match what was asked for. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D46052
2019-09-17 18:19:38 +00:00
Valentin Gosu
2be3de5480
Bug 1581655 - left shift of negative value -1 r=JuniorHsu
...
We should use ~0uL << x instead of ~0L << x because we are working with uint32_t
Differential Revision: https://phabricator.services.mozilla.com/D46213
2019-09-17 20:24:42 +00:00
Andreea Pavel
d614cc5afe
Backed out 2 changesets (bug 1567892) for build bustages on a CLOSED TREE
...
Backed out changeset edcdfaa8a2b1 (bug 1567892)
Backed out changeset 3aef1ee02e9b (bug 1567892)
2019-07-25 08:26:29 +03:00
Andrea Marchesini
8a78e8c8d0
Bug 1567892 - PeerConnectionMedia should use nsIProtocolProxyService on the parent process - part 1 - nsProtocolProxyService on parent process only, r=bwc,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D39009
2019-07-24 18:32:26 +00:00
Bogdan Tara
6f6317be37
Backed out 2 changesets (bug 1567892) for build bustages complaining about PNecko.ipdl CLOSED TREE
...
Backed out changeset 18a1d7fe61e0 (bug 1567892)
Backed out changeset b1b922fe6c11 (bug 1567892)
2019-07-24 18:59:39 +03:00
Andrea Marchesini
c476c485ca
Bug 1567892 - PeerConnectionMedia should use nsIProtocolProxyService on the parent process - part 1 - nsProtocolProxyService on parent process only, r=bwc,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D39009
2019-07-24 15:13:24 +00:00
Andrea Marchesini
0fed90dc6c
Bug 1563313 - AsyncApplyFilters must set mProxyInfo only when if it has not already been canceled, r=mayhemer
...
Otherwise, in the CTOR, we crash becaues of MOZ_ASSERT(!mProxyInfo);
Differential Revision: https://phabricator.services.mozilla.com/D37162
2019-07-16 14:17:57 +00:00
Mihai Alexandru Michis
f3a540d1a9
Backed out 2 changesets (bug 1563313) for failures in test_protocolproxyservice.js CLOSED TREE
...
Backed out changeset 0585bc6ff55b (bug 1563313)
Backed out changeset 3b9ef89d8c5c (bug 1563313)
2019-07-15 23:57:57 +03:00
Andrea Marchesini
f56dff9f54
Bug 1563313 - AsyncApplyFilters must set mProxyInfo only when if it has not already been canceled, r=mayhemer
...
Otherwise, in the CTOR, we crash becaues of MOZ_ASSERT(!mProxyInfo);
Differential Revision: https://phabricator.services.mozilla.com/D37162
2019-07-15 13:07:06 +00:00
Ciure Andrei
b8d9a4be2c
Backed out 3 changesets (bug 1563313) for causing various xpcshell tests to perma fail CLOSED TREE
...
Backed out changeset 55ecf0dacd00 (bug 1563313)
Backed out changeset 624d3e47b069 (bug 1563313)
Backed out changeset 5c7df32d9028 (bug 1563313)
2019-07-15 15:46:04 +03:00
Andrea Marchesini
a98629c0f7
Bug 1563313 - AsyncApplyFilters must set mProxyInfo only when if it has not already been canceled, r=mayhemer
...
Otherwise, in the CTOR, we crash becaues of MOZ_ASSERT(!mProxyInfo);
Differential Revision: https://phabricator.services.mozilla.com/D37162
2019-07-15 11:37:08 +00:00
Honza Bambas
f4c719c52e
Bug 1545420 - Allow extensions to set Proxy-Authorization and connection isolation key through proxy.onRequest, r=dragana,mixedpuppy+mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D29825
2019-05-06 07:22:18 +00:00
Sylvestre Ledru
ad31adba4c
Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan
...
# ignore-this-changeset
Depends on D28954
Differential Revision: https://phabricator.services.mozilla.com/D28956
2019-05-01 08:47:10 +00:00
Sylvestre Ledru
b31009da86
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D22514
2019-03-13 10:19:06 +01:00
Junior Hsu
2e3befcad6
Bug 1507110 - Allow hijacking localhost only if network.proxy.allow_hijacking_localhost is set r=Gijs,mayhemer,mkaply,jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D19325
2019-02-19 21:53:22 +00:00
Daniel Stenberg
bf30a5787b
Bug 1503393 - never let "localhost" get sent to a proxy r=mayhemer
2018-12-03 16:27:11 +02:00
Sebastian Hengst
6635575d06
Backed out 4 changesets (bug 1503393) for failing various browser-chrome tests, e.g. browser_extension_controlled.js. CLOSED TREE
...
Backed out changeset 52e8ef71af9b (bug 1503393)
Backed out changeset 7878029aaba6 (bug 1503393)
Backed out changeset 02e383b73c97 (bug 1503393)
Backed out changeset 49428012434e (bug 1503393)
2018-12-03 17:28:06 +02:00