Commit Graph

1143 Commits

Author SHA1 Message Date
Valentin Gosu
0cb0b2702b Bug 1324243 - Normalize IPv6 r=manishearth
MozReview-Commit-ID: Kxe9eLqvKp6

--HG--
extra : rebase_source : 195cafb81adeb9d5fa0a84535144debe1b26f6ff
2017-03-01 00:01:15 +01:00
Patrick McManus
a980860d80 Bug 1340655 - remove h1 pipeline support r=mayhemer 2017-02-17 15:35:37 -05:00
Valentin Gosu
b3ec4f5121 Bug 1335645 - Part 7 - Fix warning caused by undeclared variables r=junior
MozReview-Commit-ID: KYrcvYwVNPB

--HG--
extra : rebase_source : 7bc5467661b556bea444cd8c7b98a887220589b6
2017-02-27 19:38:10 +01:00
Valentin Gosu
be8896f3f2 Bug 1335645 - Part 6 - Fix warning caused by badly defined unicode characters r=junior
MozReview-Commit-ID: 1tC0chKljV0

--HG--
extra : rebase_source : f0cd9cc8f61f5cf02ee3a2b9007cff668d582657
2017-02-27 19:36:59 +01:00
Valentin Gosu
ef2a24017c Bug 1335645 - Part 5 - Fix warning when test.relativeURI is undefined r=junior
MozReview-Commit-ID: HosOLS1Rzpi

--HG--
extra : rebase_source : d1b1334900f322fd1be41850aa8f2edc75f440fe
2017-02-27 19:35:16 +01:00
Valentin Gosu
d02d28082c Bug 1335645 - Part 4 - Fix warning for undeclared variable r=junior
MozReview-Commit-ID: CeCFpLCaOp6

--HG--
extra : rebase_source : 50dd8c9290c8774eb1a119091440356cb5be58f3
2017-02-27 19:16:19 +01:00
Valentin Gosu
d07db8d19a Bug 1335645 - Part 3 - Stop server at the end of the test r=junior
MozReview-Commit-ID: E3iFR25vayR

--HG--
extra : rebase_source : b19dc39124f0b8b78bfcb8f4f85933f4ad1091ae
2017-02-27 19:07:58 +01:00
Honza Bambas
8a976a079d Bug 1341932 - Ignore preamble in multimixed converter. r=valentin 2017-02-23 09:14:00 -05:00
Ehsan Akhgari
8b2af3a15f Bug 1341954 - Break a reference cycle caused by ChannelListener that creates leaks in all tests using it; r=mcmanus 2017-02-23 12:12:56 -05:00
Carsten "Tomcat" Book
9d982b9508 merge mozilla-inbound to mozilla-central a=merge 2017-02-22 14:33:38 +01:00
Andrea Marchesini
e87ad16573 Bug 1339710 - Remove nsIPartialFileInputStream, r=smaug 2017-02-22 09:41:51 +01:00
Iris Hsiao
f9bdfe10bb Backed out 5 changesets (bug 1339710) for GTest failures in TestSlicedInputStream.StartBiggerThan
Backed out changeset 7c0ec55b44dc (bug 1339710)
Backed out changeset cbb4e1c2aada (bug 1339710)
Backed out changeset c685dca493f5 (bug 1339710)
Backed out changeset 4761a15d45fd (bug 1339710)
Backed out changeset 7561692c1bc7 (bug 1339710)
2017-02-22 16:19:50 +08:00
Tooru Fujisawa
8f6cb3e9d7 Bug 1338262 - Remove legacy generator from netwerk/test/. r=mayhemer 2017-02-22 16:11:34 +09:00
Andrea Marchesini
190bf147a2 Bug 1339710 - Remove nsIPartialFileInputStream, r=smaug 2017-02-22 07:56:29 +01:00
Shih-Chiang Chien
9c648e86fc Bug 1337721 - Part 2, add xpcshell test for channel priority. r=mayhemer
MozReview-Commit-ID: JbbRg63ufW9

--HG--
extra : rebase_source : 4a32499e62a9c3f9292311a3974d5759bf5a579e
2017-02-10 16:56:04 +08:00
Ehsan Akhgari
6e2196bced Bug 1340695 - Perform a case insensitive string comparison in RustURL::SchemeIs(); r=mcmanus 2017-02-18 09:41:58 -05:00
Dragana Damjanovic
7d8caf031b Bug 1338876 - Test for a digest auth. r=mcmanus
--HG--
extra : rebase_source : 2a0e7a7ded147c6fd19a9bc60a552408d7acb7d7
2017-02-17 10:44:36 -05:00
Valentin Gosu
6ea6d93279 Bug 1325081 - Change nsHttpChannel to be able to race network with cache r=michal
MozReview-Commit-ID: LmIK9RiKsKp

--HG--
extra : rebase_source : f908b168eb76781e3f398efed9b111a0aca63c29
2017-02-16 15:20:13 +01:00
Valentin Gosu
bc75a46d4a Bug 1325081 - Add interface to delay the cache fetch in order to test network-cache racing of HTTP requests r=michal
MozReview-Commit-ID: 96fSzPw8FHi
* * *
[mq]: over1

MozReview-Commit-ID: 80RePXK1TbR

--HG--
extra : rebase_source : a89470efe71442fb6af36e74ac582e232557f81d
2017-02-15 20:44:09 +01:00
Jonathan Hao
020a6ee9a8 Bug 1334690 - Test that AlternateService is isolated by origin attributes. r=mcmanus
MozReview-Commit-ID: 3e6eiB5roVt

--HG--
extra : rebase_source : 57e16386780d3bf52e5557f3570a8835eb99e361
2017-02-16 17:50:55 +08:00
Junior Hsu
a9616aa8f5 Bug 1338154 - not normalize ipv4 for resource and chrome uri. r=valentin 2017-02-13 03:10:00 +08:00
Nils Ohlmeier [:drno]
0a462392c1 Bug 1317946: unit test for zero length UDP messages. r=schien
MozReview-Commit-ID: Gemk8EiUO31

--HG--
extra : rebase_source : cd3fc124e4a710b6613b19a79028df5aae4a227c
2017-01-06 15:35:08 -08:00
Junior Hsu
97192dfa88 Bug 482934 - force to revalidate for a custom conditional reqeust, r=michal, honzab 2016-11-21 18:42:08 +08:00
Valentin Gosu
f2fd6230e6 Bug 1337629 - Restrict allowed hostname characters r=mcmanus
MozReview-Commit-ID: H8u2C5oSiT9
2017-02-09 01:55:49 +01:00
Valentin Gosu
ff510f7133 Bug 1275746 - Don't allow empty host name for URLTYPE_AUTHORITY URLs r=mcmanus
* Return NS_ERROR_MALFORMED_URI if mURLType is URLTYPE_AUTHORITY and the hostname is empty.
* Make sure nsStandardURL::SetFile calls init with the correct arguments

MozReview-Commit-ID: 7t3mZtAbMF3
2016-07-07 15:06:08 +03:00
Honza Bambas
b38f7e146d Bug 1321612, r=valentin
--HG--
rename : netwerk/test/unit/test_multipart_streamconv.js => netwerk/test/unit/test_multipart_streamconv-byte-by-byte.js
rename : netwerk/test/unit/test_multipart_streamconv_missing_lead_boundary.js => netwerk/test/unit/test_multipart_streamconv_missing_boundary_lead_dashes.js
extra : rebase_source : dd5348aee7e022b84edfa2eec94e565133350fe3
2017-02-08 15:48:59 +01:00
Wes Kocher
95ae929bd7 Merge m-c to autoland, a=merge
MozReview-Commit-ID: AY7XekuIyIs
2017-02-07 16:56:19 -08:00
Valentin Gosu
a554aa0d27 Bug 1335645 - part 2 - Fix JS errors in test_protocolproxyservice.js r=bagder
Fixes:
line 721: ReferenceError: assignment to undeclared variable uriStrFilterList
- declared variable in global scope
line 617: ReferenceError: reference to undefined property "spec"
- changed onProxyAvailable expectation to be called with a channel instead of URI - now dumping channel.URI.spec
- Enabled strict mode.
MozReview-Commit-ID: AeC4CtCpDZF
2017-02-07 16:20:57 +01:00
Valentin Gosu
57ede22306 Bug 1335645 - part 1 - Fix JS errors in test_reopen.js and test_file_partial_inputstream.js r=junior
MozReview-Commit-ID: 2QOdvACvW8z
2017-02-07 16:20:18 +01:00
Tim Huang
4b8d34bc82 Bug 1312954 - Part 12: Update speculativeConnect to speculativeConnect2 for test_speculative_connect.js. r=mayhemer 2017-02-02 22:20:00 -05:00
Tim Huang
a51aff22a7 Bug 1312954 - Part 7: Update the tests of network predictor. r=nwgh 2017-02-02 22:17:00 -05:00
Tim Huang
a6d4f91ce5 Bug 1312954 - Part 3: Add a test for nsICacheStorageService.asyncVisitAllStorages(). r=mayhemer 2017-02-02 22:15:00 -05:00
Florian Quèze
2cf30507bd Bug 1334261 - script-generated patch to remove more newURI null parameters, r=jaws. 2017-01-27 10:51:02 +01:00
David Keeler
906fda1f23 bug 1324952 - don't asyncWait on the input stream if we've been stopped in test_be_conservative.js r=mcmanus
MozReview-Commit-ID: 3wkbicHLuUG

--HG--
extra : rebase_source : 5d5aaf89640a62efab203f527dbced441144f677
2017-02-06 15:02:01 -08:00
Mark Banner
16e6d381ac Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ

--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Florian Quèze
85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Shih-Chiang Chien
a045437805 Bug 1326483 - Part 2, test cases. r=drno
MozReview-Commit-ID: IH9nT0LNS7S

--HG--
extra : rebase_source : e78bc411625cfe46980e45091a7a2a8c0191eae7
2017-01-05 14:42:47 +08:00
Nicholas Nethercote
a68390af93 Bug 1329171 (part 1) - Add some more cases to the data URI unit test. r=jduell.
--HG--
extra : rebase_source : d8c044cfa5ec79a1881e410b26f8eef48b0fe593
2017-01-09 15:14:37 +11:00
Florian Quèze
fc6379e827 Bug 1329182 - remove trailing newURI null parameters in the rest of the tree, r=jaws. 2017-01-09 20:27:26 +01:00
Thomas Nguyen
40bcddbe8a Bug 1329065 - Check the correct policy when setting referrer header. r=mcmanus
MozReview-Commit-ID: JG5DVBqGczS
2017-01-06 11:26:24 +08:00
Thomas Nguyen
8cd72c67ca Bug 1304623 - Create a pref to control the default referrer policy- part 2. r=mcmanus, r=bkelly
MozReview-Commit-ID: GEUDZ8UZAT5
2017-01-05 11:30:03 +08:00
dimi
bcd217b3c0 Bug 1320402 - Move url-classifier off of using appIds. r=ehsan, gcp
MozReview-Commit-ID: IqnAVrv2c9W
2017-01-03 14:21:58 +08:00
Ehsan Akhgari
ad51310cc1 Bug 1170190 - Part 3: Add tests for the e10s case too; r=mayhemer 2016-12-23 14:40:11 -05:00
Ehsan Akhgari
cd895c94f2 Bug 1170190 - Part 2: Add the nsIHttpChannel::IsTrackingResource() API to query the channel's tracking annotation; r=mayhemer 2016-12-23 14:40:11 -05:00
Ehsan Akhgari
2aa37e3665 Bug 1170190 - Part 1: Split out a new pref from privacy.trackingprotection.annotate_channels to explicitly control whether the channel priority is adjusted; r=mayhemer 2016-12-23 14:40:10 -05:00
David Keeler
9c0e4cc656 bug 1323843 - add a test for conservative TLS option added in bug 1321783 r=mcmanus
MozReview-Commit-ID: K0nbitkl6c9

--HG--
extra : rebase_source : a4b8fdc4e3c8be9ac66399759e29f2153f6b5efa
2016-12-14 09:19:00 -08:00
David Keeler
05e56a2501 bug 857627 - 3/4: have nsIX509CertDB.addCert* functions return the added certificate r=Cykesiopka,jcj
This obviates some uses of nsIX509CertDB.findCertByNickname. Other uses are
replaced by equivalent functionality.

MozReview-Commit-ID: 5NCy9mww560

--HG--
extra : rebase_source : cc8506da86e86ae2edef1309e3eb2fddbf8f757e
2016-11-18 15:32:58 -08:00
Kershaw Chang
1d9ae3ffc4 Bug 1141814 - Part 3: Unit test. r=honzab 2016-11-30 23:13:00 -05:00
Masatoshi Kimura
415e3e6e03 Bug 1321252 - Stop setting "network.http.spdy.enforce-tls-profile" in tests. r=nwgh
MozReview-Commit-ID: 6qbgQxG32Kj

--HG--
extra : rebase_source : 7059b80aabaeff03bfb2608dd757c4401fdda0e7
2016-11-30 19:33:46 +09:00
Nicholas Hurley
ad0fdc81aa Bug 1310855 - Remove hasNode xpcshell.ini variable r=mcmanus
MozReview-Commit-ID: Hx2e1JYfUfy

--HG--
extra : rebase_source : 70ffa6b9e38e357d797ef34a547d921e7a609410
2016-10-18 10:54:33 -07:00