Commit Graph

15540 Commits

Author SHA1 Message Date
Andrea Marchesini
4ce4e2950f Bug 1421772 - Updating comments for nsInputStreamPump::OnStateStop, r=valentin
This patch removes also the assertion that makes OnStateStop to be executed on
main-thread only.
2017-11-30 09:28:13 +01:00
Bogdan Tara
df97c78dbf Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-11-30 01:10:06 +02:00
Bogdan Tara
7d5d1bc25f Backed out 1 changesets (bug 1340197) for failing reftests on /tests/dom/base/crashtests/504224.html r=backout a=backout on a CLOSED TREE
Backed out changeset 42fc2739a333 (bug 1340197)
2017-11-30 00:58:17 +02:00
Randell Jesup
c018787ec1 Bug 1297418: update usrsctp to rev 7737b4a5 from upstream rs=jesup
Green light from Michael Tuexen to take this rev from upstream by email
2017-11-29 14:56:02 -05:00
Randell Jesup
6b32e1e8f7 Bug 1297418: small android patch to upstream sctp library rs=jesup 2017-11-29 14:55:59 -05:00
Randell Jesup
130c47d9ae Bug 1297418: Rework sctp update script to fetch from new repo location (git) r=bwc 2017-11-29 14:55:55 -05:00
Dorel Luca
79499f4044 Merge mozilla-central to autoland r=merge on a CLOSED TREE 2017-11-29 12:31:25 +02:00
Dorel Luca
be78e6ea9b Merge inbound to mozilla-central r=merge a=merge 2017-11-29 12:26:15 +02:00
Mark Banner
099e4fa549 Bug 1421458 - Add more initial configuration setup and prepare .eslintignore for enabling ESLint on more xpcshell-test directories. r=mossop
MozReview-Commit-ID: 4nbTuNNnAdZ

--HG--
extra : rebase_source : 7131f0ddad79d28615a5799c657972bd84a69180
2017-11-28 22:57:08 +00:00
Byron Campen [:bwc]
3b334bbeaa Bug 1290948 - Part 11: Fix a nullptr crash that web-platform-tests is hitting. r=drno
MozReview-Commit-ID: BE2tMZjH0X0

--HG--
extra : rebase_source : 4a9a888edc15608d68db0d9ca061cb5b15beb46b
2017-11-15 20:15:44 -06:00
Nika Layzell
d004fe115e Bug 1415158 - Don't notify ContentParent of a load if our IPC channel is closed. r=billm
MozReview-Commit-ID: 4HBIalVCfno
2017-11-28 15:30:56 -05:00
Tim Huang
7f5b17baa5 Bug 1410134 - Fix the remove-while-iterating for RemoveCookiesWithOriginAttributes. r=jdm
MozReview-Commit-ID: u56N4084lL
2017-11-28 14:56:55 -05:00
Honza Bambas
794a11e78e Bug 1340197 - Don't wait for concurrent HTTP cache entry when the depending load is a top-level navigation. r=michal 2017-11-27 07:26:00 -05:00
Brindusan Cristian
9f3bd430c2 Merge inbound to mozilla-central a=merge r=merge 2017-11-28 11:50:57 +02:00
Dragana Damjanovic
3de66b952d Bug 1404069 - Revert bug 1363372. r=mayhemer 2017-11-27 21:12:31 +01:00
arthur.iakab
dfc104159a Merge inbound to central r=merge a=merge 2017-11-24 12:00:30 +02:00
Nils Ohlmeier [:drno]
32e55068d6 Bug 1230759: Part 4 - update moz build for libsrtp 2.2 r=jesup
MozReview-Commit-ID: 9OQrMrszpy8

--HG--
extra : rebase_source : dce3d26334205dbda83e9f39880943a383d60763
2017-11-07 22:05:41 -08:00
Nils Ohlmeier [:drno]
f182163d59 Bug 1230759: Part 2 - update libsrtp to 2.2.0-pre r=jesup
MozReview-Commit-ID: HUsFNUJhl1Q

--HG--
extra : rebase_source : 2314771c2b7605c0b0e7187450d8d37736817710
2017-11-07 22:06:37 -08:00
Nils Ohlmeier [:drno]
92e05ff2b6 Bug 1230759: Part 1 - updated the libsrtp update script r=jesup
MozReview-Commit-ID: 3HVMaj0YHJ1

--HG--
extra : rebase_source : 723cd4915695523a900be3b2d3abfadb7d54de3c
2017-11-12 08:11:28 +08:00
Tooru Fujisawa
cbd4fe279b Bug 1416253 - Remove conditional catch consumers in netwerk/. r=mak 2017-11-23 14:20:43 +09:00
Valentin Gosu
e6c466fb06 Bug 1418810 - Use fallible assign to prevent OOM. r=mayhemer
MozReview-Commit-ID: LU1RbkUIBZz
2017-11-21 20:36:01 +01:00
Kris Maglione
7cdbab4b1e Bug 1415352: Part 5b - Use the last component principal as principal to inherit for data: URLs. r=bz,krizsa
The logic for choosing the principal here was originally written before
loadInfo had a separate principalToInherit field, and we needed to specify it
via the triggeringPrincipal instead. At that point, we had to choose a
component principal with permission to load the URI at the start of the
request.

However, now that we have a separate field for the principal to inherit, it's
only needed after access checks have passed and we know that we have a URI
which inherits a principal. In that case, the current logic causes us to
always inherit the first principal in the whitelist (which is the page
principal) for URIs (such as data: URIs) that always inherit, where we really
want to inherit the last (which is the extension principal).

MozReview-Commit-ID: EPoUNuOCwrH

--HG--
extra : rebase_source : 535083e3dd4598ac4e8ea187d27d61ac2ac48476
2017-11-22 14:20:26 -08:00
shindli
fb855aa7ba Backed out 16 changesets (bug 1402519) for conflicts during merge r=backout on a CLOSED TREE
Backed out changeset 07fcf163241a (bug 1402519)
Backed out changeset c6d2ad45d8e2 (bug 1402519)
Backed out changeset 8a3caca61294 (bug 1402519)
Backed out changeset 01425eae2c48 (bug 1402519)
Backed out changeset cf298d3815de (bug 1402519)
Backed out changeset e1964f4389cd (bug 1402519)
Backed out changeset f405337f3569 (bug 1402519)
Backed out changeset a76356fd3359 (bug 1402519)
Backed out changeset d3bb350d1c34 (bug 1402519)
Backed out changeset 9d3bfd9f932c (bug 1402519)
Backed out changeset e3dd6e5b073f (bug 1402519)
Backed out changeset e801b0c00134 (bug 1402519)
Backed out changeset 8a4139fa5dca (bug 1402519)
Backed out changeset 8d01c14ac1ca (bug 1402519)
Backed out changeset 24e0dcd01898 (bug 1402519)
Backed out changeset f8fdf450613f (bug 1402519)
2017-11-23 00:11:44 +02:00
Gabriele Svelto
1d93e08f22 Bug 1402519 - Remove MOZ_CRASHREPORTER directives from netwerk; r=mcmanus
MozReview-Commit-ID: 9GbWitwPcKf

--HG--
extra : rebase_source : 7336c5bfceaa4286bf3f5b95d4d3bd5727c0745c
2017-10-10 15:24:13 +02:00
Gabriele Svelto
e8c969cb61 Bug 1402519 - Remove MOZ_CRASHREPORTER directives from netwerk; r=mcmanus
MozReview-Commit-ID: 9GbWitwPcKf

--HG--
extra : rebase_source : a7a293d502cdbaeed655be15f0a244aa965d6dee
2017-10-10 15:24:13 +02:00
Jeff Hemphill
bc64b6ad42 Bug 1420677 - Convert nsHostResolver.addr_info to a UniquePtr. r=valentin
MozReview-Commit-ID: 4zX73VhxiKe
2017-11-25 23:55:26 -08:00
Jeff Hemphill
91d2efb8b5 Bug 1420673: Use UniquePtr to store nsHostResolver.addr r=valentin
MozReview-Commit-ID: Arrm0stdtNL

--HG--
extra : rebase_source : 24c9c9db0bfcfce435b244119b088e90cb6c4061
extra : source : 1bade2a7b61167128f9cef4b543dd0bcef6295e4
2017-11-25 23:37:24 -08:00
Andrea Marchesini
442a9cd5f0 Bug 1419382 - Moving ownership of nsIInputStream when using netUtil functions - part 4 - Get rid of NS_NewAsyncStreamCopier, r=smaug 2017-11-22 11:19:25 +01:00
Andrea Marchesini
1fd1731f81 Bug 1419382 - Moving ownership of nsIInputStream when using netUtil functions - part 3 - NS_NewInputStreamPump, r=smaug 2017-11-22 11:18:57 +01:00
Andrea Marchesini
ad64933e5a Bug 1419382 - Moving ownership of nsIInputStream when using netUtil functions - part 2 - NS_NewInputStreamChannel, r=smaug 2017-11-22 11:18:36 +01:00
Andrea Marchesini
8a7dedba69 Bug 1419382 - Moving ownership of nsIInputStream when using netUtil functions - part 1 - NS_NewInputStreamChannelInternal, r=smaug 2017-11-22 11:18:18 +01:00
Coroiu Cristina
9eb4f34b0a Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-11-22 01:50:20 +02:00
Valentin Gosu
d2d8524673 Bug 1415205 - Add nsIURIMutator impls for all objects implementing nsIURI r=bagder
This also changes URIUtils.cpp:DeserializeURI() to use the mutator to instantiate new URIs, instead of using their default constructor.

MozReview-Commit-ID: JQOvIquuQAP

--HG--
extra : rebase_source : e146624c5ae423f7f69a738aaaafaa55dd0940d9
2017-11-20 17:11:30 +01:00
Valentin Gosu
d935b3968a Bug 1415205 - Add nsIURIMutator interface and nsIURI.mutate() r=bagder
MozReview-Commit-ID: 8TYtcLUGRPc

--HG--
extra : rebase_source : 7deeb367424056f3e86bf42e77326bf1414a809a
2017-11-20 16:10:03 +01:00
Nika Layzell
a7666fd8fe Bug 1418048 - Add a callback-based Send API to async returning IPDL methods, r=billm
Currently if you write an async IPDL method which has a return value, we expose
a SendXXX method which returns a MozPromise. This MozPromise can then be
->Then-ed to run code when it is resolved or rejected.

Unfortunately, using this API loses ordering guarantees which IPDL provides.
MozPromise::Then takes an event target, which the resolve runnable is dispatched
to. This means that the resolve callback's code doesn't have any ordering
guarantees relative to the processing of other IPC messages coming over the same
protocol.

This adds a new overload to SendXXX with two additional arguments, a lambda
callback which is called if the call succeeds, and a lambda callback which is
called if the call fails. These will be called in order with other IPC messages
sent over the same protocol.

MozReview-Commit-ID: FZHJJaSDoZy
2017-11-20 17:55:32 -05:00
Andrea Marchesini
03a9493409 Bug 1417448 - Better use of monitors in NS_ReadInputStreamToBuffer, r=smaug 2017-11-20 15:18:26 +01:00
Ben Kelly
64bf82ebd8 Bug 1419536 P5 Set ClientInfo on the LoadInfo for document owned network requests. r=baku 2017-11-21 15:13:05 -05:00
Junior Hsu
f5ad53fef0 Bug 1416985 - Fix the telemetry for using legacy cookies.txt, r=jdm 2017-11-16 19:24:00 +02:00
Junior Hsu
2976cce51f Bug 1415120 - Part1: no db access while rebuilding, r=nwgh
--HG--
extra : rebase_source : eae928de8e7c4f827f516dc1fb737ef2b544bbc5
2017-11-15 20:03:00 +02:00
Jan de Mooij
7f30bf48a7 Bug 1417844 part 2 - Remove JSVersion from CompileOptions, CompartmentBehaviors, scripts. r=evilpie 2017-11-17 12:12:39 +01:00
Florian Quèze
b44b6a963a Bug 1405670 - remove support for NS_APP_SEARCH_DIR_LIST and NS_APP_SEARCH_DIR from the directory service, r=adw. 2017-11-17 12:05:20 +01:00
Ben Kelly
156cd8dec2 Bug 1418007 P1 Allow the reserved/initial/source client data and service worker to be marked on LoadInfo. r=baku r=valentin 2017-11-16 13:15:09 -05:00
Brindusan Cristian
89030a420a Merge mozilla-central to inbound r=merge a=merge on a CLOSED TREE 2017-11-16 00:51:41 +02:00
Brindusan Cristian
d0a4ab96a0 Merge inbound to mozilla-central r=merge a=merge 2017-11-16 00:24:15 +02:00
Nicholas Nethercote
f553c82da0 Bug 1416638 - Add a PrefValueKind arg to Preferences::Get*(), and remove Preferences::GetDefault*(). r=glandium
MozReview-Commit-ID: LgnZAf1pAl1

--HG--
extra : rebase_source : 8ba7c4bfb331f70fd41c2ae1d428e4cb9058d069
2017-11-14 19:06:01 +11:00
Dragana Damjanovic
d92ddfb3a4 Bug 1413622 - Add a check to avoid a division by zero. r=mayhemer 2017-11-15 15:01:11 +01:00
Dale Harvey
9acfe3f5b3 Bug 1415870 - Update psl list and related tests. r=gerv
MozReview-Commit-ID: aYfQNU7lEJ

--HG--
extra : rebase_source : f39455945d48ce8023e1ea2f326a142a0b1ab248
2017-11-15 12:35:07 +00:00
Valentin Gosu
a77a5282f4 Bug 1416343 - Mark URI interfaces as [builtinclass] r=bagder
MozReview-Commit-ID: 4T0uCkHP1a6

--HG--
extra : rebase_source : fa720f35df16985bcd929a98aeeaf9fbc759c1e6
2017-11-15 13:34:23 +01:00
Margareta Eliza Balazs
3edf7872fb Backed out changeset cfe4b1e6be9b (bug 1416343) for ESlint failing in modules/test/browser/browser_SitePermissions_tab_urls.js:38:14 r=backout on a CLOSED TREE 2017-11-15 13:46:07 +02:00
Valentin Gosu
ba207f8c8c Bug 1416343 - Mark URI interfaces as [builtinclass] r=bagder
MozReview-Commit-ID: 4T0uCkHP1a6

--HG--
extra : rebase_source : 89c283360bc0b30aad34641b4cdce8f5c49615b3
2017-11-13 20:18:46 +01:00