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

14344 Коммитов

Автор SHA1 Сообщение Дата
Jean-Yves Avenard fca0f47212 Bug 1355933: P6. Hook up ADTS sniffer. r=kamidphish
MozReview-Commit-ID: 3aYmCRRbRzg

--HG--
extra : rebase_source : bec12e1f81e90a4bc1ddbb46c57f81c2a968a9ca
2017-04-13 02:40:35 +02:00
Jean-Yves Avenard 1e424ad532 Bug 1355933: P3. Remove unnecessary duplicated define. r=kamidphish
MozReview-Commit-ID: LFNkm689Me0

--HG--
extra : rebase_source : b11f3cae53a6b65afcf864da10d5d6e995369111
2017-04-13 00:36:48 +02:00
Wes Kocher 2986c817dc Merge autoland to central, a=merge CLOSED TREE 2017-04-12 15:13:30 -07:00
Nicholas Hurley f080574c7a Bug 1316683 - Part 1: Make nsILoadContext non-scriptable. r=ehsan 2017-04-12 11:32:05 -04:00
Iris Hsiao 944f87c575 merge mozilla-inbound to mozilla-central a=merge 2017-04-12 11:16:46 +08:00
Ho-Pang Hsu c0b53a4f14 Bug 1168875 - Part 5: Copy service worker interception timeStamps during HttpChannel redirection. r=valentin
--HG--
extra : rebase_source : 636b5c6ea19cea61f506e11cb82d829e4b27656e
2017-04-10 21:13:22 +08:00
Ho-Pang Hsu 03a9e02c97 Bug 1168875 - Part 4: Extend related IPDL and implementation to pass service worker interception timestamps. f=bkelly, r=valentin
--HG--
extra : rebase_source : 6b78b0d46d173068c6ea6d2e2148113f10a36d4a
2017-04-10 21:13:21 +08:00
Ho-Pang Hsu db007e371f Bug 1168875 - Part 2: Add service worker interception timestamp logging APIs to nsIInterceptedChannel. f=bkelly, r=valentin
--HG--
extra : rebase_source : 12fe2df13446960b96ca6deb3b36795c643c6ae5
2017-04-10 21:13:21 +08:00
Ho-Pang Hsu 11560d7c31 Bug 1168875 - Part 1: Extend nsITimedChannel for logging service worker interception related timestamps. f=bkelly, r=valentin
--HG--
extra : rebase_source : 8c20cc8f2014f728038b8b9b214e888cc3215d0c
2017-04-10 21:13:21 +08:00
Yoshi Huang 34f66889f3 Bug 1346713 - Generate unique firstPartyDomain value for NullPrincipal. r=smaug
In the past we used a fixed value for the firstPartyDomain of
NullPrincipal, now we derive it from the path of NullPrincipal, so it
will be unique everytime we create it.
2017-04-11 16:48:34 +08:00
Carsten "Tomcat" Book ee9da45454 merge mozilla-inbound to mozilla-central a=merge 2017-04-11 10:17:24 +02:00
Ehsan Akhgari c0b6db9d07 Bug 1347461 - Part 1: Add a C++ API for the list of DataStorage classes; r=keeler 2017-04-10 22:44:32 -04:00
Wes Kocher 5eabc03c18 Merge m-c to autoland a=merge 2017-04-10 16:55:21 -07:00
Sebastian Hengst 1828ea89ca Backed out changeset 7fdcabdbb675 (bug 1024669) for failing mda, GTest and talos jobs. r=backout on a CLOSED TREE 2017-04-10 19:05:44 +02:00
Bill McCloskey e63bc5e6d9 Bug 1350436 - Use nsIEventTarget instead of Dispatcher in netwerk code (r=mayhemer)
MozReview-Commit-ID: BM4r8icwMY5
2017-04-10 16:49:39 -07:00
Michael Layzell 465d1b2fae Bug 1352553 - Part 2: Restore previous default port behaviour for RustURL::GetPort on a CLOSED TREE, a=bustage
MozReview-Commit-ID: A0SAYtcttZF
2017-04-10 16:22:35 -04:00
Michael Layzell fd68582d06 Bug 1352553 - Update rust-url-capi to use the new nserror crate, r=valentin
MozReview-Commit-ID: 3X3MRb9Iujz
2017-04-10 15:21:25 -04:00
Patrick McManus 9d655ea4c6 Bug 1355277 - change h2 origin frame codepoint to 0xc r=nwgh
MozReview-Commit-ID: GPEEmWQOxQ4

--HG--
extra : rebase_source : 20d74e6668219e18fc9f3eaf13898a35f64ae57f
2017-04-10 21:47:07 -04:00
Nicholas Hurley 3e8ff0a8d4 Bug 1352146 - Don't allow status phrases in http/2. r=mcmanus
MozReview-Commit-ID: Cf30tUivhnB

--HG--
extra : rebase_source : d3b64d6ee9077f448ff9b8aaaff3d449655f0b62
2017-04-07 13:18:20 -07:00
Sebastian Hengst ed655b907f merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-04-08 22:56:39 +02:00
Sebastian Hengst 6a5fe3bae0 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IkoXCAwjjKu
2017-04-08 22:49:04 +02:00
Kris Maglione 8cb2eed52d Bug 1351163: Part 3 - Don't open moz-extension: base channel on NewChannel2(). r=bz
MozReview-Commit-ID: F8H75VM33nz

--HG--
extra : rebase_source : 1c5c61ecd5f4e3c27907feb29f9c07ecaba1bcc6
2017-04-07 22:35:57 -07:00
Kris Maglione 26b71c675c Bug 1351163: Part 2 - Add a nsSimpleChannel helper class for creating simple wrapper channels. r=bz,honzab
This helper class allows us to create simple channels that open an underlying
input stream when the channel is first opened, using a closure function,
without having to expose the nsBaseChannel class to non-necko code.

MozReview-Commit-ID: 6jiImdMXUp0

--HG--
extra : rebase_source : b8d30a28593940c41109b1352eb0c549213c5f89
2017-04-07 14:35:48 -07:00
Kris Maglione 33760a013c Bug 1351163: Part 1 - Support direct stream listener output in nsBaseChannel. r=honzab
Several of our simple channel implementations work naturally with direct
nsIStreamListener output. Currently, these implementations need to create a
pipe, pump data in to that pipe, and then allow nsBaseChannel to pump data out
of the other side of that pipe, into its own stream listener.

This change allows them to output data directly to nsBaseChannel's stream
listener, which removes unnecessary complexity and overhead.

MozReview-Commit-ID: JCGKTt6Kn9x

--HG--
extra : rebase_source : 200dd2641bfa703f658c2c5171a68df3a035be0a
2017-04-07 14:25:33 -07:00
Christoph Kerschbaumer fc56451c03 Bug 1353975 - Fix nullPrincipal edge case. r=bz, r=mcmanus 2017-04-07 20:35:00 +02:00
Sebastian Hengst e71676d7ea Backed out changeset 96596bdeb7ec (bug 1353975) for failing mochitest test_CrossSiteXHR.html and xpcshell test test_allowedDomainsXHR.js. r=backout 2017-04-07 20:00:06 +02:00
Honza Bambas 6e54bcbf74 Bug 1348701 - Calculate HTTP cached content expiration time as 0 when its freshness lifetime is not greater than its current age. r=mcmanus 2017-04-07 07:53:00 -04:00
Christoph Kerschbaumer 5b6c60502e Bug 1353975 - Use a NullPrincipal as the principalToInherit when undergoing an http redirect. r=bz, r=mcmanus
--HG--
extra : rebase_source : b50e4d79123a2f5f53f984f4a7943b4f7684dbc5
2017-04-06 21:35:40 +02:00
Brendan Dahl 79c787d9b4 Bug 1353937 - Expose http server wrapped js object for private apis. r=mcmanus
Slimerjs relies on the hidden _start to create a server with a
port and host.
2017-04-07 09:18:33 -07:00
Dragana Damjanovic 2b3a916d76 Bug 1354233 - Add stream to m0RTTStreams after streamId is set. r=mcmanus 2017-04-07 17:28:21 +02:00
Carsten "Tomcat" Book 3a762886de Merge mozilla-central to mozilla-inbound 2017-04-07 15:33:03 +02:00
Valentin Gosu 68caf482f1 Bug 1351301 - Test that '.' is not required to accept subdomains in auth::URIMatchesPrefPattern. r=mayhemer
MozReview-Commit-ID: 4FXBDSo1bVG

--HG--
extra : histedit_source : 7b7f22dbc4dae53e53b68bc07b04dd84052e2bfa
2017-04-07 04:31:22 +03:00
Honza Bambas 86083e6478 Bug 1351301 - Don't require '.' to accept subdomains in *.auth.trusted-uris preferences. r=valentin
--HG--
extra : histedit_source : 7816f1395314ed94d9cb6cb05de4048012e479c5
2017-04-06 11:28:00 -04:00
Andrea Marchesini 732135f026 Bug 1354040 - nsMIMEInputStream should be nsIIPCSerializableInputStream only if the internal stream is serializable, r=qdot 2017-04-07 09:34:13 +02:00
Andrea Marchesini 4b42693957 Bug 1354052 - Remove NS_NO_INPUT_BUFFERING from nsFileStreams.cpp, r=qdot 2017-04-07 09:33:04 +02:00
Michal Novotny c1be0eb7c3 Bug 1352916 - Add release asserts to try to narrow down the source of the reported crashes. r=valentin
--HG--
extra : rebase_source : 674bc781a8c92e1f7f3dc9e4086ee67cccccd682
2017-04-05 08:13:00 -04:00
Mike Hommey d6aaa996f4 Bug 1353990 - Stop exporting brotli headers. r=gps
They have generic names, and are potentially conflicting with
in-tree headers with the same name (which is true for at least port.h).

There aren't enough users of brotli to want to avoid LOCAL_INCLUDES
in the directories that use it.

--HG--
extra : rebase_source : 82531ac5961ad80e1b3d0c1484a2f146be194411
2017-04-06 13:44:47 +09:00
Wes Kocher 02ea689f15 Backed out changeset f898176c408d (bug 1281278) for xpcshell failures a=backout 2017-04-06 15:48:18 -07:00
Sebastian Hengst 2bb432f54a Backed out changeset c8199958741a (bug 1352146) 2017-04-08 01:44:22 +02:00
Nicholas Hurley 8a7a1ddf0e Bug 1352146 - Don't allow status phrases in http/2. r=mcmanus
MozReview-Commit-ID: Cf30tUivhnB

--HG--
extra : rebase_source : d3b64d6ee9077f448ff9b8aaaff3d449655f0b62
2017-04-07 13:18:20 -07:00
Sebastian Hengst 548852b3a4 merge mozilla-central to autoland. r=merge a=merge 2017-04-07 22:16:26 +02:00
Patrick McManus 3a1c3e7365 Bug 1281278 - test coverage for h2 push with brotli r=nwgh
MozReview-Commit-ID: 84LZRLsefJD

--HG--
extra : rebase_source : 3e09bebff4b2799471d96e9fcd06925ce36ff251
2017-04-06 13:40:26 -04:00
Patrick McManus d71e70b941 Bug 1354220 - HttpChannelChild doesn't release listeners on fail case r=schien
MozReview-Commit-ID: 5gixWVg1NR3

--HG--
extra : rebase_source : 09970c37e26b3539a44c3c8b85502b8f912d9868
2017-04-06 14:21:42 -04:00
Valentin Gosu bb752cebae Bug 1351443 - Only fall back to NewChannel if implementation of NewChannel2 is missing r=mcmanus
If the call to NewChannel2 returns NS_ERROR_NOT_IMPLEMENTED or NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED that means the implementation is actually missing, so it is OK to fall back to NewChannel.
If it fails with any other error code, we just return it.

MozReview-Commit-ID: JmgEmPqu6zJ

--HG--
rename : netwerk/test/unit/test_bug894586.js => netwerk/test/unit/test_1351443-missing-NewChannel2.js
extra : rebase_source : 5d41df330a15ad7b679d9bed52e6fbf90bdc4ed8
2017-04-07 15:25:19 +03:00
Mike Hommey 94c16743bb Bug 1344038 - Remove --disable-gio. r=karlt
--HG--
extra : rebase_source : 3b5b820536b0e9b1fb1da3a16c444ed7839770b9
2017-04-05 14:06:25 +09:00
Mike Hommey 3deb62f2b2 Bug 1344038 - Move the gio protocol handler under netwerk/protocol. r=chmanchester,karlt
Historically, we had support for some GNOME VFS protocols through the
gnomevfs library, and this was under extension. This may not have been
built by default when it was introduced, but GNOME upstream moved those
things into Gtk itself, and we then got support for the new Gio-based
protocol, similar to what we had through the gnomevfs library.

Time passes, and we switched off the gnomevfs library entirely, and
enabled the Gio-based protocol handlers by default. We then removed
everything related to the gnomevfs library.

Fast forward to now, and disabling Gio support in Firefox just doesn't
make sense, and leaving the gio protocol handler as an extension doesn't
make sense either.

As it is a protocol handler, its natural place is under
netwerk/protocol, which is where we're moving it here.

The netwerk/protocol subdirectories being handled automatically, we
don't need to add the moved directory in any DIRS variable.

--HG--
rename : extensions/gio/moz.build => netwerk/protocol/gio/moz.build
rename : extensions/gio/nsGIOProtocolHandler.cpp => netwerk/protocol/gio/nsGIOProtocolHandler.cpp
extra : rebase_source : 071a9cb1769f013717357458df24e2fd9570ccf4
2017-04-05 13:48:52 +09:00
Wes Kocher 4778bff897 Merge m-c to autoland, a=merge 2017-04-06 15:10:53 -07:00
Patrick McManus 01f6a3a07d Bug 1281278 - test coverage for h2 push with brotli r=nwgh
MozReview-Commit-ID: 84LZRLsefJD

--HG--
extra : rebase_source : 44aff3361b08ef412ae747097ab6e68adcabb28f
2017-04-06 13:40:26 -04:00
Carsten "Tomcat" Book 7408344f87 Merge mozilla-central to mozilla-inbound 2017-04-06 13:10:09 +02:00
Liang-Heng Chen b3e3c65d2e Bug 1351340 - check null pointer before using; r=bagder
MozReview-Commit-ID: LJ0FtjZTKq3

--HG--
extra : rebase_source : 2c6435d50204ad0f845ca9c74aa46bb7e4b20c29
2017-04-01 10:23:03 +08:00