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

1226 Коммитов

Автор SHA1 Сообщение Дата
Michal Novotny 8030ac3f2d Bug 1382688 - Do not allow to enable old disk cache backend, r=honzab 2017-08-24 10:25:38 +02:00
Carsten "Tomcat" Book 99aa3f8e70 Merge mozilla-central to mozilla-inbound 2017-08-17 13:13:10 +02:00
Masatoshi Kimura 9ab81a1042 Bug 1389723 - Remove @deprecated nsIMIMEInputStream.addContentLength. r=dragana
MozReview-Commit-ID: 9b45aozatin

--HG--
extra : rebase_source : 636da171929fe6ecd69de5c68d9ed4064a3a7b09
2017-08-12 13:34:02 +09:00
Sajjad Arshad 404facfbbc Bug 1388925 - Add an opaque flags to have a fine-grained control over TLS configurations. r=mcmanus, r=keeler
This flags is added in the http channel interface by which developers can control the TLS
connections from JavaScript code (e.g. Add-ons). Basically, all the changes accounted for
plumbing this TLS flags from JavaScript level to C++ code responsible for calling NSS
module. We also added a unit test to make sure that separate connections are created if we
use different tlsFlags. Basically we used a concrete set of flag values that covers the
edge cases and check the hashkey generated in the connection info.

--HG--
rename : netwerk/test/unit/test_separate_connections.js => netwerk/test/unit/test_tls_flags_separate_connections.js
2017-08-16 12:41:16 -07:00
Valentin Gosu b3e75dbf06 Bug 1386683 - Do not escape the `'` character in the URL hash r=junior
MozReview-Commit-ID: DkoDvWGbWfu

--HG--
extra : rebase_source : 22de804e82136114a0688ce271cac8c49f8c4f23
2017-08-06 11:13:04 +02:00
Valentin Gosu 3b95ce67d2 Bug 1380617 - Fix tests that use nsIURI.host expecting unicode domain name r=smaug,honzab
MozReview-Commit-ID: GKnbpc8GMb2
2017-08-09 17:44:06 +02:00
Masatoshi Kimura 8b713b2b0f Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.

MozReview-Commit-ID: 4ecl3RZhOwC

--HG--
extra : rebase_source : 412880ea27766118c38498d021331a3df6bccc70
2017-08-04 17:49:22 +09:00
Masatoshi Kimura f143125cc2 Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu
MozReview-Commit-ID: DqJdTGopR9G

--HG--
extra : rebase_source : e8c9eb03468c075b79013b6e0bd8b367229c24cd
2017-07-29 20:50:21 +09:00
Valentin Gosu da0fc06913 Bug 1386195 - mDisplayHost must be initalized even when host does not start with `xn--` r=dragana
MozReview-Commit-ID: HnDqw8oyE2r
2017-08-01 14:24:53 +03:00
Valentin Gosu 6f0b819964 Bug 1385883 - nsStandardURL - make sure we always check if the host is ascii r=jduell
SetRef and several other methods call InvalidateCache, which in turn sets mCheckedIfHostA to false.
That means that each time before trying to access mDisplayHost we need to make sure it is properly initalized.

MozReview-Commit-ID: Agtsy6Lx7Nb
2017-08-01 01:51:48 +03:00
Nicholas Hurley 17f1c3bcb9 Bug 1367551 - Cancel pushes when we already have the item in cache. r=mayhemer,mcmanus
MozReview-Commit-ID: 24N0Jm85wcC

--HG--
extra : rebase_source : e3babc6e569ce723c1f35bd587bb5f0b59f79cfd
2017-06-28 10:34:55 -07:00
Kershaw Chang 7a39230fb2 Bug 1378385 - Test case. r=mayhemer
Add a test to see when "network.http.active_tab_priority" is false, the http requests should be sent by their priority. That means the transaction with the highest priority will be dispatched  first.

--HG--
extra : rebase_source : dc05145834d93077a4742aa57b1becc3996f074a
2017-07-18 21:47:00 -04:00
Kershaw Chang b62593bf12 Bug 1378385 - Add a pref for switching off giving more priority to active tab. r=mayhemer
This patch introduce new pref "network.http.active_tab_priority" which indicate whether or not we dispatch transactions from active tab before others from background tab.

--HG--
extra : rebase_source : 093ab372d392eec285889f307d4540012e7aac9f
2017-07-18 21:47:00 -04:00
Junior Hsu e929a71def Bug 1373198 - Part 9: disable rcwn for xpcshell tests which require deterministic cache behavior, r=michal 2017-07-11 03:17:00 +02:00
Junior Hsu ca582441d7 Bug 1373198 - Part2: disable rcwn for xpcshell tests which require deterministic cache behavior, r=michal 2017-06-16 03:55:00 +02:00
Valentin Gosu 2a645b1ab7 Bug 945240 - Add unit test for new behaviour r=mcmanus,smaug
MozReview-Commit-ID: In47wgDKbhR

--HG--
extra : rebase_source : 8dc68e6e82152b232ffe13f985c65a014563a052
2017-07-11 19:10:37 +02:00
Michal Novotny 4d93478959 Bug 1371890 - Normalize time returned by ParseFTPList. r=mcmanus 2017-07-11 09:45:15 -04:00
Nicholas Hurley df3233b549 Bug 1368080 - Only remove pushed streams from cache when canceling the stream if the ids match. r=mcmanus
MozReview-Commit-ID: 5y0Aj6Bgk9u

--HG--
extra : rebase_source : 015352a4b0a87734afce856fcd7b424e96c6ede8
2017-06-28 10:29:34 -07:00
Carsten "Tomcat" Book 259377b6ab merge mozilla-inbound to mozilla-central a=merge 2017-06-26 13:25:51 +02:00
DimiL 9814af0253 Bug 1335943 - Use the right origin attribute in Safe Browsing completions. r=francois
MozReview-Commit-ID: 8HQHzuwE5Cf

--HG--
extra : rebase_source : d6c57eb6b4d16898ca0f067052d8e9064c24c3a5
2017-06-21 17:27:22 +08:00
Florian Quèze 2924991bf6 Bug 1368456 - remove Promise.jsm imports in tests, r=mconley. 2017-06-23 11:25:52 +02:00
Kershaw Chang aebf20ee04 Bug 1360580 - Add Throttleable flag to the channel marked as tracking. r=mayhemer
--HG--
extra : rebase_source : c2500a534cafbc4e000f6c3af9c2cf0792a3893c
2017-06-21 19:55:00 -04:00
Florian Quèze 673abbab34 Bug 1375459 - disable netwerk/test/unit/test_backgroundfilesaver.js on Android 4.3 API15+ debug due to crashes, rs+a=Tomcat 2017-06-22 13:33:43 +02:00
Florian Quèze 5b8f8b884c Bug 1374282 - script generated patch to remove Promise.defer calls, r=Mossop. 2017-06-22 12:51:42 +02:00
Florian Quèze 66f6d259bc Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop. 2017-06-22 12:51:42 +02:00
Liang-Heng Chen 553bf6ba4d Bug 1177909 - Part 2: add test cases when WebSockets use system proxy; r=bagder
MozReview-Commit-ID: BzHbieN2W4y

--HG--
extra : rebase_source : 657f746da022a49a8c4317e02161dff5af125fac
2017-06-12 14:56:16 +08:00
Honza Bambas 9e38f7b8fc Bug 1319111 - Expose 'result principal URI' on LoadInfo as a source for NS_GetFinalChannelURI (removes some use of LOAD_REPLACE flag). r=bz, r=mikedeboer
--HG--
extra : rebase_source : c9690f4b8decd39a10da676bd50ec09cb2ad8892
2017-05-30 18:07:59 +02:00
Kershaw Chang 14ca5d5894 Bug 1360581 - Part3: Add setTopWindowURIIfUnknown in nsIHttpChannelInternal, r=mayhemer
Since the uri classifier needs topWindowURI to decide whether or not to enable channel annotation, we have to allow to change this attribute in js for passing the test.

--HG--
extra : rebase_source : c5effa05fecef0d32600e4c9c926dbfa77c2ca6f
2017-06-13 01:21:00 +02:00
Jan de Mooij d2c775856a Bug 1358135 part 1 - Fix some browser tests to trigger a shrinking GC instead of a normal GC. r=jonco 2017-06-03 17:29:17 +02:00
Thomas Nguyen 262347b745 Bug 1351146 - P2 - Update test case and usage of nsIRedirectHistoryEntry interface. r=dragana
MozReview-Commit-ID: s61VV5CLx8
2017-05-25 19:42:00 +02:00
Honza Bambas b852ed009a Backout of 7f28c1084c47 (bug 1319111) for security checks breakage, r=me 2017-05-25 18:16:02 +02:00
Ehsan Akhgari 87f01dcea3 Bug 1363311 - Honor Set-Cookie headers in multipart/mixed response boundary headers in e10s mode; r=jdm 2017-05-24 17:32:32 -04:00
Jonathan Kew d74c8673ea Bug 1364283 - Treat Aspirational scripts the same as Restricted, in anticipation of UAX#31 update. r=valentin 2017-05-23 23:33:46 +01:00
Honza Bambas 2dfe5d94b8 Bug 1319111 - Expose 'result principal URI' on LoadInfo as a source for NS_GetFinalChannelURI (removes some use of LOAD_REPLACE flag). r=bz 2017-05-23 08:09:00 -04:00
Honza Bambas d6d727a69e backout of f9abb9c83452 (bug 1319111) for crashes, r=bz 2017-05-13 13:55:11 +02:00
Wes Kocher 0a1e1fe23b Backed out changeset 95ff98f1c2e5 (bug 1319111) for talos failures a=backout
MozReview-Commit-ID: Gs09moFm5rQ
2017-05-12 18:24:42 -07:00
Honza Bambas 70f62bdec1 backout of f9abb9c83452 (bug 1319111) for crashes, r=bz 2017-05-12 22:13:49 +02:00
Wes Kocher 0070a44b21 Backed out 3 changesets (bug 469228) for being a possible cause of frequent test_animSVGImage.html failures a=backout
Backed out changeset 1431c80b02ef (bug 469228)
Backed out changeset 8d46046a7367 (bug 469228)
Backed out changeset 2e22c0308a7e (bug 469228)

MozReview-Commit-ID: AMRASDPCWu3

--HG--
extra : rebase_source : 46b5ee0f67ffeaec31e1ef379a2e86c20cdee989
2017-05-10 10:13:54 -07:00
Kershaw Chang 2dd6b7d519 Bug 469228 - Part2: Modify tests that can not pass, r=Waldo 2017-05-10 03:49:00 +02:00
Johann Hofmann c99cbe03c0 Bug 1337246 - Part 3 - Add a test for hostnameIsLocalIPAddress. r=valentin
MozReview-Commit-ID: 11nCKJFsv6i

--HG--
extra : rebase_source : 7ccb47feae6e60f979b560d6c4f2e8c0fce4d3d6
2017-05-07 21:12:45 +02:00
Shane Caraveo 075b7b243b Bug 1360052 handle cancel during http-on-examine-response, r=mayhemer
MozReview-Commit-ID: 607FLbUWjxT

--HG--
extra : rebase_source : 226e21dbbc9de386c43af788d7c375759ca17b1d
2017-05-05 15:54:19 -07:00
Honza Bambas a1b64b4694 Bug 1319111 - Expose URI to make security check against on LoadInfo (no LOAD_REPLACE flag). r=bz 2017-01-27 19:10:01 +01:00
Junior Hsu 6f2d5288c1 Bug 1360163 - Add test for altData of cache index, r=michal
--HG--
extra : rebase_source : fcd588c232364fa7fc4cbd4e133bd32557231b3c
2017-04-28 17:14:21 +08:00
Wes Kocher e141e24ffb Merge m-c to autoland, a=merge
MozReview-Commit-ID: 1peTFbNMVnU
2017-05-02 17:38:11 -07:00
Kershaw Chang d8ed9c0d8a Bug 1355539 - Test case, r=mayhemer 2017-05-02 00:31:00 +02:00
Patrick McManus d1c557fcfe Bug 1361099 - provide a way to map all dns to constant r=valentin
// When non empty all non-localhost DNS queries (including IP addresses)
// resolve to this value. The value can be a name or an IP address.
// domains mapped to localhost with localDomains stay localhost.
pref("network.dns.forceResolve", "");

Testing is the primary use case here - replay captive data on a 'fake
server' by directing all traffic to it at the DNS level. Chrome has
something similar.

MozReview-Commit-ID: 7AOgQZpZKec

--HG--
extra : rebase_source : ad2648a701fffecaae47cbfae17e7aa6badd50ee
2017-05-01 13:51:55 -04:00
Dragana Damjanovic 9a3cfa6017 Bug 1334776 - Store header names into nsHttpHeaderArray. r=mcmanus 2017-04-27 16:48:36 +02:00
Patrick McManus 76887cd662 Bug 1359222 - fix prefs in test_http2.js r=nwgh
the spdy 3-1 pref doesn't do anything anymore

MozReview-Commit-ID: IfVHkQbiAEh

--HG--
extra : rebase_source : bd2dc3a4aec1b1e6d0d0a2adc45ca53a41a50db0
2017-04-24 16:58:12 -04:00
Nicholas Hurley 6474ffcc78 Bug 1348460 - make predictor::learn async. r=Ehsan
Serializing and sending IPC messages takes a lot of time, and it gets in the way of image loading. Making this functionality async gets out of the way of image loading (among other things).

The test has been changed to pump the main thread after calling predictor.learn so the multiprocess version can actually run to completion. This isn't strictly necessary in the single process version, but it makes the code changes (which are already pretty invasive) simpler.

MozReview-Commit-ID: 7jvhomlygbf

--HG--
extra : rebase_source : a779a498f83a2b02d2d634eff63d15f483793046
2017-04-17 17:22:46 -07:00
Junior Hsu 35f3699a4e Bug 1357647 - Convert names to RaceCacheWithNetwork form. r=valentin
--HG--
rename : netwerk/test/unit/test_race_cache_network.js => netwerk/test/unit/test_race_cache_with_network.js
extra : rebase_source : 908d6437a25d58be0c6dc4cd9a33ae77cd6d0dc8
2017-04-18 23:52:00 -04:00