Commit Graph

4514 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
f747db3bbd Bug 1312954 - Part 1: Add the nsILoadContextInfo as one additional argument of nsILoadContextInfo.onCacheEntryInfo() and CacheStorageService::EntryInfoCallback.OnEntryInfo(). r=mayhemer 2017-02-02 22:14:00 -05:00
Kate McKinley
931d2ffa10 Bug 1335134 - pref security.mixed_content.send_hsts_priming to false r=mayhemer
MozReview-Commit-ID: DKPmIrEhyo0

--HG--
extra : rebase_source : 3023ae737d7013eab3b149c320e3f1072fb19e88
2017-01-30 11:28:51 -08:00
Ehsan Akhgari
b62bca9af3 Bug 1335526 - Ensure that sandboxed channel's result principal is unique; r=bzbarsky 2017-02-01 13:47:26 -05:00
Sebastian Hengst
53d59b106f Backed out changeset a273aee1be72 (bug 1335526) for bustage. r=backout 2017-02-01 17:41:29 +01:00
Ehsan Akhgari
9b36bf10cd Bug 1335526 - Ensure that sandboxed channel's result principal is unique; r=bzbarsky 2017-02-01 11:24:49 -05:00
Valentin Gosu
60dca5c744 Bug 1334443 - Crash in mozilla::net::nsProtocolProxyService::LoadHostFilters r=bagder
MozReview-Commit-ID: JugUEnMzQ4r
2017-02-01 02:29:17 +01:00
Valentin Gosu
11eaff63fe Bug 1334520 - Trigger captive portal recheck recheck for NS_NETWORK_LINK_DATA_CHANGED events r=mcmanus
MozReview-Commit-ID: L8XBLx88PbS
2017-01-30 13:16:05 +01:00
ISHIKAWA, Chiaki
8d51fe2843 Bug 1120046 - Improve error reporting in nsBufferedStreams.cpp, r=honzab 2017-01-26 23:15:00 +01:00
Wes Kocher
8fa84ca644 Merge inbound to central, a=merge
MozReview-Commit-ID: BZgxmhS6OtM
2017-01-26 16:19:05 -08:00
Christoph Kerschbaumer
3129297bc8 Bug 1334050 - Remove dead variable sTelemetryEnabled from nsIOService. r=dragana 2017-01-26 18:49:30 +01:00
Christoph Kerschbaumer
98c3400499 Bug 1328860: Install pref to have data: URIs not inherit the security context. r=smaug 2017-01-26 18:40:32 +01:00
Nils Ohlmeier [:drno]
ede12d1bfb Bug 1333185: memset PRNetAddr for UDPSocket::connect(). r=schien
MozReview-Commit-ID: JJb18xXNy1c

--HG--
extra : rebase_source : a13f661eeb9ba4bc0b6c38f522b3c89c62ef9cc4
2017-01-23 13:40:29 -08:00
Kartikaya Gupta
1af1a82edf Bug 1312319 - Add a NS_INLINE_DECL_PURE_VIRTUAL_REFCOUNTING macro and replace existing pure-virtual AddRef/Release declarations. r=froydnj
MozReview-Commit-ID: 5yt3O4Hoois

--HG--
extra : rebase_source : 5dad12cd8400b8a783e8407de874d4b7c75cb645
2017-01-25 14:51:34 -05:00
Bill McCloskey
ef3d0f1c2e Bug 1331804 - Add more runnable names (r=ehsan)
MozReview-Commit-ID: 1QBmqfgY6WI
2017-01-24 16:34:37 -08:00
Valentin Gosu
2f7cc13432 Bug 1320925 - Backout changeset b80531102366 (bug 1254098) a=backout
MozReview-Commit-ID: 1tX0Keg66Dc
2017-02-07 21:07:30 +01:00
Wes Kocher
f7ccafcb58 Backed out 8 changesets (bug 1331804, bug 1332100) for windows vm debug dt5 failures a=backout
Backed out changeset 8bf7f0e27c6c (bug 1331804)
Backed out changeset 600c0b9026c2 (bug 1331804)
Backed out changeset 3a5b5b9ecace (bug 1331804)
Backed out changeset c76432c9954e (bug 1331804)
Backed out changeset 46a9096745e7 (bug 1332100)
Backed out changeset 8b751230fa23 (bug 1331804)
Backed out changeset 2810212347fd (bug 1331804)
Backed out changeset be72b7763910 (bug 1331804)

MozReview-Commit-ID: Ywdsr4GZ4a
2017-01-24 15:12:21 -08:00
Eric Rahm
6af429ff8a Bug 1332202 - Convert most infallible NS_EscapeURL calls to fallible version. r=froydnj
This makes most users of |NS_EscapeURL| use the fallible version. A few are
left infallible as it seems like the entire function is assumed to be
infallible.

MozReview-Commit-ID: Cy1L5jQwjO1
2017-01-24 11:11:44 -08:00
Bill McCloskey
80aaeed2fc Bug 1331804 - Add more runnable names (r=ehsan)
MozReview-Commit-ID: 1QBmqfgY6WI
2017-01-24 10:04:55 -08:00
Andrea Marchesini
5e4160791e Bug 1333384 - nsTemporaryFileInputStream::ReadSegments must consider the stream as closed if PR_Read() return 0, r=bkelly 2017-01-24 16:02:15 +01:00
Valentin Gosu
5650342313 Bug 1332271 - Do not cancel timer when captive portal request times out r=mcmanus
The fact that nsICaptivePortalServiceCallback.complete got called with a true
argument made it difficult to be sure when the you were actually in a captive
portal, and when the network timed out.
Moreover, one artefact of the initial plan for the captive portal service was
that we'd cancel the timer after the first request succeeded, making the backoff
mechanism not run at all, and only checked for CP when instructed by nsIOService.
This patch changes captivedetect.js to send back success=false when the retry
count is exceeded - it's equivalent to an aborted request anyway - doesn't
cancel the timeer, and changes how we set the current state of the captive portal.

MozReview-Commit-ID: 4RV50KPbEdt
2017-01-24 15:43:30 +01:00
Christoph Kerschbaumer
7578c6e2b5 Bug 1271173 - Upgrade-insecure-requests for navigational requests. r=smaug,freddyb 2017-01-23 15:29:44 +01:00
Kris Maglione
440d6fcd02 Bug 1305162: Part 1a - Separate nsIMIMEInputStream headers from stream data. r=dragana
MozReview-Commit-ID: F1qZCBWUNRG

--HG--
extra : rebase_source : 7a4fdab3e4843a042a3d1101c5e58a6bb556ef7a
extra : source : de131f7c1fc1f60db42509aea646ef4540e6c5fe
2017-01-20 15:43:07 -08:00
Kris Maglione
696ece6386 Bug 1325158: Part 2 - Correctly handle extra OnRedirectVerifyCallback calls. r=honzab
MozReview-Commit-ID: Hl1C6ZEdZKF

--HG--
extra : rebase_source : 7279e56efef9a131bc7507516a619ec98369cc7d
2016-12-24 18:25:18 -08:00
Kyle Machulis
78bed400fd Bug 1330138 - Differentiate prefs for u2f and webauthn apis; r=jcj r=baku
MozReview-Commit-ID: EUpleNqjFKQ
2017-01-19 14:18:32 -08:00
Wei-Cheng Pan
9787ace059 Bug 1323949 - Use MOZ_MUST_USE in netwerk/protocol/websocket r=valentin
MozReview-Commit-ID: 6lNrHbDIUez

--HG--
extra : rebase_source : a7f06ba4a31a328c4e62d6c78d72024c08cc1328
2016-11-23 18:00:42 +08:00
Masatoshi Kimura
8a55ba31d3 Bug 1327960 - Don't escape the query part of nsSimpleURI. r=valentin.gosu
MozReview-Commit-ID: G5Shb8kYYTx

--HG--
extra : rebase_source : 1f54e00058decbdd605953bb127e3a056dcbb9be
2017-01-06 20:56:14 +09:00
Thomas Nguyen
555edcf6af Bug 1324820 - Make sure we resume the channel if there's no classifier callback r=gcp
MozReview-Commit-ID: 35jBJb1Q8Rz

--HG--
extra : rebase_source : 63ae672ec3c9851b0f11ce42ecc76a9dbf4e7826
2017-01-12 18:07:22 +08:00