Commit Graph

1496 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
Dragana Damjanovic
155721f0d8 Bug 580313 - New resource hints for link. r=smaug 2016-02-26 02:41:00 +01:00
Andrea Marchesini
c6537709fd Bug 1245184 - Update mochitests, r=me 2016-02-25 16:41:13 +01:00
Andrea Marchesini
3e32d12d98 Bug 1245184 - nsICookieManager.removeNative for TestCookie cppunittest, r=smaug 2016-02-25 16:41:13 +01:00
Andrea Marchesini
e33525b174 Bug 1245184 - nsICookieManager.remove should use the OriginAttributes, r=sicking 2016-02-25 16:41:13 +01:00
Dylan Roeh
5045bcd749 Bug 1148544 - Update tests to work with new way of handling user agent overrides. r=jchen 2016-02-22 15:57:18 -06: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
Carsten "Tomcat" Book
1990919b33 Backed out changeset 27f3968ae8b2 (bug 1245184) 2016-02-19 15:55:23 +01:00
Andrea Marchesini
532ae28bc6 Bug 1245184 - CookieManager should remove cookies only if they match the userContextId, r=sicking 2016-02-19 14:49:50 +01: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
Myk Melez
42a2e4cb04 Bug 1238576 - disable mozApps API on desktop/Android; r=ehsan,ochameau,bz,mcmanus,jmaher,marco 2016-02-08 11:24:22 -08:00
Wes Kocher
92997a401b Backed out 2 changesets (bug 1148544) for failures in test_user_agent_overrides.html
Backed out changeset 5073d841f77d (bug 1148544)
Backed out changeset 64a2c41c6f20 (bug 1148544)
2016-02-09 16:58:54 -08:00
Dylan Roeh
8550ef97d4 Bug 1148544 - Update tests to work with new way of handling user agent overrides. r=jchen 2016-02-09 16:51:43 -06: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
Wes Kocher
033e95c521 Merge m-c to fx-team, a=merge 2016-01-29 13:44:12 -08: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
Wes Kocher
8c02f0da52 Merge fx-team to central, a=merge 2016-01-28 17:47:33 -08:00
Tooru Fujisawa
034d724e9d Bug 1241377 - Part 2: Add test for nsIFormPOSTActionChannel. r=mayhemer 2016-01-28 19:38:34 +09:00
Jeff Walden
c86cd2047c Bug 1079844 - Change various non-js/ files/tests/etc. to refer to detaching of ArrayBuffers rather than neutering. (DOM references to "neutering" of DOM things remain as neutering.) r=bz 2016-01-25 18:10:22 -08:00
Gijs Kruitbosch
36dca3c1a5 Bug 1172165 - check all nested URI schemes in CAPS. Make view-source dangerous to load, and about: URIs use per-URI flags so they keep working, r=bz
Also, add an opt-out for crashtest/reftest for the view-source thing so they don't all break, r=bz
2015-12-11 08:06:41 -05:00
Tooru Fujisawa
2c4cc067ba Bug 1241100 - Part 2: Add testcase. r=mayhemer, a=abillings 2016-01-29 16:47:15 +09: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
Henry Chang
9338408eb7 Bug 1216443 - "moz-safe-about:blank" to signed content should switch process. r=kanru 2016-01-18 00:07: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
Eric Rahm
03a18ab1cb Bug 1174972 - Add basic mozilla logging backend. r=froydnj,r=bwc,r=jduell 2016-01-05 13:05:19 -08:00