Dragana Damjanovic
86a9ddb711
Bug 1409449 - Do not show auth-dialog for triggeringPrincipal==SystemPrincipal. r=ckerschb r=valentin r=francois
2017-12-12 10:34:12 +01:00
Margareta Eliza Balazs
c4027ebd8f
Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE
2017-12-13 00:04:54 +02:00
Andreea Pavel
5ba2665757
Merge inbound to mozilla-central r=merge a=merge
2017-12-09 22:21:17 +02:00
Eric Rahm
6058ba50a3
Bug 1423798 - Remove headers included for backwards compat in nsString.h. r=njn on a CLOSED TREE
...
Remove the headers included for "backwards compatibility" and just include them
where required.
--HG--
extra : source : e2beba7e6875120ebbbcadf24bcbcb5b86411a94
extra : amend_source : 11f07a27431cd468511f0bd45afe36150c6e342c
2017-12-06 19:36:57 -08:00
Csoregi Natalia
f488657fbd
Backed out changeset e2beba7e6875 (bug 1423798) for failing Browser Chrome tests browser_temporary_permissions_expiry.js on Windows 7 debug. r=backout on a CLOSED TREE
2017-12-09 07:23:35 +02:00
Gurzau Raul
0fcc1a37e6
Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE
2017-12-09 00:57:59 +02:00
Gurzau Raul
91d3bc0100
Merge inbound to mozilla-central r=merge a=merge
2017-12-09 00:36:15 +02:00
Eric Rahm
74880b3483
Bug 1423798 - Remove headers included for backwards compat in nsString.h. r=njn
...
Remove the headers included for "backwards compatibility" and just include them
where required.
--HG--
extra : rebase_source : 03e703a81ed4b80f4f116ff36d8787464ce5acba
2017-12-06 19:36:57 -08:00
Gurzau Raul
15f8898e50
Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE
2017-12-09 00:56:50 +02:00
Honza Bambas
1ee6257bc3
Bug 1386746 - Throttle HTTP response by allowing only small amount of data to read periodically, r=mcmanus
2017-11-28 05:37:00 +02:00
Eric Rahm
07c97a5afe
Bug 1423773 - Part 1: Remove usage of nsStringGlue.h. r=glandium
...
This removes an unnecessary level of indirection by replacing all
nsStringGlue.h instances with just nsString.h.
--HG--
extra : rebase_source : 340989240af4018f3ebfd92826ae11b0cb46d019
2017-12-06 16:52:51 -08:00
Shane Caraveo
76ee06b331
Bug 1149250 add support for https upgrades from webextensions, r=bz,mayhemer,rpl
...
MozReview-Commit-ID: ChIs2Q6bgEn
--HG--
extra : rebase_source : 942d6ee111df39fdd19d1d035e8eefa9280430f3
2017-12-08 12:12:37 -08:00
Patrick McManus
dc7b5677f7
Bug 1411316 - necko api for cancelling all transactions r=dragana
...
test by: :kershaw
MozReview-Commit-ID: BwjsDMiEGZY
--HG--
extra : rebase_source : 5f2bdc49295d19179e26f9c72204e1d8a9fb698a
2017-10-24 09:17:02 -07:00
Valentin Gosu
d9e085b9ec
Bug 1423961 - Improve NS_MutateURI.Finalize by passing reference to nsCOMPtr instead nsIURI** r=mayhemer
...
MozReview-Commit-ID: 6VRhNJF3f0U
--HG--
extra : rebase_source : 01bf82ace5cfbf81fdf095cd76c5d98a2ce03245
2017-12-08 17:37:41 +01:00
Valentin Gosu
10292308b3
Bug 1424066 - Rename nsResolveHostCallback.OnLookupComplete and nsHostResolver.OnLookupComplete r=mayhemer
...
We have several different methods called OnLookupComplete, with similar but different arguments.
This makes it difficult to reason about the code, when lots of methods are called the same.
* renames nsResolveHostCallback.OnLookupComplete to nsResolveHostCallback.OnResolveHostComplete
* renames nsHostResolver.OnLookupComplete to nsHostResolver.CompleteLookup
MozReview-Commit-ID: AeWTErs4OQM
--HG--
extra : rebase_source : 6d06b50c1fa2ba678a887b93f28e1e602e209da4
2017-12-07 23:19:48 +01:00
Valentin Gosu
749a85ca11
Bug 1424066 - Use RefPtr to hold nsHostResolver in nsHostResolver::ThreadFunc r=mayhemer
...
MozReview-Commit-ID: CmKWJIq1SNy
--HG--
extra : rebase_source : 126e066b771b54d5a56d64b645bb60461f4478cd
2017-12-07 22:53:42 +01:00
Sylvestre Ledru
4591d82b23
Bug 1394734 - Replace CONFIG['CLANG*'] by CONFIG['CC_TYPE'] r=glandium
...
MozReview-Commit-ID: HbF5oT5HW6f
--HG--
extra : rebase_source : eca479b6ae4bff7f600d1cdb39e11ac2057e4e79
2017-12-07 22:09:38 +01:00
Sylvestre Ledru
9bfe27d903
Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
...
MozReview-Commit-ID: 7duJk2gSd4m
--HG--
extra : rebase_source : 7312fe276e561e8c034a5f6749774ae812727f9c
2017-12-07 22:09:15 +01:00
Randell Jesup
edbe55cb90
Bug 1421963: lock around SCTP input processing, not just the receive callback r=drno
2017-12-07 13:24:46 -05:00
Randell Jesup
882ad2f961
Bug 1297418: reland SCTP library update to rev 0e076261b rs=jesup,drno r=tuexen,drno
2017-12-07 13:24:41 -05:00
Junior Hsu
344e2267f3
Bug 1419658 - let Basic http auth support ISO-8859-1 user/password, r=honzab
...
--HG--
extra : rebase_source : a3fdf8a70281775961277a0bcbf0645291f7b2b3
2017-12-07 01:31:00 +02:00
Bogdan Tara
8e9610529d
Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE
2017-12-07 13:02:03 +02:00
Michal Novotny
f9dafdd5cd
Bug 1418854 - Race condition in AutoClose. r=honzab
...
--HG--
extra : amend_source : dc474202125cfd2f00c769d0266cc0fc76b9ac94
2017-12-06 20:48:06 -05:00
Ryan VanderMeulen
d945b2a059
Bug 1423667 - Disable some tests that fail on Windows Code Coverage builds with clang-cl r317840. rs=marco
...
--HG--
extra : histedit_source : d2f4b4d59301469c4cabb7198f0f98c5247eab84
2017-12-06 20:40:46 -05:00
Dragana Damjanovic
6faa3298a5
Bug 1423522 - We should not block http-authentication prompts for proxies. r=ckerschb
2017-12-06 14:13:32 +01:00
Dorel Luca
1208bc03a7
Merge mozilla-central to autoland r=merge on a CLOSED TREE
...
--HG--
extra : rebase_source : 5f22b0e83fd5f1b28e0c1ebbcc429c332835eb36
2017-12-07 00:27:29 +02:00
Tarek Ziadé
8d44fcec74
Bug 1415536 - Extend NotifyNetworkActivity to get sent/received bytes r=baku,valentin
...
MozReview-Commit-ID: Afdvz0lktY8
--HG--
extra : rebase_source : 050a3d3322397a581a2ada507f011424e066311f
2017-11-23 09:37:54 +01:00
Gurzau Raul
f5f1c3f294
Merge inbound to mozilla-central r=merge a=merge
2017-12-06 11:53:55 +02:00
Ben Kelly
dc20c8c537
Bug 1423412 P2 Copy the service worker controller across redirects by default and clear it explicitly for non-subresource redirects. r=baku
2017-12-05 20:45:23 -05:00
Valentin Gosu
efadeeed26
Bug 1420954 - Add NS_MutateURI helper function to chain nsIURIMutator setters in C++ r=bagder
...
MozReview-Commit-ID: 79NlOm08ebz
--HG--
extra : rebase_source : ba9b5cde71ce851762db2704b0142552ef75e9d3
2017-12-05 17:17:02 +01:00
Valentin Gosu
5a83d2bc0b
Bug 1420954 - Make nsIURIMutator setters return nsIURIMutator so we can chain setters r=bagder
...
MozReview-Commit-ID: 53BD91hB2yi
--HG--
extra : rebase_source : 3c4f5b9ad8820353ae108b982026048dbf599d95
2017-12-05 02:35:21 +01:00
Honza Bambas
03b39896a0
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
Bogdan Tara
ebe0a1a20c
Merge inbound to mozilla-central r=merge a=merge
2017-12-04 22:20:49 +02:00
Francois Marier
1e487450bd
Bug 1421803 - Send ThreatHit requests and telemetry at the right time. r=dimi
...
The ThreatHit requests were never being sent because SetMatchedInfo() was
called on the channel _after_ calling SendThreatHitReport().
Additionally, the telemetry was sent in OnStartRequest() and so errors
returned in OnStopRequest() would not be caught.
This patch also includes some improvements to the logging of these
requests which can be toggled using:
MOZ_LOG="UrlClassifierDbService:5,nsChannelClassifier:5"
MozReview-Commit-ID: 9dtRgEPVS3g
--HG--
extra : rebase_source : 6d0e4b745e203a54489ddd479935d008ab9a82d7
2017-11-28 12:10:37 -08:00
Michal Novotny
4e89b320f9
Bug 1394564
- Delete current outgoing message when PrimeNewOutgoingMessage fails. r=mcmanus
...
--HG--
extra : amend_source : 6ac45c6b007dac89195529a2e57ccfbd7ca88b8f
2017-11-22 05:17:00 -05:00
Valentin Gosu
e7b318dddd
Bug 1422173 - Add comment mentioning leaked addr_info r=me
...
MozReview-Commit-ID: BFztnh9kO5C
2017-12-04 16:03:02 +01:00
Valentin Gosu
95aaaa5773
Bug 1422173 - Backed out changeset 27719294cb73 (Bug 1420677) r=me
...
MozReview-Commit-ID: 7iSG4279EfL
2017-12-04 16:02:59 +01:00
Valentin Gosu
1951f81b85
Bug 1422173 - Backed out changeset 34cfc821e335 (Bug 1417827) r=me
...
MozReview-Commit-ID: 5C5YN8zgAgt
2017-12-04 16:02:58 +01:00
Honza Bambas
4eab23cce4
Bug 1411632 - Introduce onload and DOMContentLoaded telemetry for active tab and network optimization. r=valentin, r=francois
2017-12-02 18:13:43 -05:00
Junior Hsu
61807cdb5d
Bug 1420334 - protect timestamp setting in a critical section, r=michal
2017-11-30 19:45:00 +02:00
Valentin Gosu
fcad071405
Bug 1422173 - Use lock when changing nsHostRecord.addr_info r=mayhemer
...
MozReview-Commit-ID: A6Qk6G3Y1SY
2017-12-01 16:05:16 +01:00
Gurzau Raul
0b613c3887
Merge inbound to mozilla-central r=merge a=merge
2017-12-01 12:56:06 +02:00
Jeff Hemphill
0a383a895e
Bug 1417827: Convert internal char* to nsCString in DNS.h r=valentin
...
MozReview-Commit-ID: Js1mXiKaKnt
--HG--
extra : rebase_source : 0b24a9a75dbb5a404f261e055a5bbc7fae95eff9
2017-11-29 23:30:27 -08:00
Tom Tung
c24bbe2dc8
Bug 1222008 - P7: Freeze the tainting if a service worker responds with a synthesize response. r=bkelly
...
--HG--
extra : rebase_source : ef1d3b00654e57ae7b173eb39e4a574af566c769
2017-11-03 15:37:35 +08:00
Tom Tung
933422b41a
Bug 1222008 - P2: Fix the netwerk xpcshell test since adding an argument to startSynthesizedResponse(). r=bkelly
...
--HG--
extra : rebase_source : c7a24e4d7a11ff94beb9beeb7cc277b9cec91e39
2017-11-03 10:24:33 +08:00
Tom Tung
afa535333a
Bug 1222008 - P1: Propagate the URLs from respondWith() if the response's URL is different from the request's. r=bkelly
...
--HG--
extra : rebase_source : 97bc74f18e734673ab598925410c8b284c4aaba8
2017-11-01 15:45:35 +08:00
Brindusan Cristian
a2f7f01abe
Backed out 3 changesets (bug 1297418) for causing bug 1421963 r=backout a=backout
...
Backed out changeset 8f1108e2c944 (bug 1297418)
Backed out changeset f955466975c1 (bug 1297418)
Backed out changeset 148e39639161 (bug 1297418)
--HG--
extra : amend_source : d6d1e080acdad2c173d4117b96d7f4ebf9838bef
2017-12-01 00:38:13 +02:00
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
Eden Chuang
e40b697e55
Bug 1350359
- Part 5: Add mochitest for exposing alternate data in http cache via fetch() InternalResponse object. r=bkelly
...
Using test_script_loader_js_cache.html as the base of the testcase.
Interpolate the service worker which performs pass-through fetch.
--HG--
extra : histedit_source : 73dcc70fdbf3a210d73d60a7a70d3bf4bbea4217
2017-12-04 14:39:33 +08:00
Eden Chuang
7f3b4d6b1a
Bug 1350359
- Part 4: Fix a crash caused by off-main-thread destruction of a HttpChannelChild. r=bkelly
...
Setting the InternalResponse's mCacheInfoChannel while needed, to avoid
keeping unnecessary nsICacheInfoChannel alive.
--HG--
extra : histedit_source : 39f9339b69db52b0278495d5247bc99ffd1d8f79
2017-12-04 14:39:26 +08:00
Eden Chuang
2f08862cf1
Bug 1350359
- Part 3: Place the alternative data to the InterceptedChannel. r=bkelly
2017-12-04 14:39:21 +08:00
Eden Chuang
7211e8c25c
Bug 1350359
- Part 1: Set alternative data type from InterceptedChannel to InternalRequest. r=bkelly
2017-12-04 14:39:10 +08:00
Francois Marier
5d8fa6f351
Bug 446344 - Implement Origin header CSRF mitigation. r=ckerschb,dragana
...
MozReview-Commit-ID: EZpGo0UfmUP
--HG--
extra : rebase_source : dce83c8314148c104e47ae322c4d578e96986ea3
extra : source : d4747fd86a331aed7b524b509f915f0c9dd6044f
2017-11-24 17:35:05 -08: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
Bharat Raghunathan
6c19d68c0e
Bug 1422648 - Removed instances of nsSocketTransport::mNetAddrPreResolved r=valentin
...
MozReview-Commit-ID: 2qJ1l7KJKK2
--HG--
extra : rebase_source : 829aad4ada7abe27b3656bf1a90c507e8e31fa9d
2017-12-04 10:35:38 +05:30
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
Noemi Erli
c6ea2b9c8f
Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE
2017-11-15 12:13:56 +02:00
Thomas Nguyen
5bd3a1a2c6
Bug 1416344 - refactor computing referrer policy and remove uninitilized maybe value r=valentin
...
MozReview-Commit-ID: 7VoRaUSE096
--HG--
extra : rebase_source : 2c0aa81b5751fe187494df75e6d853b64f5b9b47
2017-11-13 19:23:47 +08:00
Andrea Marchesini
ed78be27fa
Bug 1416724 - part 4 - AbstractThread::Dispatch return value check in netwerk/base, r=smaug
2017-11-15 07:58:03 +01:00
shindli
385fb3428c
Backed out 4 changesets (bug 1416724) for failing /builds/worker/workspace/build/src/dom/media/hls/HLSDemuxer.cpp:89:5 r=backout on a CLOSED TREE
...
Backed out changeset 45352aa4319d (bug 1416724)
Backed out changeset 01d1e5263bcd (bug 1416724)
Backed out changeset bc854c315ec8 (bug 1416724)
Backed out changeset 35a50167485d (bug 1416724)
2017-11-15 09:49:04 +02:00
Andrea Marchesini
4432192149
Bug 1416724 - part 4 - AbstractThread::Dispatch return value check in netwerk/base, r=smaug
2017-11-15 07:58:03 +01:00
huangwenjun
25322277ce
Bug 1415753 - SRTP fails to initialize on mips, switch to use CPU_CISC. r=drno
2017-11-08 18:06:00 -05:00
Sebastian Hengst
4671dc24bf
Backed out changeset 173578b3688f (bug 1415870) for failing XPCshell's netwerk/test/unit/test_psl.js. r=backout on a CLOSED TREE
2017-11-14 19:49:04 +02:00
Dale Harvey
8189bdc9ab
Bug 1415870 - Update PSL to latest version from github. r=gerv
...
MozReview-Commit-ID: K7PfBbJMx78
--HG--
extra : rebase_source : 1f7ba99927feeeb54856e88465411c2fd52c7edf
2017-11-09 15:03:34 +00:00
Shih-Chiang Chien
7ab942f01b
Bug 1390708 - remove nsBinHexDecoder r=mcmanus
...
MozReview-Commit-ID: 73NU592iRbX
--HG--
extra : rebase_source : 1cac9e05d615eb07f5448758e4307679189dcc22
2017-10-11 11:58:28 +08:00
Shih-Chiang Chien
f8d0b5bde4
Bug 1390708 - remove BinHex support from stream converter r=mcmanus
...
MozReview-Commit-ID: 6IAy8iY8CAg
--HG--
extra : rebase_source : 2eb22f7ff0dfd8ae5f5b6a8d4c027c5f5f7e0ff4
2017-10-11 11:31:51 +08:00
Chris Peterson
feb58d9d37
Bug 1416164 - Replace NS_NOTYETIMPLEMENTED with MOZ_ASSERT_UNREACHABLE. r=froydnj
...
MozReview-Commit-ID: B5TZB3v52wY
--HG--
extra : rebase_source : 56bef4eead24901191f190e31d2841710097cdcf
2017-10-25 00:37:02 -07:00
Tiberius Oros
be4fc858c5
Merge mozilla-central to mozilla-inbound. r=merge a=merge
2017-12-06 12:35:04 +02:00
Jonathan Watt
b02fcd6df0
Bug 1180145
, part 1 - Add a 'reportResourceTiming' member to the nsITimedChannel interface. r=mayhemer
...
MozReview-Commit-ID: 3poTmHWKs4K
2017-11-07 15:58:31 +00:00
Honza Bambas
be74fa61ca
Bug 1416682 - Don't allow writing alt-data to HTTP cache entry when the loading channel has failed to release the entry, r=michal
2017-12-01 11:01:00 +02:00
Honza Bambas
3fa9ca21fd
Bug 1416682 - Add nsICacheEntry.drop() to explicitly release HTTP cache entries from channels to avoid logical deadlocks, r=michal
2017-11-30 12:03:00 +02:00
Daniel Stenberg
f36fff6bfc
Bug 1416048 - Use uint32_t for DNS TTL data. r=valentin
...
--HG--
extra : rebase_source : 55e5b4f2db839755b5e248a21746aec2c6e6b1dc
2017-11-09 15:43:00 -05:00
Geoff Brown
cbb956e0c3
Bug 1407679 - Merge nsIIOService and nsIIOService2; r=nwgh
2017-11-10 07:03:36 -07:00
Nicholas Nethercote
f4dd5e2636
Bug 1414096 (attempt 2) - Remove support for nsISupportsString values in nsPrefBranch::{get,set}ComplexValue(). r=florian.
...
Bug 1345294 introduced nsPrefBranch::{get,set}StringPref(), which allowed the
getting of utf8 strings from prefs, which previously required using
nsISupportsString with {get,set}ComplexValue. That bug also converted most
uses.
This patch finishes the job.
- It removes the nsISupportsString support.
- It converts existing code that relied on the nsISupportsString.
- It removes the lint that was set up to detect such uses of nsISupportsString.
--HG--
extra : rebase_source : b885ee784704819e181430200af5ef762e269d14
2017-11-10 09:07:48 +11:00
Liang-Heng Chen
a2b5ec45e8
Bug 1421793 - nsPACMan needs to be shutdown before dtor; r=schien
...
MozReview-Commit-ID: D2aKTC8s9MQ
--HG--
extra : rebase_source : e1442aebd9bd5f6e155ba4e33a9b30a97b3427e3
2017-12-01 15:10:36 +08:00
Brindusan Cristian
d339014f90
Merge mozill-central to autoland. r=merge a=merge on a CLOSED TREE
2017-12-03 12:05:49 +02:00
shindli
7ba06ee564
Backed out 2 changesets (bug 1420954) for build failure in /builds/worker/workspace/build/src/obj-firefox/dist/include/nsIURIMutator.h:340:3: r=backout on a CLOSED TREE
...
Backed out changeset 8ce0a0d49d9e (bug 1420954)
Backed out changeset 480c6e1721e9 (bug 1420954)
2017-12-03 01:10:14 +02:00
Valentin Gosu
936a9adfc0
Bug 1420954 - Add NS_MutateURI helper function to chain nsIURIMutator setters in C++ r=bagder
...
MozReview-Commit-ID: 79NlOm08ebz
--HG--
extra : rebase_source : 2cb95ec86bd9dadbbaf233e6289bcb9d3087cd65
2017-12-02 23:15:55 +01:00
Valentin Gosu
f903a38639
Bug 1420954 - Make nsIURIMutator setters return nsIURIMutator so we can chain setters r=bagder
...
MozReview-Commit-ID: 53BD91hB2yi
--HG--
extra : rebase_source : 45594a92e1a9f18f2f4b5bb2824b5f8ced584eab
2017-12-02 23:09:34 +01:00
Ciure Andrei
48e5c9892f
Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE
2017-12-02 12:19:55 +02:00
Valentin Gosu
d093ecbe77
Bug 1422277 - Add an observer notification for when the captive portal detection is "done" r=bagder
...
MozReview-Commit-ID: D9Qr0CuUJiQ
--HG--
extra : rebase_source : 74ecc449bee263d27af83fa101e6ef59166fecab
2017-12-01 13:20:29 +01:00
Nika Layzell
ff8b5bd178
Bug 1414974 - Part 3: Move Get{Inner,Outer}WindowWithId onto the specific subclasses, r=smaug
...
These were originally exposed directly as static methods on nsGlobalWindow, but
as they are clearly associated with either the inner or outer window, it makes
more sense for them to be called as such.
MozReview-Commit-ID: LFq8EfnhDlo
2017-11-09 10:44:47 -05:00
Nika Layzell
3409141758
Bug 1414974 - Part 2: Switch many consumers to nsGlobalWindow{Inner,Outer}, r=smaug
...
This is a large patch which tries to switch many of the external consumers of
nsGlobalWindow to instead use the new Inner or Outer variants.
MozReview-Commit-ID: 99648Lm46T5
2017-11-09 10:44:47 -05:00
Andrea Marchesini
374f2c997f
Bug 1415081 - part 4 - Fix the use of NS_ReadInputStreamToString in DataChannel, r=smaug
2017-11-09 11:18:08 +01:00
Andrea Marchesini
6fd88f7ffb
Bug 1415081 - part 3 - WebSocketChannel cannot use ::Available() to know the size of a nsIAsyncInputStream, r=smaug
2017-11-09 11:18:08 +01:00
Andrea Marchesini
dccb5f371a
Bug 1415081 - part 1 - gTest for NS_ReadInputStreamToString, r=smaug
2017-11-09 11:18:08 +01:00
Andrea Marchesini
b71cdc9eb5
Bug 1415081 - part 0 - NS_ReadInputStreamToString must support nsIAsyncInputStream, r=smaug
2017-11-09 11:18:08 +01:00
Johann Hofmann
d28b4dd837
Bug 1374574 - Remove the FlyWeb service and DOM interfaces. r=bz,djvj
...
MozReview-Commit-ID: 4hp9pLbMh4R
--HG--
extra : rebase_source : 82f417640211ede4fd7aa290c1f2609b07f38025
2017-11-22 15:00:10 +01:00
Junior Hsu
5485f27c35
Bug 1413839 - Add telemetry to probe how close we are going to block main thread. r=ngwh, data-r=francois
2017-11-21 10:51:11 -05:00
Sebastian Hengst
e3806002a1
merge mozilla-central to mozilla-inbound. r=merge a=merge on a CLOSED TREE
2017-11-09 00:32:30 +02:00
Sebastian Hengst
a353221537
merge mozilla-inbound to mozilla-central. r=merge a=merge
2017-11-09 00:00:16 +02:00
Narcis Beleuzu
57d9eb5fb1
Backed out 1 changesets (bug 1414096) for dt1 failures "devtools/client/commandline/test/browser_cmd_pref3.js" r=backout on a CLOSED TREE
...
Backed out changeset e843de356b7e (bug 1414096)
2017-11-08 18:04:01 +02:00
Christoph Kerschbaumer
6584da597b
Bug 1407891: Allow view-image to open a data: URI by setting a flag on the loadinfo. r=bz
2017-11-08 20:01:41 +01:00
Nicholas Hurley
52ce8728f8
Backout e15196e25f9e for causing bug 1415387
2017-11-08 10:30:58 -08:00
Valentin Gosu
132162d150
Bug 1415206 - Remove RustURL from Gecko r=bagder
...
This class isn't being used right now, and MozURL is a much better alternative if interaction with rust URLs is required.
MozReview-Commit-ID: ADdYRrrTnr6
--HG--
extra : rebase_source : b36aa26c20e7daaadab1f3360bab0ed4681eb7f8
2017-11-07 17:11:08 +01:00
Narcis Beleuzu
218e1676cb
Merge inbound to mozilla-central r=merge a=merge
2017-11-08 12:51:09 +02:00
Nicholas Nethercote
8b3d03c666
Bug 1414096 - Remove support for nsISupportsString values in nsPrefBranch::{get,set}ComplexValue(). r=florian.
...
Bug 1345294 introduced nsPrefBranch::{get,set}StringPref(), which allowed the
getting of utf8 strings from prefs, which previously required using
nsISupportsString with {get,set}ComplexValue. That bug also converted most
uses.
This patch finishes the job.
- It removes the nsISupportsString support.
- It converts existing code that relied on the nsISupportsString.
- It removes the lint that was set up to detect such uses of nsISupportsString.
--HG--
extra : rebase_source : fb7af066adfa0491a79fae6282a62b08661553c8
2017-10-31 16:34:35 +11:00
Nicholas Hurley
b45caf2d01
Bug 1402014 - Don't (try to) write to the network when we're already closed. r=mcmanus
...
MozReview-Commit-ID: CkGuzlzDToj
2017-11-07 07:57:37 -08:00
Coroiu Cristina
282fd1a852
Merge inbound to mozilla-central r=merge a=merge
2017-11-07 01:04:34 +02:00
Andrea Marchesini
cc7b359311
Bug 1413920 - nsMultiplexInputStream should call OnInputStreamReady on close, r=smaug
2017-11-06 14:20:15 +01:00
Junior Hsu
e0ae5de7ef
Bug 1412218 - Add telemetry probe for how many users with legacy cookie files. r=jdm, data-r=francois
2017-11-05 17:48:36 -05:00
Kris Maglione
27c96362b9
Bug 1412345: Downgrade expanded principals before inheriting. r=bz,krizsa
...
There are several ways that expanded principals can be used as triggering
principals for requests. While that works fine for security checks, it also
sometimes causes them to be inherited, and used as result principals in
contexts where expanded principals aren't allowed.
This patch changes our inheritance behavior so that expanded principals are
downgraded to the most appropriate constituent principal when they would
otherwise be inherited.
The logic for choosing the most appropriate principal is a bit suspect, and
may eventually need to be changed to always select the last whitelist
principal, but I chose it to preserve the current principal downgrade behavior
used by XMLHttpRequest for the time being.
MozReview-Commit-ID: 9fvAKr2e2fa
--HG--
extra : rebase_source : c30df1b3851c11fed5a1d6a7fb158cec14933182
2017-11-02 19:56:27 -07:00
Michal Novotny
39802915f7
Bug 1414046 - Skip copying mHashArray in CacheFileMetadata::WriteMetadata if it's empty. r=valentin
2017-11-03 03:17:00 -04:00