Граф коммитов

4508 Коммитов

Автор SHA1 Сообщение Дата
Kirk Steuber 0ddd366738 Bug 1319571 - Change the output format of nsUrlClassifierDBService::ClassifyLocalWithTables from comma separated string to an array of strings r=francois
MozReview-Commit-ID: TXln2EQnZS

--HG--
extra : rebase_source : 520527fabc9d92dc7dc1ec670e79861d03449ca2
2016-11-29 13:04:43 -08:00
Shih-Chiang Chien 6b0c7e2ce1 Bug 1320289 - register STS thread to gecko profiler. r=cyu,mayhemer
MozReview-Commit-ID: IzDNHDYAgsT

--HG--
extra : rebase_source : a43785dafc6c78658f3474958fce03a084486ab5
2016-11-25 18:07:06 +08:00
Carsten "Tomcat" Book 06069f9b3c Merge mozilla-central to mozilla-inbound 2016-11-29 16:49:35 +01:00
Josh Matthews 9bff529d4d Bug 1298773 - Make ArrayBufferInputStream copy its input buffer. r=jonco a=abillings 2016-10-31 17:48:04 -04:00
Kris Maglione c54e495e92 Bug 1319536: Part 1 - Take private browsing ID from load info when load context is unavailable. r=ehsan
MozReview-Commit-ID: IoXFofyiKR1

--HG--
extra : rebase_source : 1dbb14b3a8a417a1343a1dff0a1cc928e74f9f1b
2016-11-24 15:51:15 -08:00
Michael Layzell af1843e1b4 Bug 1319163 - Eliminate unsafe code from rust_url_capi, r=valentin
MozReview-Commit-ID: 5KyfPQCsRNA
2016-11-24 17:08:08 -05:00
Michael Layzell d50e9eed2b Bug 1318428 - Use the nsstring bindings in rust-url-capi, r=valentin
This patch also drops the pretense that rust-url-capi will be used from
outside of c++, or that it will be used outside of mozilla-central,
removing the ifdef __cplusplus code, and including the C++ header
"nsString.h".

MozReview-Commit-ID: BULhHf3DObe
2016-11-24 12:23:09 -05:00
Carsten "Tomcat" Book d9be1a5895 Backed out changeset 76a1099ef0b4 (bug 1141814) 2016-11-24 14:11:54 +01:00
Kershaw Chang d7704a975d Bug 1141814 - Part2: Lower the priority of channel loading tracking resource, r=honzab
--HG--
extra : rebase_source : 8b79d23c4d2f8a813a9e76816bd540dd91bc6f8e
2016-11-23 22:23:00 +01:00
Jonathan Hao 5af7537250 Bug 1315143 - Make OCSP use Origin Attribute framework (Necko). r=mayhemer
--HG--
extra : rebase_source : d2766b5629c816bb2dd468308448fee8a6723d0b
2016-11-21 11:43:06 +08:00
Valentin Gosu 06bfd8cd82 Bug 1318432 - Make it possible to switch on rust-url at runtime r=bagder
MozReview-Commit-ID: 3BfqFWIpS7F
2016-11-22 01:53:43 +01:00
Ehsan Akhgari fd99cf4221 Bug 1318888 - Remove a few other mentions of appId's from Necko; r=mcmanus 2016-11-21 15:00:49 -05:00
Ehsan Akhgari 0fad752fae Bug 1318887 - Remove NS_GetAppInfo; r=mcmanus
This function is now only used to populate some write-only data members.
2016-11-21 15:00:46 -05:00
Ehsan Akhgari 5db79d7e66 Bug 1318883 - Remove the NetworkStats API and related code; r=baku,mcmanus 2016-11-21 13:33:18 -05:00
Carsten "Tomcat" Book 0317ea2aa6 Merge mozilla-central to mozilla-inbound 2016-11-18 16:53:55 +01:00
Carsten "Tomcat" Book 866da9f9c6 merge mozilla-inbound to mozilla-central a=merge 2016-11-18 16:51:17 +01:00
Phil Ringnalda ae361307c7 Merge m-c to autoland 2016-11-17 20:11:25 -08:00
Masatoshi Kimura 6e84800733 Bug 1248198 - Remove the "security.ssl.enable_npn" pref. r=keeler,mcmanus
MozReview-Commit-ID: J6nYmNAipyL

--HG--
extra : rebase_source : 26b65f99f446f4198ca1b3fd74765f96fd37d85d
2016-11-17 20:45:18 +09:00
Valentin Gosu 51cb7b5e93 Bug 1317511 - Share captive portal state with the content process r=bagder
MozReview-Commit-ID: 5FnM9DNDWwL
2016-11-17 17:35:24 +01:00
Ehsan Akhgari 1488007b30 Bug 1318206 - Remove some unused code for clearing app data; r=baku,mcmanus 2016-11-17 08:30:21 -05:00
Wes Kocher f9e9d69899 Merge inbound to m-c a=merge CLOSED TREE 2016-11-16 17:07:26 -08:00
Ehsan Akhgari eac76d9772 Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact.  Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app.  In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed.  In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID.  Other notions of appId which were restricted to this
API have been removed.
2016-11-16 09:13:38 -05:00
Carsten "Tomcat" Book e7ca75286b Merge mozilla-central to inbound 2016-11-16 14:53:15 +01:00
Carsten "Tomcat" Book 3eacc680db Backed out changeset 7d1f7dd996f7 (bug 1310845) 2016-11-16 14:50:44 +01:00
Ehsan Akhgari ba68896bf9 Bug 1311246 - Remove support for the -moz-samplesize media fragment; r=jrmuizel
This removes the feature added in bug 854795 for Tarako b2g devices.
2016-11-16 08:18:56 -05:00
David Keeler d4da3e8201 bug 1298883 - make security.enterprise_roots.enabled appear in about:config r=jcj
This pref controls whether or not the platform looks for and trusts enterprise
roots (currently only available on Windows). Adding it to security-prefs.js will
make it appear in about:config, which is a much more straightforward user
experience (previously users would have to add it manually). It is still
disabled by default.

MozReview-Commit-ID: 6pQkh2gTNTF

--HG--
extra : rebase_source : 5479492f3a9f802d1fc02c6d3fdc3d54c81f8fe9
2016-11-15 13:52:26 -08:00
Francois Marier c8a187fe1d Bug 1308084 - Silence noisy warning in nsChannelClassifier::ShouldEnableTrackingProtection(). r=gcp
MozReview-Commit-ID: 68n7476sVUM

--HG--
extra : rebase_source : a11b04e7ddcc2be12d9a84e389768d87fad0fdd8
2016-11-10 21:01:00 -08:00
Valentin Gosu 6a82cdf759 Bug 1151899 - Add code to run both URL parsers at the same time; r=bagder,ted,valentin
MozReview-Commit-ID: Jd2RgPmdPrn

--HG--
extra : rebase_source : 674b910e813d271046b7dae7b10a55dfdafef1fc
2016-11-08 00:42:36 +01:00
Valentin Gosu 2ecccba5c7 Bug 1151899 - Add RustURL which implements nsIURI,nsIURL,nsIStandardURL,etc; r=bagder
MozReview-Commit-ID: 2rVu4t66cfD

--HG--
extra : rebase_source : 742c3bceb3fb4c259915f52ba98b368349ba9991
2016-11-08 00:42:27 +01:00
Valentin Gosu d7be4cb464 Bug 1151899 - rust-url-capi error code changes; r=manishearth
MozReview-Commit-ID: AHwbkgGifmr

--HG--
extra : rebase_source : 70db49852f171101577f808961c203353527209d
2016-11-08 00:39:49 +01:00
Sebastian Hengst 20a51e488b Backed out changeset 4984c5478d52 (bug 1151899) for build bustage. r=backout on a CLOSED TREE 2016-11-17 20:23:01 +01:00
Sebastian Hengst 72c68b6881 Backed out changeset f87f327d7ef2 (bug 1151899) 2016-11-17 20:22:34 +01:00
Sebastian Hengst 31c02995a4 Backed out changeset 910b4b74261d (bug 1151899) 2016-11-17 20:21:55 +01:00
Valentin Gosu 753fdc9754 Bug 1151899 - Add code to run both URL parsers at the same time; r=bagder,ted,valentin
MozReview-Commit-ID: Jd2RgPmdPrn

--HG--
extra : rebase_source : ed9e5b027800a7a6ccbb443b294e208404bc5b01
2016-11-08 00:42:36 +01:00
Valentin Gosu 340e8eb8fe Bug 1151899 - Add RustURL which implements nsIURI,nsIURL,nsIStandardURL,etc; r=bagder
MozReview-Commit-ID: 2rVu4t66cfD

--HG--
extra : rebase_source : fc9e9ee9c4021b61f53c4beb447b3e13b27714ba
2016-11-08 00:42:27 +01:00
Valentin Gosu 16bb40f323 Bug 1151899 - rust-url-capi error code changes; r=manishearth
MozReview-Commit-ID: AHwbkgGifmr

--HG--
extra : rebase_source : 82e96b565d44f9f742454ccf2198603d85f0f79c
2016-11-08 00:39:49 +01:00
Ehsan Akhgari cb369370b3 Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact.  Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app.  In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed.  In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID.  Other notions of appId which were restricted to this
API have been removed.
2016-11-15 18:31:46 -05:00
Andrea Marchesini 9f4ca5a041 Bug 1310483 - Implement nsIURIWithQuery for having query part in simple URI, r=valentin 2016-11-14 13:04:33 +01:00
Sylvestre Ledru a8539821a2 Bug 1317430 - Avoid a unnecessary copy by passing a const & in netwerk/ r=valentin
MozReview-Commit-ID: LKgXjObeXOZ

--HG--
extra : rebase_source : b10835297d8fb345ce9ba81c94d9a7c0397a4e1d
2016-11-14 23:16:40 +01:00
Carsten "Tomcat" Book cc5d30c616 Merge mozilla-central to mozilla-inbound
--HG--
extra : rebase_source : 658b3ffdfa71afff2d44129f50e50e2fbecbd06e
2016-11-11 16:43:07 +01:00
Gijs Kruitbosch 82d475be93 Bug 1309310, r=bz
MozReview-Commit-ID: KLaMv6zfxR8

--HG--
extra : rebase_source : ccb4d19c874230c512010d3891aae33a69947f62
2016-11-09 18:25:11 +00:00
Gerald Squelart 0affeb4ab0 Bug 1316432 - Fix nsCOMPtr constructions&assignments from 0 - r=froydnj
Giving '0' (literal zero) to nsCOMPtr is now ambiguous, as both
nsCOMPtr(decltype(nullptr)) and nsCOMPtr(T*) could be used.
In any case, our coding standards mandate the use of 'nullptr' for pointers.
So I'm changing all zeroes into nullptr's where necessary.

MozReview-Commit-ID: LXiZTu87Ck6

--HG--
extra : rebase_source : f9dcc6b06e9ebf9c30a576f9319f76a51b6dc26f
2016-11-10 14:11:27 +11:00
amy 89f8eaf9f3 Bug 1312745 - Add class flags in nsIClassOfService interface. r=mayhemer
--HG--
extra : rebase_source : 99350ace0116216061f115652799f42acc5cfc79
2016-11-11 00:31:09 +08:00
Dragana Damjanovic 0c685d3bcb Bug 1301407 - Remove release assert for nss initialization. r=keeler
--HG--
extra : rebase_source : 0192a97588e00e82f36921bb2d6cfe751cb9aa31
2016-11-08 00:13:00 +01:00
Wes Kocher 008fdd9329 Merge inbound to central, a=merge 2016-11-08 13:58:20 -08:00
Christoph Kerschbaumer f2776f1b8d Bug 1308889 - Try to explicitly pass aTriggeringPrincipal and aPrincipalToInherit to DoURILoad(). r=bz 2016-11-08 07:23:12 +01:00
Martin Thomson 9e6b70484b Bug 1310516 - Enable TLS 1.3, r=keeler
MozReview-Commit-ID: FrI7fZBIn2w

--HG--
extra : rebase_source : 2884d9df4210903a87aa6bb496aae9a3f2b3a683
2016-11-04 14:46:02 +11:00
Valentin Gosu 627f600a3e Bug 1314859 - SetHost should also call NormalizeIPv4 r=mcmanus
MozReview-Commit-ID: 79sQrld6TBG
2016-11-06 23:26:04 +01:00
Tim Huang e4414d6c1b Bug 1304219 - Part 2: Update speculativeConnect() to speculativeConnect2() for Necko. r=hurley
--HG--
extra : rebase_source : 3fb68515087ec05c32108f2067c07110e10b92f8
extra : histedit_source : c12be77b0b53cf3d69343d6ee4d1a95a6d60c60c
2016-10-26 11:14:41 +08:00
Tim Huang fc4cdaf096 Bug 1304219 - Part 1: Add a nsISpeculativeConnect.speculativeConnect2() interface which takes a principal as an additional argument. r=mayhemer, sr=mcmanus
--HG--
extra : rebase_source : 5fbcafd208b3136d168725b0a57e35bb70304f6a
extra : histedit_source : 2f9e0606a13b41deea3675d9435dcc7ef52f37c3
2016-10-24 12:18:25 +08:00
Liang-Heng Chen 2e3f6cb3d1 Bug 1288308 - Part 2: implement Named Pipe IO layer; r=bagder,mayhemer
MozReview-Commit-ID: 85MbD0QFRRq
2016-11-03 18:15:08 +08:00
Liang-Heng Chen f928a5954c Bug 1288308 - Part 0: add Named Pipe type on Windows platform; r=bagder
MozReview-Commit-ID: It2l5BJuHiS
2016-11-03 18:15:07 +08:00
Wes Kocher df5dbf81cc Merge central to inbound a=merge 2016-11-02 17:31:08 -07:00
Andrea Marchesini f03754772e Bug 1314651 - Fix a comment in ProxyAutoConfig.cpp, r=me 2016-11-02 17:35:49 +01:00
Carsten "Tomcat" Book b0e2113477 Backed out changeset 41aca5073e9d (bug 1288308) for m-oth failures 2016-11-02 15:35:51 +01:00
Carsten "Tomcat" Book be1e54206b Backed out changeset e81bf7852eb2 (bug 1288308) 2016-11-02 15:34:44 +01:00
Liang-Heng Chen f488defde2 Bug 1288308 - Part 2: implement Named Pipe IO layer; r=bagder,mayhemer
MozReview-Commit-ID: 85MbD0QFRRq
2016-11-02 18:43:33 +08:00
Liang-Heng Chen 77847254f2 Bug 1288308 - Part 0: add Named Pipe type on Windows platform; r=bagder
MozReview-Commit-ID: It2l5BJuHiS
2016-11-02 18:43:29 +08:00
Andi-Bogdan Postelnicu 5ca687e238 Bug 1311669 - use auto type specifier for variable declarations to improve code readability and maintainability. r=valentin
MozReview-Commit-ID: F5YO9pVK5O8

--HG--
extra : rebase_source : 7c8d22df9ec2ade3421d5f34229827f9c419b4d2
2016-11-01 14:44:09 +02:00
Valentin Gosu 6f93776828 Bug 1307456 - Remove packaged app related changes to nsMultiMixedConv r=bagder
MozReview-Commit-ID: Vkt8s9xT5E

--HG--
extra : rebase_source : 87f5a990638f65ad568619b504db057c9c05871a
2016-10-31 15:32:15 +01:00
Valentin Gosu e825b942e9 Bug 1307456 - Remove PackagedAppService/Verifier r=bagder
MozReview-Commit-ID: LgT7RQAbEf8

--HG--
extra : rebase_source : 25ac286f8b0b69dfb0c80966a78926751f955284
2016-10-31 15:21:14 +01:00
Manish Goregaokar f68c6230d6 Bug 1151899 - Include rust-url-capi (leave-open); r=valentin,ted
MozReview-Commit-ID: 1ITlPLvwzF4
2016-10-28 16:34:21 -07:00
Wes Kocher 90f6b234f3 Backed out 2 changesets (bug 1151899) for build bustage a=backout
Backed out changeset 7b5270bac41b (bug 1151899)
Backed out changeset 62f38c70d152 (bug 1151899)
2016-10-28 14:27:45 -07:00
Manish Goregaokar 00d282bd65 Bug 1151899 - Include rust-url-capi; r=valentin,ted
MozReview-Commit-ID: 1ITlPLvwzF4
2016-10-28 14:03:13 -07:00
Dragana Damjanovic dd.mozilla@gmail.com 30904871cc Bug 1301407 - Ensure nss initialized during nsHttpHandler initialization. r=mcmanus, r=keeler 2016-10-25 10:43:00 -04:00
Phil Ringnalda 435a27119b Merge m-c to m-i
MozReview-Commit-ID: 8nqgw9Q3gSY
2016-10-25 22:07:07 -07:00
Jan Varga 12b2353123 Bug 1311466 - Part 4: Add a C++ only getFileDescriptor() method to nsIFileMetadata interface. All file stream implementations (nsFileInputStream, nsPartialFileInputStream, nsFileOutputStream, nsAtomicFileOutputStream, nsSafeFileOutputStream and nsFileStream) support nsIFileMetadata interface so the new method is available on all these streams. The returned file descriptor can be used for memory mapping of the underlying file. The new method exposes stream's internal member variable, so it should be used carefully; r=froydnj 2016-10-25 21:18:52 +02:00
Valentin Gosu 3a14f83970 Bug 1305204 - (Part 3) Backout bug 1275746 a=backout
MozReview-Commit-ID: B627xyv9BRm
2016-10-23 14:24:49 +02:00
Cykesiopka 660da8b92b Bug 1312158 - Stop using Scoped.h NSS types under netwerk/. r=nwgh
Scoped.h is deprecated.

MozReview-Commit-ID: AKfsw0lqTfw

--HG--
extra : rebase_source : a2c28b8e1a77ba491e6c842e98b2c7457b793f12
2016-10-23 13:27:33 +08:00
Tooru Fujisawa fa2f08828a Bug 1283710 - Part 4: Do not duplicate message in ExpandErrorArgumentsVA, and remove message parameter from WarningReporter. r=jwalden 2016-08-14 20:39:31 +09:00
Tooru Fujisawa 23d868fa20 Bug 1283710 - Part 2: Change JSErrorReport.ucmessage to JSErrorReport.message_ with ConstUTF8CharsZ, and release them in destructor if it is owned. r=jwalden 2016-08-14 20:39:30 +09:00
Jonathan Hao 42cdd28f23 Bug 1264562 - Part 1: Add firstPartyDomain to socket transport (adapted from Tor Browser patch 13670) r=mayhemer
--HG--
extra : rebase_source : f10e38a44f592bcf0db32d98338f2d16edeab58b
2016-10-12 15:32:22 +08:00
Yoshi Huang 3e74d36035 Bug 1308938: skip check for about: pages. r=baku 2016-10-19 15:16:34 +08:00
Wes Kocher 71f24926ed Backed out 10 changesets (bug 1283710) for osx xpcshell failures a=backout
Backed out changeset eb95a12e5d86 (bug 1283710)
Backed out changeset f727edc4be48 (bug 1283710)
Backed out changeset fed60fbf645d (bug 1283710)
Backed out changeset 98339fa564f1 (bug 1283710)
Backed out changeset 51b8d69edca0 (bug 1283710)
Backed out changeset d72527b7d3c0 (bug 1283710)
Backed out changeset ee5215f1a38e (bug 1283710)
Backed out changeset dcedbaefe399 (bug 1283710)
Backed out changeset 61f8250cbe0b (bug 1283710)
Backed out changeset 239382846137 (bug 1283710)
2016-10-18 17:27:58 -07:00
Tooru Fujisawa 84473915d8 Bug 1283710 - Part 4: Do not duplicate message in ExpandErrorArgumentsVA, and remove message parameter from WarningReporter. r=jwalden 2016-08-14 20:39:31 +09:00
Tooru Fujisawa 81c1a988e3 Bug 1283710 - Part 2: Change JSErrorReport.ucmessage to JSErrorReport.message_ with ConstUTF8CharsZ, and release them in destructor if it is owned. r=jwalden 2016-08-14 20:39:30 +09:00
Ehsan Akhgari 3c4317ab39 Bug 1307491 follow-up: Remove two remaining declarations of NS_IsAppOffline 2016-10-18 09:56:01 -04:00
Carsten "Tomcat" Book 5c08a87874 merge mozilla-inbound to mozilla-central a=merge 2016-10-18 10:38:37 +02:00
Ehsan Akhgari ea467855d3 Bug 1310721 - Remove support for the b2g PAC generator; r=mcmanus
This effectively backs out bug 1115495.
2016-10-17 14:10:45 -04:00
Wes Kocher 664cdfb48f Merge m-c to autoland, a=merge 2016-10-17 15:37:57 -07:00
Valentin Gosu d746e122c8 Bug 1307491 - (Part 1) Remove support for per-app-offline in netwerk/ [nukeb2g] r=bagder
* * *
Bug 1307491 - Remove support for per-app-offline [nukeb2g] r=bagder

MozReview-Commit-ID: FoweWBv9QyE

--HG--
extra : rebase_source : 0f6e0f0d19f108c3aef8b25cb6d605ecd338ee2b
2016-10-17 03:54:46 +02:00
Masatoshi Kimura bffddec572 Bug 1286694 - Part 2: Add TLS version configuration function to nsITLSServerSocket. r=dragana
MozReview-Commit-ID: CNiDXV9Um27

--HG--
extra : rebase_source : 8b96737d137977fe47f4deac861ba9c11c78ee21
extra : source : 8f53b724f0a483e7a6381c2647f0cb2bf33cbe92
2016-07-16 22:50:12 +09:00
Tim Huang 17d537f0e1 Bug 1277803 - Part 4 : Make the NS_CompareLoadInfoAndLoadContext() skiping test if the request is the favicon loading from the XUL image. r=honzab 2016-10-13 15:43:59 +08:00
Wes Kocher 2142de26c1 Backed out 8 changesets (bug 1277803) for browser-chrome test failures a=backout
Backed out changeset 477890efdb88 (bug 1277803)
Backed out changeset 49da326bfe68 (bug 1277803)
Backed out changeset 2d17a40a9077 (bug 1277803)
Backed out changeset b1cb0a195ca1 (bug 1277803)
Backed out changeset c7d82459d152 (bug 1277803)
Backed out changeset 3be9a06248af (bug 1277803)
Backed out changeset 8d119ca96999 (bug 1277803)
Backed out changeset be767a6f7ecd (bug 1277803)
2016-10-12 14:26:00 -07:00
Tim Huang 6e27a2a6a1 Bug 1277803 - Part 4 : Make the NS_CompareLoadInfoAndLoadContext() skiping test if the request is the favicon loading from the XUL image. r=honzab 2016-10-12 17:32:08 +08:00
Ehsan Akhgari d4cf901767 Bug 1308319 - Remove app specific parts of the permission manager; r=baku 2016-10-10 11:11:12 -04:00
Dragana Damjanovic dd.mozilla@gmail.com e76a687adf Bug 1305436 - "Fix issue with Firefox 49 won't start after installation". r=mcmanus 2016-10-06 09:22:00 +02:00
Sebastian Hengst cdcc9e20da Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop
MozReview-Commit-ID: 1lCt0xTMV5O
2016-10-08 11:14:49 +02:00
Iris Hsiao 5abee5efd3 Backed out changeset d17370e68325 (bug 1277803)
CLOSED TREE
2016-10-07 11:23:45 +08:00
Tim Huang 33effa2da2 Bug 1277803 - Part 4: Make the NS_CompareLoadInfoAndLoadContext() skiping test if the request is the favicon loading from the XUL image. r=honzab 2016-10-06 00:57:00 -04:00
Christoph Kerschbaumer fb07f658e3 Bug 1305012 - Downgrade a new channel's principal to NullPrincipal. r=smaug 2016-10-05 21:19:51 +02:00
Wes Kocher 5a2fb874ca Merge inbound to central, a=merge 2016-10-04 17:32:01 -07:00
Sebastian Hengst dd7aeb94f5 Bug 1306397 - Remove B2G event 'network-active-changed' and consumers from non-B2G/Gonk files: netwerk. r=mayhemer
MozReview-Commit-ID: 5YfclnGR0NZ

--HG--
extra : rebase_source : b8ed82ec35ce51c67f34cf6d4fd6251ca2f48c10
2016-09-29 19:53:44 +02:00
Cameron McCormack b5dafca7ed Bug 1300720 - Part 1: Prevent file:, chrome: and resource: URIs from using an external protocol handler. r=honza
MozReview-Commit-ID: 51r5lObSRwx
2016-10-03 12:43:15 +08:00
Carsten "Tomcat" Book 6636b09ddd merge mozilla-inbound to mozilla-central a=merge 2016-09-30 12:02:16 +02:00
Nicholas Hurley 8739dd3c4e Bug 1297554 - Perform a gNeckoParent-ectomy r=billm,mcmanus
MozReview-Commit-ID: 7WQE8MhWlYr

--HG--
extra : rebase_source : 46545fa7485c8ba7ce4b0b4dc48a377b68a2ff80
2016-09-21 12:21:00 -07:00
Carsten "Tomcat" Book 572e74ee99 merge mozilla-inbound to mozilla-central a=merge 2016-09-28 15:56:33 +02:00
James Andreou a47ce92ac2 Bug 1282124 - Remove nsILoadInfo.usePrivateBrowsing and the SEC_FORCE_PRIVATE_BROWSING flag; r=smaug,jryans 2016-09-27 16:56:44 -04:00
Kate McKinley c57d400961 Bug 1246540 - HSTS Priming Proof of Concept. r=ckerschb, r=mayhemer, r=jld, r=smaug, r=dkeeler, r=jmaher, p=ally
HSTS priming changes the order of mixed-content blocking and HSTS
upgrades, and adds a priming request to check if a mixed-content load is
accesible over HTTPS and the server supports upgrading via the
Strict-Transport-Security header.

Every call site that uses AsyncOpen2 passes through the mixed-content
blocker, and has a LoadInfo. If the mixed-content blocker marks the load as
needing HSTS priming, nsHttpChannel will build and send an HSTS priming
request on the same URI with the scheme upgraded to HTTPS. If the server
allows the upgrade, then channel performs an internal redirect to the HTTPS URI,
otherwise use the result of mixed-content blocker to allow or block the
load.

nsISiteSecurityService adds an optional boolean out parameter to
determine if the HSTS state is already cached for negative assertions.
If the host has been probed within the previous 24 hours, no HSTS
priming check will be sent.

MozReview-Commit-ID: ES1JruCtDdX

--HG--
extra : rebase_source : 2ac6c93c49f2862fc0b9e595eb0598cd1ea4bedf
2016-09-27 11:27:00 -04:00
Valentin Gosu 13ceec29f2 Bug 1303762 - Add UI to about:networking to turn on logging modules at runtime r=jaws,mcmanus 2016-09-29 12:03:49 -07:00
Wes Kocher 3209051dbb Backed out changeset e4508f246a86 (bug 1303762) for failures in browser_misused_characters_in_strings.js a=backout 2016-09-29 12:01:03 -07:00
Andrew Osmond 7c53a79c5a Bug 1275464 - Part 2. Move socket transport service thread shutdown to xpcom-shutdown-threads. r=dragana 2016-09-19 13:29:59 -04:00
Valentin Gosu 86d5a04ef7 Bug 1303762 - Add UI to about:networking to turn on logging modules at runtime r=jaws,mcmanus 2016-09-29 17:00:21 +02:00
Josh Matthews ee8da66177 Bug 1294450 - Make AutoIPCStream favour PSendStream for large input streams. r=nfroydj 2016-09-29 06:20:00 +02:00
Wes Kocher 673a0db365 Backed out changeset 57e78c503c4e (bug 1294450) for build bustage a=backout 2016-09-28 17:38:00 -07:00
Josh Matthews facc06fda2 Bug 1294450 - Make AutoIPCStream favour PSendStream for large input streams. r=froydnj
--HG--
extra : rebase_source : 764aa593bd2734ca15d556a0b5ca55e3f69d25bb
2016-09-28 18:38:51 -04:00
Sergei Chernov 976d5c3f1d Bug 1293231 - Certificate Transparency - basic telemetry reports; r=Cykesiopka,keeler
MozReview-Commit-ID: EGvuZADObJo

--HG--
extra : rebase_source : 9a059c9f8e2fdf9bfc693b0b5649808b1beeb67b
2016-08-11 13:41:50 +03:00
Iris Hsiao 767e1e9b11 merge mozilla-inbound to mozilla-central a=merge 2016-09-26 18:34:20 +08:00
Thomas Nguyen 8c6badef26 Bug 1276836 - Implement same-origin, strict-origin, strict-origin-when-cross-origin referrer policy. r=mcmanus,jdm
MozReview-Commit-ID: 39AFT4RgHpl

--HG--
extra : rebase_source : 1512555cb0da30a0fbbfd58c27e4a4d48a93586e
2016-09-22 16:27:42 -07:00
Kate McKinley ed0b5f06ee Bug 1271796 use raw bytes to calculate SRI hash r=francois
MozReview-Commit-ID: F62t5CnsYlJ

--HG--
extra : rebase_source : 9c2148ffe99a51db5541ec6d9961597b578157ae
2016-09-05 12:55:25 +02:00
Carsten "Tomcat" Book d25a5baeb8 merge mozilla-inbound to mozilla-central a=merge 2016-09-22 11:55:12 +02:00
Eric Faust 121151ec67 Bug 1263595 - Avoid deadlock between the JIT and the gecko profiler on win64. (r=froydnj) 2016-09-15 21:35:14 -07:00
David Keeler b1cb7643ef bug 1302140 - add policy to disable SHA-1 except for certificates issued by non-built-in CAs r=jcj,rbarnes
MozReview-Commit-ID: 2uwHPxk0VhZ

--HG--
extra : rebase_source : 1c7b5d2559139fa8286342decf4e4f7c83317e29
2016-09-14 15:11:15 -07:00
Daniel Stenberg 9df1623b92 Bug 1255474 - Cut off path from URLs passed to PAC scripts. r=mcmanus 2016-09-20 21:42:52 -04:00
Sebastian Hengst d8888f81d1 Backed out changeset 2df66e8b7411 (bug 1302140) for Windows build bustage in CertVerifier.cpp. r=backout on a CLOSED TREE 2016-09-21 20:47:08 +02:00
David Keeler d374bc442a bug 1302140 - add policy to disable SHA-1 except for certificates issued by non-built-in CAs r=jcj,rbarnes
MozReview-Commit-ID: 2uwHPxk0VhZ

--HG--
extra : rebase_source : 5b1342abc2eb260ec91464b3a1d331baf8968460
2016-09-14 15:11:15 -07:00
Valentin Gosu 76d2cd8b5d Bug 1231565 - (Part 2) Allow storing alternate data in the HTTP cache r=honzab
* Add PAltDataOutputStream.ipdl to be able to open an OutputStream to the cache entry in the child process
* AltDataOutputStreamChild/Parent are Main Thread only for now.
* Adds methods for reading and writing alt-data to nsICacheInfoChannel.idl
* Keep a ref of the cache entry after OnStopRequest in case the consumer tries to open the alt-data output stream

MozReview-Commit-ID: jlraDI97Hg
2016-04-11 05:17:02 +02:00
Christoph Kerschbaumer 8500d497a7 Bug 1297338 - Extend LoadInfo with a PrincipalToInherit member. r=bz 2016-09-20 08:35:45 +02:00
Christoph Kerschbaumer e822f3e9cc Bug 1291458 - Update documentation for nsILoadInfo. r=tanvi 2016-09-20 08:34:40 +02:00
Nicholas Hurley cb87df446e Bug 1302843 - Don't UpdateCacheabilityInternal if not enabled/initialized. r=mayhemer
MozReview-Commit-ID: HzSu0TM14R2

--HG--
extra : rebase_source : 6eea321f0c1b4e5f0e3216c6a952944afcb14f1f
2016-09-09 16:25:07 -07:00
Manish Goregaokar 65e072aa45 Bug 1301621 - Parse URL ports as 16 bit; r=valentin
MozReview-Commit-ID: 5FbRUsYzJdy

--HG--
extra : rebase_source : dba9575a3d3a56560f39a81c6a3431da4e21f3e9
2016-09-09 15:42:42 +08:00
Carsten "Tomcat" Book d63d14dfed Backed out changeset fc9963bf6d98 (bug 1301621) for xpcshell bustage 2016-09-14 12:28:50 +02:00
Carsten "Tomcat" Book 6520e60ddb Merge mozilla-central to autoland 2016-09-14 12:17:20 +02:00
Thomas Wisniewski 0748df2882 Bug 1302312 - Treat URLs with username or password but no host info as malformed. r=valentin
--HG--
extra : rebase_source : 24fdcd9682cbcc3bb6850bf7708ea859264f4661
2016-09-13 12:47:16 -04:00
Dragana Damjanovic 3432aadb24 Bug 1294032 - Fix poll hang - on shutdown hang in poll post event multiple times. r=mcmanus
--HG--
extra : rebase_source : 1d56be9b3d04bb3cf6fcb1151aa4e2cfc26ffeee
2016-09-13 04:43:00 -04:00
Manish Goregaokar ce7df594c1 Bug 1301621 - Parse URL ports as 16 bit; r=valentin
MozReview-Commit-ID: 5FbRUsYzJdy

--HG--
extra : rebase_source : 4274433be9e6c7f76909e22dc79f7a2a41e5f455
2016-09-09 15:42:42 +08:00
Kannan Vijayan e40b66af93 Bug 1296464 - Part 1 - Add init2 method to nsIUDPSocket to allow opening sockets on specific IPs. r=hurley 2016-09-13 11:16:22 -04:00
Julian Seward 7c7afaaa0a Bug 1296716 - Uninitialised value uses somehow relating to nsSocketTransportService::AnalyzeConnection. r=valentin.gosu@gmail.com. 2016-09-10 08:16:14 +02:00
Carsten "Tomcat" Book 0f2c669a48 merge mozilla-inbound to mozilla-central a=merge 2016-09-09 12:02:43 +02:00
Junior Hsu b552a263d3 Bug 1301344 - Bail out from canonicalizing IPv4 first. r=valentin 2016-09-08 02:59:00 -04:00
Nicholas Nethercote 37301e25ad Bug 1297300 - Add missing checks to GetSpec() calls in netwerk/. r=hurley,dragana.
--HG--
extra : rebase_source : 961a82fb6e723688837e5250f57121c14ca958cb
2016-08-26 16:40:57 +10:00
Cykesiopka 80c7f24081 Bug 1274135 - Replace char_ptr_cast() and uint8_t_ptr_cast() with mozilla::BitwiseCast. r=keeler,valentin
The functions aren't necessary now that we have BitwiseCast.

MozReview-Commit-ID: 2nzOuwAop4Y

--HG--
extra : rebase_source : 0cb2c16f484a81b2e77384564973b58ac2d10fb9
2016-09-08 20:46:26 +08:00
Ryan VanderMeulen 57d3c61d9b Backed out changeset db5d2a3899c0 (bug 1274135) for bustage. 2016-09-07 20:52:18 -04:00
Cykesiopka 0193f94d53 Bug 1274135 - Replace char_ptr_cast() and uint8_t_ptr_cast() with mozilla::BitwiseCast. r=keeler,valentin
The functions aren't necessary now that we have BitwiseCast.

MozReview-Commit-ID: 2nzOuwAop4Y

--HG--
extra : rebase_source : 196449249eec75b8eb10e59662231c3f4e83c268
2016-09-01 15:58:51 +08:00
Carsten "Tomcat" Book 1c61ba654e merge mozilla-inbound to mozilla-central a=merge 2016-09-07 17:20:12 +02:00
Nicholas Hurley e2ec095399 Bug 1295565 - Don't create URIs if we don't have to. r=mayhemer
MozReview-Commit-ID: 86tc52aqBH2

--HG--
extra : rebase_source : 2e538ab8fff3831b763c79fbb379a3a84e2c4e7f
2016-08-16 13:41:15 -07:00
Boris Zbarsky 8ff5499fbb Bug 1292159. Be more careful about removing the inherit principal bit on base channel redirects. r=ckerschb 2016-09-02 17:55:38 -04:00
Nicholas Nethercote 34dcc7b852 Bug 1299384 - Use MOZ_MUST_USE with NS_warn_if_impl(). r=erahm.
This change avoids lots of false positives for Coverity's CHECKED_RETURN
warning, caused by NS_WARN_IF's current use in both statement-style and
expression-style.

In the case where the code within the NS_WARN_IF has side-effects, I made the
following change.

> NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));
> -->
> Unused << NS_WARN_IF(NS_FAILED(FunctionWithSideEffects()));

In the case where the code within the NS_WARN_IF lacks side-effects, I made the
following change.

> NS_WARN_IF(!condWithoutSideEffects);
> -->
> NS_WARNING_ASSERTION(condWithoutSideEffects, "msg");

This has two improvements.
- The condition is not evaluated in non-debug builds.
- The sense of the condition is inverted to the familiar "this condition should
  be true" sense used in assertions.

A common variation on the side-effect-free case is the following.

> nsresult rv = Fn();
> NS_WARN_IF_(NS_FAILED(rv));
> -->
> DebugOnly<nsresult rv> = Fn();
> NS_WARNING_ASSERTION(NS_SUCCEEDED(rv), "Fn failed");

--HG--
extra : rebase_source : 58788245021096efa8372a9dc1d597a611d45611
2016-09-02 17:12:24 +10:00
Christoph Kerschbaumer 899e5f308a Bug 1305996 - Tweak Documentation for nsILoadInfo. r=tanvi 2016-10-04 10:07:08 +02:00
Josh Matthews ee501c8947 Bug 1167730 - Make nsTemporaryFileStream serializable. r=baku 2016-09-23 10:34:42 -04:00
Nicholas Hurley 1e782edab3 Bug 1304387 - Re-enable predictor prefetch r=mayhemer
MozReview-Commit-ID: 7NL5YWbg4gO
2016-09-23 12:33:43 -07:00
Andrea Marchesini c4fc186821 Bug 1293949 - nsFileInputStream must do the pending open step before been serialized, r=mayhemer 2016-09-23 15:29:05 +02:00
Nicholas Nethercote b71747b2ac Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm.
The new name makes the sense of the condition much clearer. E.g. compare:

  NS_WARN_IF_FALSE(!rv.Failed());

with:

  NS_WARNING_ASSERTION(!rv.Failed());

The new name also makes it clearer that it only has effect in debug builds,
because that's standard for assertions.

--HG--
extra : rebase_source : 886e57a9e433e0cb6ed635cc075b34b7ebf81853
2016-09-01 15:01:16 +10:00
Nicholas Nethercote c94421bf7c Bug 1297961 (part 2) - Use nsIURI::GetSpecOrDefault() for comparisons to fixed URIs. r=hurley.
--HG--
extra : rebase_source : c742ded3ca4ff6ddf745cf8d720261624f172027
2016-08-26 16:02:32 +10:00
Nicholas Nethercote 742fc7eb48 Bug 1297961 (part 1) - Introduce nsURI::GetSpecOrDefault(). r=hurley.
This function is an infallible alternative to nsIURI::GetSpec(). It's useful
when it's appropriate to handle a GetSpec() failure with a failure string, e.g.
for log/warning/error messages. It allows code like this:

  nsAutoCString spec;
  uri->GetSpec(spec);
  printf("uri: %s", spec.get());

to be changed to this:

  printf("uri: %s", uri->GetSpecOrDefault().get());

This introduces a slight behavioural change. Previously, if GetSpec() failed,
an empty string would be used here. Now, "[nsIURI::GetSpec failed]" will be
produced instead. In most cases this failure string will make for a clearer
log/warning/error message than the empty string.
* * *
Bug 1297961 (part 1b) - More GetSpecOrDefault() additions. r=hurley.

I will fold this into part 1 before landing.

--HG--
extra : rebase_source : ddc19a5624354ac098be019ca13cc24b99b80ddc
2016-08-26 16:02:31 +10:00
Jinank Jain 17c45acab3 Bug 712936 - Convert users of PR_STATIC_ASSERT to C++11 static_assert(). r=Ms2ger 2016-08-26 11:40:16 -04:00
Makoto Kato ec124dbfbd Bug 1299054 - Remove old Android support (API level < 15) from Gecko. r=snorp
MozReview-Commit-ID: K32YSqGsLf9

--HG--
extra : rebase_source : be0d3b3fc1146234efc75229171ea61258c46492
2016-08-30 14:11:55 +09:00
James Andreou 4c787b8989 Bug 1282882 - Remove LoadContextInfo and LoadContext private browsing flags; r=jdm,mayhemer 2016-08-26 13:06:48 -04:00
Ryan VanderMeulen e5adfbffe6 Merge m-c to autoland. a=merge
--HG--
rename : accessible/tests/browser/browser_caching_attributes.js => accessible/tests/browser/e10s/browser_caching_attributes.js
rename : accessible/tests/browser/browser_caching_description.js => accessible/tests/browser/e10s/browser_caching_description.js
rename : accessible/tests/browser/browser_caching_name.js => accessible/tests/browser/e10s/browser_caching_name.js
rename : accessible/tests/browser/browser_caching_relations.js => accessible/tests/browser/e10s/browser_caching_relations.js
rename : accessible/tests/browser/browser_caching_states.js => accessible/tests/browser/e10s/browser_caching_states.js
rename : accessible/tests/browser/browser_caching_value.js => accessible/tests/browser/e10s/browser_caching_value.js
rename : accessible/tests/browser/browser_events_caretmove.js => accessible/tests/browser/e10s/browser_events_caretmove.js
rename : accessible/tests/browser/browser_events_hide.js => accessible/tests/browser/e10s/browser_events_hide.js
rename : accessible/tests/browser/browser_events_show.js => accessible/tests/browser/e10s/browser_events_show.js
rename : accessible/tests/browser/browser_events_statechange.js => accessible/tests/browser/e10s/browser_events_statechange.js
rename : accessible/tests/browser/browser_events_textchange.js => accessible/tests/browser/e10s/browser_events_textchange.js
rename : accessible/tests/browser/browser_treeupdate_ariadialog.js => accessible/tests/browser/e10s/browser_treeupdate_ariadialog.js
rename : accessible/tests/browser/browser_treeupdate_ariaowns.js => accessible/tests/browser/e10s/browser_treeupdate_ariaowns.js
rename : accessible/tests/browser/browser_treeupdate_canvas.js => accessible/tests/browser/e10s/browser_treeupdate_canvas.js
rename : accessible/tests/browser/browser_treeupdate_cssoverflow.js => accessible/tests/browser/e10s/browser_treeupdate_cssoverflow.js
rename : accessible/tests/browser/browser_treeupdate_doc.js => accessible/tests/browser/e10s/browser_treeupdate_doc.js
rename : accessible/tests/browser/browser_treeupdate_gencontent.js => accessible/tests/browser/e10s/browser_treeupdate_gencontent.js
rename : accessible/tests/browser/browser_treeupdate_hidden.js => accessible/tests/browser/e10s/browser_treeupdate_hidden.js
rename : accessible/tests/browser/browser_treeupdate_imagemap.js => accessible/tests/browser/e10s/browser_treeupdate_imagemap.js
rename : accessible/tests/browser/browser_treeupdate_list.js => accessible/tests/browser/e10s/browser_treeupdate_list.js
rename : accessible/tests/browser/browser_treeupdate_list_editabledoc.js => accessible/tests/browser/e10s/browser_treeupdate_list_editabledoc.js
rename : accessible/tests/browser/browser_treeupdate_listener.js => accessible/tests/browser/e10s/browser_treeupdate_listener.js
rename : accessible/tests/browser/browser_treeupdate_optgroup.js => accessible/tests/browser/e10s/browser_treeupdate_optgroup.js
rename : accessible/tests/browser/browser_treeupdate_removal.js => accessible/tests/browser/e10s/browser_treeupdate_removal.js
rename : accessible/tests/browser/browser_treeupdate_table.js => accessible/tests/browser/e10s/browser_treeupdate_table.js
rename : accessible/tests/browser/browser_treeupdate_textleaf.js => accessible/tests/browser/e10s/browser_treeupdate_textleaf.js
rename : accessible/tests/browser/browser_treeupdate_visibility.js => accessible/tests/browser/e10s/browser_treeupdate_visibility.js
rename : accessible/tests/browser/browser_treeupdate_whitespace.js => accessible/tests/browser/e10s/browser_treeupdate_whitespace.js
rename : accessible/tests/browser/doc_treeupdate_ariadialog.html => accessible/tests/browser/e10s/doc_treeupdate_ariadialog.html
rename : accessible/tests/browser/doc_treeupdate_ariaowns.html => accessible/tests/browser/e10s/doc_treeupdate_ariaowns.html
rename : accessible/tests/browser/doc_treeupdate_imagemap.html => accessible/tests/browser/e10s/doc_treeupdate_imagemap.html
rename : accessible/tests/browser/doc_treeupdate_removal.xhtml => accessible/tests/browser/e10s/doc_treeupdate_removal.xhtml
rename : accessible/tests/browser/doc_treeupdate_visibility.html => accessible/tests/browser/e10s/doc_treeupdate_visibility.html
rename : accessible/tests/browser/doc_treeupdate_whitespace.html => accessible/tests/browser/e10s/doc_treeupdate_whitespace.html
rename : accessible/tests/browser/events.js => accessible/tests/browser/e10s/events.js
rename : browser/components/extensions/test/browser/browser_ext_pageAction_context.js => browser/components/extensions/test/browser/browser_ext_pageAction_title.js
rename : browser/components/extensions/test/browser/browser_ext_pageAction_context.js => browser/components/extensions/test/browser/head_pageAction.js
rename : dom/events/test/pointerevents/pointerevent_element_haspointercapture.html => dom/events/test/pointerevents/pointerevent_element_haspointercapture-manual.html
rename : dom/events/test/pointerevents/test_pointerevent_element_haspointercapture.html => dom/events/test/pointerevents/test_pointerevent_element_haspointercapture-manual.html
rename : gfx/thebes/DeviceManagerD3D11.cpp => gfx/thebes/DeviceManagerDx.cpp
rename : gfx/thebes/DeviceManagerD3D11.h => gfx/thebes/DeviceManagerDx.h
rename : media/webrtc/trunk/tools/gyp/test/compiler-override/compiler.gyp => media/webrtc/trunk/tools/gyp/test/compiler-override/compiler-exe.gyp
rename : media/webrtc/trunk/tools/gyp/test/mac/app-bundle/TestApp/English.lproj/InfoPlist.strings => media/webrtc/trunk/tools/gyp/test/ios/app-bundle/TestApp/English.lproj/InfoPlist-error.strings
rename : media/webrtc/trunk/tools/gyp/test/mac/app-bundle/TestApp/English.lproj/InfoPlist.strings => media/webrtc/trunk/tools/gyp/test/mac/app-bundle/TestApp/English.lproj/InfoPlist-error.strings
rename : media/webrtc/trunk/tools/gyp/test/mac/gyptest-postbuild-static-library.gyp => media/webrtc/trunk/tools/gyp/test/mac/gyptest-postbuild-static-library.py
rename : media/webrtc/trunk/tools/gyp/test/rules/src/subdir4/asm-function.asm => media/webrtc/trunk/tools/gyp/test/rules/src/subdir4/asm-function.assem
rename : mfbt/unused.h => mfbt/Unused.h
rename : testing/web-platform/tests/pointerevents/pointerevent_element_haspointercapture.html => testing/web-platform/tests/pointerevents/pointerevent_element_haspointercapture-manual.html
extra : rebase_source : a3de7d91a61df9b14fe07a89f5b0184a067549cf
2016-08-25 08:14:36 -04:00
Tim Huang a6320a5184 Bug 1291652 - Part 2: Make sure that we fetch originAttributes from the nsIloadInfo, but not from the nsIloadContext. r=mayhemer
--HG--
extra : rebase_source : 54ec153c713fe7262a793eb8d3cb53bd43075776
2016-08-23 07:20:00 -04:00