Commit Graph

1078 Commits

Author SHA1 Message Date
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
Valentin Gosu
632626f639 Bug 1231565 - (Part 4) Test that large alt-data content can be saved, and that streaming works r=honzab
--HG--
rename : netwerk/test/unit/test_alt-data_simple.js => netwerk/test/unit/test_alt-data_stream.js
rename : netwerk/test/unit_ipc/test_alt-data_simple_wrap.js => netwerk/test/unit_ipc/test_alt-data_stream_wrap.js
2016-09-27 10:26:32 +02:00
Valentin Gosu
29eff7dfe4 Bug 1231565 - (Part 3) Make alt-data responses report the correct content length r=michal
MozReview-Commit-ID: DvQP7NB4SqW
2016-09-27 10:26:00 +02:00
David Keeler
cba6d0293c bug 1190674 - skip test_tls_server.js on XP for intermittent failures r=jryans,nwgh
MozReview-Commit-ID: Aud6qGQ1y6I

--HG--
extra : rebase_source : 62a6b5aff647bf2165b5a0763c4ce84436b05822
2016-09-26 15:46:29 -07:00
Martin Thomson
b4a425d1e8 Bug 1304919 - Update TLS server tests to expect TLS 1.3 cipher suite, r=ekr
MozReview-Commit-ID: Bz5v08xPNA6

--HG--
extra : rebase_source : 897583f67b5d07a8962d4423ffc9d4cf7cd23b8e
extra : source : bb62ee48735e56b8792ba8256edeed5971f93a34
2016-09-23 13:17:12 +10:00
Sebastian Hengst
0ac2129c0b Backed out changeset bb62ee48735e (bug 1304919) 2016-09-24 18:00:12 +02:00
Martin Thomson
fb053d0a17 Bug 1304919 - Update TLS server tests to expect TLS 1.3 cipher suite, r=ekr
MozReview-Commit-ID: Bz5v08xPNA6

--HG--
extra : rebase_source : 530ad9191cef1309726f15a1d2e9aef84f669cad
2016-09-23 13:17:12 +10:00
Honza Bambas
cd3ee4c951 Bug 1231565 - (Part 1) Basic test for alt-data representation in cache r=honzab 2016-03-22 11:42:00 +01:00
Carsten "Tomcat" Book
25a074d342 merge mozilla-inbound to mozilla-central a=merge 2016-09-15 11:59:50 +02:00
Patrick McManus
14f8754356 Bug 1302488 - Alt-Svc Hard Refresh Race r=hurley 2016-09-13 13:24:19 -04: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
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
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
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
Patrick McManus
1d5bcef263 Bug 1301117 - update opportunisitic encryption r=hurley 2016-08-16 15:51:18 -04:00
Sebastian Hengst
1ea3f17522 Bug 1280775 - null check in removePermission to prevent crash: add test. r=mystor
MozReview-Commit-ID: E94VCl0um3T

--HG--
extra : rebase_source : f7a94ab729a9d2e09731becde3afb75a19b43cbb
2016-06-22 21:16:46 +02:00
James Andreou
4c787b8989 Bug 1282882 - Remove LoadContextInfo and LoadContext private browsing flags; r=jdm,mayhemer 2016-08-26 13:06:48 -04:00
Tim Huang
19e68da566 Bug 1291652 - Part 3: Update tests for fetching originAttributes from the nsILoadInfo, but not from the nsILoadContext. r=mayhemer
--HG--
extra : rebase_source : ebb2beb2c1c8cde1ecb1f04c151c37ff6705077c
2016-08-22 08:41:00 -04:00
Ryan VanderMeulen
baeaac9b10 Merge m-c to fx-team. a=merge 2016-08-23 10:11:52 -04:00
Tom Tromey
ef548d271d Bug 1244227 - Add nsIThrottledInputChannel.idl and implement. r=mcmanus
MozReview-Commit-ID: JVIjxEO901W
2016-08-23 07:36:52 -06:00
Jonathan Hao
cc481ebca7 Bug 1283319 - Tests for connection info's hash key. r=mayhemer
--HG--
extra : rebase_source : 78cc39299d247146be49078976f1671a8bb89811
2016-08-17 19:57:00 -04:00
Junior Hsu
df4fd78a0e Bug 1190027 - Test setters for tab and newline. r=valentin
--HG--
extra : rebase_source : e76167e426468700c7cdda5d3abb64979ae8dd4b
2016-08-18 03:15:00 -04:00
Yoshi Huang
9895a88a2a Bug 1292450 - Check mPrivateBrowsingId is correct in LoadInfo and LoadContext. r=smaug, ehsan
Make sure the mPrivateBrowsingId of Origin Attributes is consistent
between LoadInfo and LoadContext.

For chrome docshell, its mPrivateBrowsingId remains 0 even if its
UserPrivateBrowsing() is true (bug 1278664). So we sync the
mPrivateBrowsingId field in LoadInfo in the same way.
2016-08-15 19:03:24 +08:00
Geoff Brown
f37628877e Bug 1285020 - Request longer timeout for xpcshell test_URIs/test_URIs2; r=michal 2016-08-11 14:14:19 -06:00
Junior Hsu
5536544c0b Bug 1288049 - Canonicalize IPv4 for nsStandardURL, r=valentin 2016-08-09 03:18:00 +02:00
Henry Chang
019c6a51fd Bug 1274112 - Part 1: Make update request v4. r=francois
MozReview-Commit-ID: NgV4QYbDll

--HG--
extra : rebase_source : 0c6c000e81e73617c6616dfa39fa868e35a43f9c
2016-08-04 18:10:06 +08:00
Nicholas Hurley
c520425d6e Bug 1248197 - Remove spdy/3.1 support. r=mcmanus
MozReview-Commit-ID: 1RgzxOY00Le

--HG--
extra : rebase_source : 6b37c087fcffcea7e5dd56d1e6ad5d099e8f5e49
2016-07-15 15:13:49 -07:00
Valentin Gosu
c6165ca8ee Bug 1288482 - Backout bug 1042347. r=mcmanus
MozReview-Commit-ID: J3LmMfQ854V
2016-07-24 23:35:12 +02:00
Gijs Kruitbosch
61094e5a36 Bug 1280584 - implement cloneWithNewRef and thereby make hash/ref links use a simple unified codepath in the IO service, r=valentin
MozReview-Commit-ID: 8FIyclkJPDp

--HG--
extra : rebase_source : 49fb2b12488bd57a5417c7c3bff2211d651c5de7
extra : amend_source : d9940a1d9009930dc2f499417a7e1446d4601c20
2016-07-26 23:38:46 +01:00
aleth
d95b051079 Bug 1288327 - Disable some HTTP cache tests when the old backend is used, followup to fix remaining failures. r=mayhemer
--HG--
extra : rebase_source : a166395eebe14ca88e53ed03ffcb288a42e287f2
2016-07-26 14:14:54 +02:00
Honza Bambas
fb60c43315 Bug 1288327 - Disable some HTTP cache tests when the old backend is used, r=dragana
--HG--
rename : netwerk/test/unit/test_cache2-29e-non-206-response.js => netwerk/test/unit/test_cache2-29e-concurrent_read_half-non-206-response.js
2016-07-21 02:00:00 +08:00
Honza Bambas
908654ae93 Bug 1287487 - remove no longer relevant test_bug651100.js, r=jduell 2016-07-18 08:54:00 +02:00
Honza Bambas
9ce4e1672b Bug 913823 - enable some net xpcshell tests that have been disabled because of cache2, r=michal
--HG--
extra : rebase_source : fba8cea900333bee5ef026446fbf48ed56a518ae
2016-07-18 09:03:00 +02:00
Masatoshi Kimura
8f5ad0af70 Bug 1286694 - Part 1: Modify test_tls_server.js to test TLS 1.3. r=keeler
MozReview-Commit-ID: 5OhfwG1J1Hq

--HG--
extra : rebase_source : 7336296aa363f3eeedec64fb5ed5cfd79dbd99c0
extra : source : 7214c64cf4798f0622df13eebbfc3e4ddbe0c952
2016-07-20 04:59:28 +09:00
Dragana Damjanovic
56aa665f1b Bug 1274818 - Early return from nsHttpChannel::CallOnStartRequest on its second call, r=dragana 2016-07-15 12:14:00 +02:00
Jonathan Hao
198b01a6aa Bug 1270681 - Add a test to ensure that the HTTP Cache is respecting usercontextId. r=mayhemer 2016-07-18 02:21:00 +02:00
Andrew Sutherland
4d5d691957 Bug 1274250 - Referrer host should be IDN encoded when trimmed by policy. r=valentin
Since bug 822869 the referrer trimming has relied on using prePath when
trimming resulting in non-ASCII hosts being passed through in UTF-8 (or
whatever their encoding was.)

Prior to this patch, the logic when trimming was to generate the referrer
string using prePath and possibly nsIURL.filePath, then re-derive the
nsIURI from that string.

Concerned about the cost of introducing asciiPrePath just for this consumer,
I opted to have the code just combine the scheme and asciiHostPort to
approximate the prior use of prePath.  (userPass is explicitly cleared by
the code.)

Concerned about weirdness/loss of fidelity in the nsIURI, I replaced the
code that re-derived the URI from the spec string with manual clearing
of the parts of the URI/URL we were not including.  This may not be the
right thing to do.

I modified the existing Gecko-specific test coverage of SetReferrerPolicy.
The existing web platform tests and referrer policy didn't seem concerned
with this case, and the bug is indeed localized to a very small segment
of Gecko code.  Note that the userReferrerTrimmingPolicy=1 bug case can
only be triggered by explicit user preference setting and this is only
tested in test_referrer.js.  userReferrerTrimmingPolicy=2 need not be
set by preference if REFERRER_POLICY_ORIGIN or
REFERRER_POLICY_ORIGIN_WHEN_XORIGIN (when cross origin) is used.
2016-07-13 11:08:53 -04:00
Valentin Gosu
eaee61d467 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-13 15:19:33 +03:00
Michal Novotny
43bbac13b3 Bug 1279246 - Hang due to CacheFileInputStream deadlock, r=honzab 2016-07-12 17:58:38 +02:00
Christoph Kerschbaumer
3262d009aa Bug 1283759 - Pass securityFlag to newChannel for packaged_app tests r=valentin 2016-07-01 09:27:37 +02:00
Christoph Kerschbaumer
f582942bd8 Bug 1240193 - Convert test_auth_dialog_permission.js to use asyncOpen2 (r=dragana) 2016-06-29 13:01:17 +02:00
Nicholas Hurley
f0f573815e Bug 1273882 - Don't prefetch on origin predictions. r=mayhemer
MozReview-Commit-ID: 13QQarCBaRr
2016-06-17 02:58:41 -07:00
Christoph Kerschbaumer
f674644360 Bug 1278641 - Remove SEC_NORMAL from test_authentication.js. r=dd 2016-06-07 20:38:48 +02:00
Christoph Kerschbaumer
0cfcbe16b4 Bug 1278271 - Use channel.asyncOpen2() within test_cache-control_request.js. r=honza 2016-06-06 17:21:17 +02:00
Dragana Damjanovic
1de3e688ca Bug 1230462 - Change the authentiation dialog message. r=mayhemer,dolske,margaret,tanvi
--HG--
rename : toolkit/components/prompts/test/test_bug625187.html => toolkit/components/prompts/test/test_subresources_prompts.html
2016-06-06 01:06:00 +02:00
Carsten "Tomcat" Book
e8d8c705a1 Backed out changeset 490d3460a197 (bug 1230462) for test failures in test_modal_prompts.html
--HG--
rename : toolkit/components/prompts/test/test_subresources_prompts.html => toolkit/components/prompts/test/test_bug625187.html
2016-06-05 11:26:57 +02:00
Dragana Damjanovic
8d4a3a8b49 Bug 1230462 - Change the authentiation dialog message. r=mayhemer,dolske,margaret,tanvi
--HG--
rename : toolkit/components/prompts/test/test_bug625187.html => toolkit/components/prompts/test/test_subresources_prompts.html
extra : rebase_source : f37ed50a558040dee1958c215ccc5559637d2f84
2016-06-03 09:09:00 +02:00
aleth
e25e343c38 Bug 1277354 - Disable test_cache-control_request when the old cache API is used. r=mayhemer
--HG--
extra : rebase_source : 5cc9d22997c76086abc1dcd5fc88e2eda890938d
2016-06-02 16:11:36 +02:00