Commit Graph

956 Commits

Author SHA1 Message Date
Valentin Gosu
c61cee62a5 Bug 652186 - Implement URL Standard's backslash replacement r=mcmanus
* * *
[mq]: test

MozReview-Commit-ID: JAZ36DstjFs
2016-03-03 15:50:16 +01:00
Carsten "Tomcat" Book
9e3db32a77 Backed out changeset ac4148f22b2d (bug 1186072) for referrer test failures 2016-03-03 09:23:59 +01:00
Franziskus Kiefer
994f6cf0c7 Bug 1186072 - add trailing slash to origin referer header when policy is set, r=sworkman
MozReview-Commit-ID: 3PYuODmqpbL
2016-02-24 10:51:54 +01:00
Nicholas Hurley
87f6a2c993 Bug 1246761 - Properly handle non-terminal 0-length DATA frames. r=mcmanus 2016-03-01 16:28:39 -08:00
J. Ryan Stinnett
eb232136f4 Bug 1238160 - Rename nsILoadContext::GetIsInBrowserElement. r=smaug,mayhemer
This change renames nsILoadContext::GetIsInBrowserElement to
GetIsInIsolatedMozBrowserElement.  Other methods that pass these values around
also have name changes.

Tokens such as "isInBrowserElement" have previously been serialized into cache
keys, used as DB column names, stored in app registries, etc.  No changes are
made to any serialization formats.  Only runtime method and variable names are
updated.

No behavior changes are made in this patch, so some renamed methods may have
nonsensical implementations.  These are corrected in subsequent patches
focused on behavior.

MozReview-Commit-ID: CUttXANQjSv
2016-03-02 10:35:56 -06:00
J. Ryan Stinnett
0af8bf06b1 Bug 1238160 - Rename OriginAttributes.mInBrowser and associated methods. r=bz,mayhemer
This change renames OriginAttributes.mInBrowser to mInIsolatedMozBrowser and
nsIPrincipal::GetIsInBrowserElement to GetIsInIsolatedMozBrowserElement.  Other
methods that pass these values around also have name changes.

Tokens such as "inBrowser" have previously been serialized into cache keys, used
as DB column names, stored in app registries, etc.  No changes are made to any
serialization formats.  Only runtime method and variable names are updated.

No behavior changes are made in this patch, so some renamed methods may have
nonsensical implementations.  These are corrected in subsequent patches
focused on behavior.

MozReview-Commit-ID: 66HfMlsXFLs
2016-03-02 10:35:56 -06:00
Ehsan Akhgari
17f7689c91 Bug 1251873 - Store the trimmed referrer URL on HTTP channel if a trimming referrer policy is in effect; r=mcmanus
Failure to do this will result in the consumers of
nsIHttpChannel::GetReferrer() observing the wrong referrer.  The test in this
patch shows the scenarios which would fail under such conditions.
2016-03-01 09:15:25 -05:00
Wes Kocher
3ab9c0079f Backed out changeset fc5cc380ddb3 (bug 1251873) for wpt cross-origin.swap-origin-redirect.http.html failures
MozReview-Commit-ID: Anr0ilrYczq
2016-02-29 13:34:55 -08:00
Ehsan Akhgari
7c3f2b7a03 Bug 1251873 - Store the trimmed referrer URL on HTTP channel if a trimming referrer policy is in effect; r=mcmanus
Failure to do this will result in the consumers of
nsIHttpChannel::GetReferrer() observing the wrong referrer.  The test in this
patch shows the scenarios which would fail under such conditions.
2016-02-29 14:51:16 -05:00
Patrick McManus
94632bfb7b Bug 831450 - No Range Requests against weak Etag r=mayhemer 2016-02-19 16:09:16 -05:00
Patrick McManus
c7928b9fb6 Bug 1249379 - H2 Push WindowUpdate not written to network r=hurley 2016-02-18 15:00:46 -05:00
Daniel Holbert
82f8a5e482 Bug 1247733 part 4: Add xpcshell test for nsIStandardURL setDefaultPort() API. r=valentin 2016-02-17 19:24:42 -08:00
Christoph Kerschbaumer
cec3750232 Bug 1246220: Update test_bug337744 (r=mcmanus) 2016-02-12 17:18:29 -08:00
Matt Wobensmith
8562186c68 Bug 1246220 - Remove SEC_NORMAL from netwerk/test (r=ckerschb,mcmanus) 2016-02-16 16:10:14 -08:00
ISHIKAWA, Chiaki
72d38a6835 Bug 1248252 - Improper outdated octal constant syntax in M-C tree. Use '0o' prefix. r=dao
Be warned. Do not attemp to change the .js "test" source code in ./js
They are meant to check

 - the outdated 0666 octal constant is still parsed correctly,
 - the outdated 0666 octal constant raises syntax error flag
   in strict mode, etc.

So leave them alone.
2016-02-15 08:57:00 +01:00
Carsten "Tomcat" Book
24a4428cfe Merge mozilla-central to mozilla-inbound 2016-02-10 14:29:05 +01:00
Valentin Gosu
9a555b20a1 Bug 1042347 - %2e entered in URL bar not normalized leading to denormalized request r=mcmanus 2016-02-10 13:13:23 +01:00
Valentin Gosu
cfe4e8fbef Bug 464591 - Add test to make sure percent encoded host name can't bypass IDN normalization r=mcmanus 2016-02-10 13:13:10 +01:00
Honza Bambas
2f30d0fa0a Bug 1231512 - Allow nsIHttpChannel.redirectTo() work also on an open channel, r=jduell 2016-02-05 07:45:00 +01:00
Wes Kocher
224f53316a Backed out changeset 448af29079c9 (bug 1231512) for being a possible cause of build bustage CLOSED TREE 2016-02-05 15:07:06 -08:00
Honza Bambas
fe21265f81 Bug 1231512 - Allow nsIHttpChannel.redirectTo() work also on an open channel. r=jduell 2016-02-05 07:45:00 -05:00
Nicholas Hurley
afc0aaff41 Bug 1244505 - Ensure we allow spaces in cookie names and values. r=mcmanus 2016-02-04 10:14:30 -08:00
Patrick McManus
3967d94028 Bug 1241906 - test for suspended spdy3.1 channel r=hurley 2016-02-05 11:17:24 -05:00
Valentin Gosu
d8dc417ece Bug 241788 - Add missing run_next_test() to xpcshell-test a=testonly 2016-02-05 16:49:49 +01:00
Valentin Gosu
96799fea07 Bug 241788 - net_FilterURIString should filter \r\n\t from the entire URL r=honzab
* net_ExtractURLScheme now uses mozilla::Tokenizer
* net_FilterURIString also filters characters in the scheme now
* removed startPos and endPos parameters for net_FilterURIString and introduced net_IsAbsoluteURL
2016-02-05 14:45:08 +01:00
Marco Bonardo
9bb86e5052 Bug 1242961 - nsStandardURL still allows to build valid nsIURIs longer than network.standard-url.max-length. r=valentin 2016-01-26 17:23:22 +01:00
Honza Bambas
21b84bf0aa Bug 1165256 - Make appcache fully work with OriginAttribues. r=jduell 2016-01-18 20:20:08 +01:00
Patrick McManus
8549951f61 Bug 1240254 - necko tests assumed synchronous error reporting r=dragana 2016-01-15 22:56:06 -05:00
Honza Bambas
ca68c1f3ae Bug 1220272 - Fix signalling in HTTP cache test code suspender. r=michal 2016-01-14 11:24:00 +01:00
Christoph Kerschbaumer
a133946ebd Bug 1234368 - Convert netwerk/test/unit/test_bug203271.js to use asyncOpen2 (r=mcmanus) 2016-01-15 11:38:21 -08:00
Christoph Kerschbaumer
558c941198 Bug 1234757 - Use channel.asyncOpen2 within netwerk/test/unit/test_protocolproxyservice.js (r=mcmanus) 2016-01-15 11:34:34 -08:00
Patrick McManus
f7787419e4 Bug 1234757 - test_protocolproxyservice does not need 2nd arg to asyncopen r=ckerschb 2016-01-15 11:01:20 -05:00
Honza Bambas
871b5c83aa Bug 996836 - Merge CLOSE and WRITE priority in cache2 I/O thread. r=michal 2016-01-05 11:50:00 -05:00
Shu-yu Guo
f2f1b10394 Bug 1220564 - Update chrome code uses of genexprs and legacy comprehensions. (r=billm) 2016-01-06 16:02:16 -08:00
Patrick McManus
7c89af8c09 Bug 1121447 - trust cache less for error codes r=mayhemer 2015-12-22 16:06:07 -05:00
Patrick McManus
9d4026a087 Bug 299031 - heuristic cache rule for 410 should be longer r=mayhemer 2015-12-22 14:58:44 -05:00
Patrick McManus
000d13007f Bug 1234591 - Use channel.asyncOpen2 within netwerk/test/unit/test_http2.js r=ckerschb 2015-12-23 17:46:31 -05:00
Patrick McManus
475de50576 Bug 1234366 - Convert netwerk/test/unit/test_spdy.js to use asyncOpen2 r=ckerschb 2015-12-23 17:36:33 -05:00
Christoph Kerschbaumer
d5c9c30d37 Bug 1234596 - Convert 20 tests within netwerk/test to use AsyncOpen2 (r=mcmanus) 2015-12-22 20:57:57 -08:00
Wes Kocher
0116ee6d8b Backed out changeset 7459e0c97939 (bug 1234596) for test_protocolproxyservice.js failures in xpcshell CLOSED TREE 2015-12-22 18:37:37 -08:00
Christoph Kerschbaumer
1e88722352 Bug 1234596 - Convert 20 tests within netwerk/test to use AsyncOpen2 (r=mcmanus) 2015-12-22 13:09:31 -08:00
Ben Kelly
abc96cfb34 Bug 1233962 P2 Fix service worker xpcshell test to return a dispatcher from ChannelIntercepted(). r=jdm 2015-12-22 11:57:11 -08:00
Christoph Kerschbaumer
c02330459a Bug 1234369 - Convert 25 tests within netwerk/test to use AsyncOpen2 (r=mcmanus) 2015-12-21 16:29:26 -08:00
Christoph Kerschbaumer
f7e3010165 Bug 1233843 - Convert 30 tests within netwerk/test to use AsyncOpen2 (r=mcmanus) 2015-12-21 13:06:46 -08:00
Wes Kocher
1bd1042511 Backed out changeset 28da91dbe6c5 (bug 1233843) for failures in test_bug203271.js in various test suites 2015-12-21 12:29:10 -08:00
Christoph Kerschbaumer
26ae26cac9 Bug 1233843 - Convert 30 tests within netwerk/test to use AsyncOpen2 (r=mcmanus) 2015-12-18 14:56:57 -08:00
Nicholas Hurley
b926029043 Bug 1233784 - Disallow illegal characters in cookie names. r=jduell 2015-12-17 14:41:38 -08:00
Dragana Damjanovic
3e80ef0bc1 Bug 664163 - Fix Get(Local|Remote)(Address|Port) in HttpChannelChild. r=jduell 2015-12-19 16:11:39 -05:00
Christoph Kerschbaumer
87acee754c Bug 1233760 - Revert test_spdy.js to use AsyncOpen2 (r=mcmanus) 2015-12-18 15:23:36 -08:00
Christoph Kerschbaumer
82e194a709 Bug 1233760 - Convert 25 tests within netwerk/test to use AsyncOpen2 (r=mcmanus) 2015-12-18 13:31:16 -08:00