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

15578 Коммитов

Автор SHA1 Сообщение Дата
Dragana Damjanovic 6faa3298a5 Bug 1423522 - We should not block http-authentication prompts for proxies. r=ckerschb 2017-12-06 14:13:32 +01:00
Tiberius Oros be4fc858c5 Merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-12-06 12:35:04 +02: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
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
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