Commit Graph

13959 Commits

Author SHA1 Message Date
Brian Hackett
01a649c197 Bug 1337112 - Remove links from JSRuntime to its single context and zone group, r=jandem,jonco.
--HG--
extra : rebase_source : ebf319af724d5f829cdf5c2386dc82d49be89989
2017-02-10 16:47:50 -07:00
Daniel Stenberg
e1b82a23c1 bug 1336069: init class member before return, r=mcmanus
MozReview-Commit-ID: GF008Ughmhv

--HG--
extra : rebase_source : 04cf9802f9fedbb88aae7879f64b95d72930f3d2
2017-02-10 00:06:00 +08:00
Wes Kocher
4062cb56a0 Merge inbound to central, a=merge
MozReview-Commit-ID: FNYBhhHr4dg

--HG--
rename : netwerk/base/security-prefs.js => security/manager/ssl/security-prefs.js
2017-02-10 15:23:33 -08:00
Honza Bambas
a69e1886a4 Bug 1325655 - Let HttpChannelParent::ConnectChannel delete itself if redirect target nsHttpChannel is not found registered. r=valentin
--HG--
extra : rebase_source : 988ce351db0169a8552f2ed45e2b6c786fe247bb
2017-02-10 10:51:00 -05:00
Masatoshi Kimura
448874c0f1 Bug 1337748 - Move security-prefs.js from netwerk/ to security/manager/. r=keeler,mcmanus
MozReview-Commit-ID: 2TOJG6tRWJZ

--HG--
rename : netwerk/base/security-prefs.js => security/manager/ssl/security-prefs.js
extra : rebase_source : e11ef6fa7264edd41e77d65512a2183c737f34dd
2017-02-08 21:16:27 +09:00
Shih-Chiang Chien
07cf055e88 Bug 1338096 - correct the data type used in PHttpChannel.SetPriority(). r=mayhemer
MozReview-Commit-ID: k5paB7XsTV

--HG--
extra : rebase_source : 674d2bfc8343a4b66ed84627940a0795e7199906
2017-02-09 17:28:54 +08:00
Iris Hsiao
24ddf955dd Backed out changeset e887fb5d5d06 (bug 1337748) for eslint failure
--HG--
rename : security/manager/ssl/security-prefs.js => netwerk/base/security-prefs.js
2017-02-10 14:00:02 +08:00
Masatoshi Kimura
2154e8d95a Bug 1337748 - Move security-prefs.js from netwerk/ to security/manager/. r=keeler,mcmanus
MozReview-Commit-ID: 2TOJG6tRWJZ

--HG--
rename : netwerk/base/security-prefs.js => security/manager/ssl/security-prefs.js
extra : rebase_source : 4127a5c9676f24d17a0f38efed8e9ad558044b07
2017-02-08 21:16:27 +09:00
Shane Caraveo
c7c7bd4f51 Bug 1308640 bypass TP when addon has explicit permission to url, r=bz,kmag,mrbkap
MozReview-Commit-ID: BIhoUY2Ug8k

--HG--
extra : rebase_source : 29cc48becfa958ba8f50d254fa6f30fd1820aef9
2017-02-09 21:08:06 -08:00
Shih-Chiang Chien
4b485ef935 Bug 1325915 - Part 2, update comment for reseting event target of event queue after the completion of ServiceWorker interception. r=mayhemer
MozReview-Commit-ID: Dc2TbCwQfpO

--HG--
extra : rebase_source : f1a882bac48f03b8fadda430f84027c4c3ace010
2017-02-07 16:56:06 +08:00
Shih-Chiang Chien
4d6af6c71e Bug 1325915 - Part 1, derive transportStatus in HttpChannelParent ODA and derive progress/progressMax in child side. r=mayhemer
MozReview-Commit-ID: 41qlyHKMSFm

--HG--
extra : rebase_source : da54f269b4b186ad784b2351f39829922f08db89
2017-02-02 15:20:04 +08:00
Wes Kocher
d3307f19d5 Merge inbound to central, a=merge
MozReview-Commit-ID: 9TTIrjfNKZm

--HG--
rename : dom/base/test/test_bug1263696.html => testing/web-platform/tests/html/semantics/embedded-content/the-embed-element/embed-in-object-fallback-2.html
rename : dom/base/test/test_bug1263696.html => testing/web-platform/tests/html/semantics/embedded-content/the-object-element/object-in-object-fallback-2.html
2017-02-09 17:01:39 -08:00
Wes Kocher
e27ab18a24 Merge autoland to central, a=merge
MozReview-Commit-ID: Cu9iXbDAS7t
2017-02-09 16:36:11 -08:00
Carsten "Tomcat" Book
ffe70d35b2 Merge mozilla-central to mozilla-inbound 2017-02-09 11:38:08 +01:00
Randell Jesup
6e0c53ec9f Bug 1311380: make shutdown ordering for sctp deregister_address consistent r=tuexen 2017-02-09 02:55:20 -05:00
Tim Huang
756cf900c9 Bug 1336802 - Part 2: Updating the whole code base to make sure nsILoadInfo get null check. r=smaug
--HG--
extra : rebase_source : 22149fd540fd02119afe9fe5c9a815d01cf959c1
2017-02-07 11:49:34 +08:00
Valentin Gosu
f2fd6230e6 Bug 1337629 - Restrict allowed hostname characters r=mcmanus
MozReview-Commit-ID: H8u2C5oSiT9
2017-02-09 01:55:49 +01:00
Patrick McManus
d986482512 Bug 1333142 - audit asyncopen2 impls for callback release on failure r=dragana 2017-02-08 12:55:15 -05:00
Patrick McManus
2147441dc3 Bug 1336699 - scanf has signed return value r=dragana 2017-02-08 13:59:32 -05:00
Arthur Edelstein
29148d1da2 Bug 1305144 - Option to hide referrer when leaving a .onion domain. r=mcmanus
The boolean pref is named "network.http.referer.hideOnionSource"

--HG--
extra : rebase_source : b6e9af7de29e0f8a2457b777ba4703401ad45181
2017-02-02 23:47:00 -05:00
Cykesiopka
35ac12c63d Bug 1331983 - Avoid non-smart string IDL types in nsIX509CertDB.idl. r=gcp,keeler,nwgh
Smart string classes like nsCString are safer to use than raw |char*| strings,
and are typically easier to deal with as well.

MozReview-Commit-ID: 2PdrCa6cbpe

--HG--
extra : rebase_source : a8730dd48e954f4947534a0d4d524848061dac98
2017-02-09 23:11:29 +08:00
Valentin Gosu
ff510f7133 Bug 1275746 - Don't allow empty host name for URLTYPE_AUTHORITY URLs r=mcmanus
* Return NS_ERROR_MALFORMED_URI if mURLType is URLTYPE_AUTHORITY and the hostname is empty.
* Make sure nsStandardURL::SetFile calls init with the correct arguments

MozReview-Commit-ID: 7t3mZtAbMF3
2016-07-07 15:06:08 +03:00
Honza Bambas
b38f7e146d Bug 1321612, r=valentin
--HG--
rename : netwerk/test/unit/test_multipart_streamconv.js => netwerk/test/unit/test_multipart_streamconv-byte-by-byte.js
rename : netwerk/test/unit/test_multipart_streamconv_missing_lead_boundary.js => netwerk/test/unit/test_multipart_streamconv_missing_boundary_lead_dashes.js
extra : rebase_source : dd5348aee7e022b84edfa2eec94e565133350fe3
2017-02-08 15:48:59 +01:00
Ehsan Akhgari
3742bdafe4 Bug 1337179 - Don't copy the cached LoadInfo::mSandboxedLoadingPrincipal in the copy ctor; r=bzbarsky
Otherwise, the pre and post redirect pages in a sandbox iframe may end
up with the same sandboxed loading principal which is undesirable.
2017-02-08 09:48:17 -05:00
Carsten "Tomcat" Book
55606baab8 merge mozilla-inbound to mozilla-central a=merge 2017-02-08 11:30:00 +01:00
Wes Kocher
95ae929bd7 Merge m-c to autoland, a=merge
MozReview-Commit-ID: AY7XekuIyIs
2017-02-07 16:56:19 -08:00
Wes Kocher
672c83ed65 Merge inbound to central, a=merge
MozReview-Commit-ID: 5H1ZxSV0XuM
2017-02-07 16:33:31 -08:00
Sebastian Hengst
0264cdf6be Bug 1336311 - Change code comments with http://hg.mozilla.org to https://. r=gps
For components also referencing it in code, see the blockers of bug 1336311.

MozReview-Commit-ID: 4tUZ24HKBWy

--HG--
extra : rebase_source : ec16149f525b9b7eaca7f96f1369929d21497121
2017-02-07 17:52:56 +01:00
Zibi Braniecki
b8f991e41b Bug 1335983 - Migrate nsCollation::CreateCollection to use LocaleService::GetAppLocale. r=jfkthame
MozReview-Commit-ID: 5GEnL7Kihpj

--HG--
extra : rebase_source : 413d880035b49da82db0530379425d31ac31a82e
2017-02-07 12:52:03 -08:00
Valentin Gosu
a554aa0d27 Bug 1335645 - part 2 - Fix JS errors in test_protocolproxyservice.js r=bagder
Fixes:
line 721: ReferenceError: assignment to undeclared variable uriStrFilterList
- declared variable in global scope
line 617: ReferenceError: reference to undefined property "spec"
- changed onProxyAvailable expectation to be called with a channel instead of URI - now dumping channel.URI.spec
- Enabled strict mode.
MozReview-Commit-ID: AeC4CtCpDZF
2017-02-07 16:20:57 +01:00
Valentin Gosu
57ede22306 Bug 1335645 - part 1 - Fix JS errors in test_reopen.js and test_file_partial_inputstream.js r=junior
MozReview-Commit-ID: 2QOdvACvW8z
2017-02-07 16:20:18 +01:00
Valentin Gosu
64921de6f3 Bug 1333172 - Avoid 1100 warnings by replacing NS_ENSURE_SUCCESS in nsNetUtilInlines.h:180 r=bagder
MozReview-Commit-ID: 8PlYTXYGpI9
2017-02-07 16:17:45 +01:00
Valentin Gosu
a3908e89e0 Bug 1333174 - Don't use NS_ENSURE_SUCCESS at nsIOService:793 r=bagder
MozReview-Commit-ID: 7ckppZheX3k
2017-02-07 16:17:43 +01:00
Ehsan Akhgari
1f536efb1e Bug 1337054 - Remove nsIPermissionManager::RefreshPermission(); r=jdm 2017-02-06 19:54:34 -05:00
Ehsan Akhgari
d9f2b1af97 Bug 1149127 - Stop exporting LoadInfo unnecessarily; r=ckerschb 2017-02-06 13:07:46 -05:00
Tom Tung
e185f7bc4c Bug 1220936 - Flush console report to innerWindowID by using nsIDocument and nsILoadGroup. r=bkelly. 2017-02-06 09:19:34 +08:00
Wes Kocher
a9ce32d9a5 Backed out 2 changesets (bug 1335983) for build bustage a=backout
Backed out changeset 5a9559ded976 (bug 1335983)
Backed out changeset de2b0d90e2da (bug 1335983)

MozReview-Commit-ID: 377KQDU1QqJ
2017-02-07 12:34:30 -08:00
Zibi Braniecki
6d98bad59d Bug 1335983 - Migrate nsCollation::CreateCollection to use LocaleService::GetAppLocale. r=jfkthame
MozReview-Commit-ID: bJVrVj2dAS

--HG--
extra : rebase_source : f3a28e003415f0c58462a73b5fd987455e102fc5
2017-02-06 14:57:09 -08:00
Gijs Kruitbosch
62b73b45c2 Bug 1335272 - add barebones functional test for about:cache, r=ckerschb
MozReview-Commit-ID: 5hlxfmYGgDa

--HG--
extra : rebase_source : f685aeb462fae3d42ffcc1df36af44eef94612f1
2017-02-02 15:40:03 +00:00
Gijs Kruitbosch
e4b6ebfe64 Bug 1335272 - fix about:cache internal links, r=bz
MozReview-Commit-ID: QzgsTTulJC

--HG--
extra : rebase_source : 8604d1ea660a6c5c811f47fd3ed98ab136e73c6e
2017-02-02 15:10:11 +00:00
David Keeler
906fda1f23 bug 1324952 - don't asyncWait on the input stream if we've been stopped in test_be_conservative.js r=mcmanus
MozReview-Commit-ID: 3wkbicHLuUG

--HG--
extra : rebase_source : 5d5aaf89640a62efab203f527dbced441144f677
2017-02-06 15:02:01 -08:00
Wes Kocher
0151c314cd Merge m-c to autoland, a=merge CLOSED TREE
MozReview-Commit-ID: Kq0cDcNXrZf
2017-02-03 17:31:12 -08:00
Jed Davis
eae6e4b98c Bug 778201 - Remove nsPluginHost::FindProxyByURL and nsProtocolProxyService::DeprecatedBlockingResolve. r=bsmedberg,mcmanus
MozReview-Commit-ID: 9xuddxdw5cd

--HG--
extra : rebase_source : 4eaa281e108545a98697712861a453d096120a24
2017-02-03 16:32:04 -07:00
Tim Huang
4b8d34bc82 Bug 1312954 - Part 12: Update speculativeConnect to speculativeConnect2 for test_speculative_connect.js. r=mayhemer 2017-02-02 22:20:00 -05:00
Tim Huang
65c848654a Bug 1312954 - Part 10: Add an assertion to make sure every code path of gecko uses speculativeConnect2 correctly. r=ckerschb 2017-02-02 22:18:00 -05:00
Tim Huang
1ed1228b60 Bug 1312954 - Part 9: Update speculativeConnect to speculativeConnect2 for the search service. r=Gijs 2017-02-02 22:17:00 -05:00
Tim Huang
a51aff22a7 Bug 1312954 - Part 7: Update the tests of network predictor. r=nwgh 2017-02-02 22:17:00 -05:00
Tim Huang
715d0af359 Bug 1312954 - Part 5: Have the network predictor use OriginAttributes to properly partition connections it creates like non-predictive connections. r=nwgh 2017-02-02 22:16:00 -05:00
Tim Huang
0764c9c895 Bug 1312954 - Part 4: Add a new function in nsICacheEntry to allow its loadInfoContext to be fetched. r=mayhemer 2017-02-02 22:15:00 -05:00
Tim Huang
a6d4f91ce5 Bug 1312954 - Part 3: Add a test for nsICacheStorageService.asyncVisitAllStorages(). r=mayhemer 2017-02-02 22:15:00 -05:00