Commit Graph

3863 Commits

Author SHA1 Message Date
Makoto Kato
63f3a6b33c Bug 1218315 - Replace NS_LITERAL_STRING(...).get() with MOZ_UTF16(...) on netwerk. r=nfroyd 2015-10-28 14:30:07 +09:00
Birunthan Mohanathas
44936aabb2 Bug 1217320 - Remove more XPIDL signature comments in .cpp files. r=froydnj
Comment-only, DONTBUILD.
2015-10-27 06:54:25 +02:00
Kyle Huey
c7d3c4e21a Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
Yury Delendik
6a45b9b59b Bug 1217617 - Fixes nsURIChecker.cpp dependency on nsIURI. r=mcmanus 2015-10-22 17:21:59 -05:00
Jonathan Hao
3d02a2da65 Bug 1216469 - Bypass verification for signed packages from trust origins. r=valentin 2015-10-22 17:09:44 +08:00
Ben Kelly
748c384c83 Bug 1212904 P2 Add LoadTainting information to nsILoadInfo. r=jduell 2015-10-22 11:07:32 -07:00
Ben Kelly
47e6f66786 Bug 1212904 P1 Add a LoadTainting enumeration. r=jduell 2015-10-22 11:07:32 -07:00
Dragana Damjanovic
a600313556 Bug 1214786 - Channelwrapper: Fix up maybeWrapChannel to wrap if not gecko internal channel (r=mayhemer,sicking) 2015-10-22 09:56:56 -07:00
Josh Matthews
d3726427db Bug 1173811 - Part 1: Propagate the response URL to intercepted channels when necessary (non-e10s). r=mayhemer,bkelly 2015-10-22 09:23:39 -04:00
Masatoshi Kimura
6ad41c8aee Bug 1215796 - Remove the static fallback whitelist. r=keeler 2015-10-22 21:37:40 +09:00
Dragana Damjanovic
35a05c4285 Bug 1175685 - add OriginAttribute to LoadInfo. r=jonas, r=ckerschb, r=michal 2015-10-21 23:47:00 +02:00
Phil Ringnalda
6401c0185c Back out 2 changesets (bug 1173811) for test_synthesized_response.js timeouts
CLOSED TREE

Backed out changeset 56bc1314e660 (bug 1173811)
Backed out changeset 0ad51d302ba9 (bug 1173811)
2015-10-21 20:21:05 -07:00
Josh Matthews
591281df75 Bug 1173811 - Part 1: Propagate the response URL to intercepted channels when necessary (non-e10s). r=mayhemer,bkelly 2015-10-21 00:05:40 -04:00
Wes Kocher
ceefa2939a Merge b2ginbound to central, a=merge 2015-10-21 16:37:24 -07:00
Carsten "Tomcat" Book
68ab10be0d Merge m-c to b2g-inbound on a CLOSED TREE 2015-10-21 15:37:25 +02:00
Patrick McManus
06d7c103e1 bug 1215552 - nsHttpConnectionMgr::PostEvent shouldnt manually ref count r=hurley 2015-10-16 11:36:59 -04:00
Jonathan Hao
e4b1f62b85 Bug 1178448 - Use imported CA in developer mode. r=keeler,valentin 2015-10-08 17:08:45 +08:00
Manish Goregaokar
95218a96a0 Bug 280280 - Make "no proxy for" do domain comparison. r=bagder
--HG--
extra : rebase_source : e746931c499bb741191e7cef8df274f3f10aba82
2015-10-21 03:05:00 +02:00
Masatoshi Kimura
a8924119ce Bug 1201025 - Disable fallback whitelist by default. r=keeler 2015-10-20 20:29:55 +09:00
Valentin Gosu
60f58fbb1a Bug 1215944 - Return false if string is empty. r=mcmanus 2015-10-20 11:47:12 +02:00
Christoph Kerschbaumer
33fa277605 Bug 1204983 - Allow about: pages to load remote content (r=bholley,bz,florian,dragana) 2015-10-09 22:03:27 -07:00
Wes Kocher
c6deb98829 Backed out 3 changesets (bug 1204983) for talos(g2) failures
Backed out changeset 00c07b02c8a8 (bug 1204983)
Backed out changeset a4879b180d2d (bug 1204983)
Backed out changeset 38b6f878608a (bug 1204983)
2015-10-19 16:09:33 -07:00
Christoph Kerschbaumer
1526f05f35 Bug 1204983 - Allow about: pages to load remote content (r=bholley,bz,florian,dragana) 2015-10-09 22:03:27 -07:00
Jonas Sicking
cc10dd7ad3 Bug 1182571: Make nsXMLHttpRequest use AsyncOpen2. r=ehsan 2015-10-19 11:14:54 -07:00
Jonas Sicking
4316c13003 Bug 1182571: Fix nsILoadInfo->GetContentPolicyType API to be less ambigious. Audit and fix all users of it. r=ckerschb 2015-10-19 11:14:54 -07:00
Henry
fdaaf864d7 Bug 1216062 - Notify OnStartSignedPackagedRequest with package identifier. r=valentin. 2015-10-19 03:33:00 +02:00
Dragana Damjanovic
0f390c8344 Bug 1214122 - Check if addon ProtocolHandler actually provide nsHttpChannel. r=sicking r=mayhemer 2015-10-16 06:07:00 +02:00
Nathan Froyd
01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Daniel Stenberg
19855ea7f7 Bug 1214200: avoid double NS_RELEASE(), r=mcmanus 2015-10-17 08:26:38 -04:00
Carsten "Tomcat" Book
d89def21d7 Merge m-c to b2g-inbound 2015-10-15 12:04:19 +02:00
Yoshi Huang
fb57af4ae6 Bug 1191653 - Listen to clear-origin-data in nsPermissionManager. r=bholley 2015-10-13 10:27:42 +08:00
Dragana Damjanovic dd.mozilla@gmail.com
48d945f4e6 Bug 1197679 - If nsUnknownDecoder is involved in e10s DivertToParent can break. r=jduell 2015-10-11 18:13:09 +02:00
Honza Bambas
4bd41740d0 Bug 1165269 - Use OriginAttributes in nsILoadContextInfo, r=michal+allstars 2015-10-11 18:13:09 +02:00
Masatoshi Kimura
82aeed3ddc Bug 1168635 - Extend nsITLSServerSocket to customize cipher suites. r=keeler 2015-10-15 05:48:26 +09:00
Carsten "Tomcat" Book
cfcbb3d261 Backed out changeset 32357df66881 (bug 1168635) for Android s4 test failures 2015-10-14 16:28:59 +02:00
Masatoshi Kimura
d9f0dc8b43 Bug 1168635 - Extend nsITLSServerSocket to customize cipher suites. r=keeler 2015-10-14 21:12:33 +09:00
Daniel Stenberg
7b64106297 Bug 1121800 - when all proxies fail try DIRECT, r=mcmanus
To mimic how other browsers do it these days and better deal with wrong
propxy settings lingering.
2015-10-09 01:59:00 +02:00
Ehsan Akhgari
a9097bf0fb Bug 1213150 - Part 3: Remove nsIInterceptedChannel.isNavigation; r=jdm 2015-10-09 10:52:56 -04:00
Ehsan Akhgari
f303ed36f2 Bug 1213150 - Part 2: Rework ShouldPrepareForIntercept() in terms of subresource requests; r=jdm 2015-10-09 10:52:55 -04:00
Henry
4f83bb6af3 Bug 1210573 - Add attribute 'packageIdentifier' to nsIPackagedAppUtils. r=valentin. 2015-10-07 20:02:00 +02:00
Valentin Gosu
a83aaacc09 Bug 1199430 - Reject hostnames containing @. r=mcmanus
--HG--
extra : rebase_source : 12ab477ffb559055386f0705e0de37cb4a353410
2015-09-03 21:15:30 +02:00
Ehsan Akhgari
158253749d Bug 1210302 - Part 3: Add a NS_ParseRequestContentType API; r=mcmanus,sicking 2015-10-06 20:26:46 -04:00
Ehsan Akhgari
c3300a106e Bug 1210302 - Part 2: Rename NS_ParseContentType to NS_ParseResponseContentType; r=mcmanus,sicking 2015-10-06 20:24:51 -04:00
Ehsan Akhgari
b62b1c1bb8 Bug 1210302 - Part 1: Rename nsINetUtil.parseContentType() to parseResponseContentType(); r=mcmanus 2015-10-06 20:24:49 -04:00
Ben Kelly
d080cc4a26 Bug 1210941 P1 Create the LOAD_BYPASS_SERVICE_WORKER flag. r=jduell 2015-10-06 06:37:06 -07:00
Henry Chang
10017eda0f Bug 1186290 - Notify TabParent to switch process when loading a signed package. r=honzab, r=kanru. 2015-10-02 05:25:22 -07:00
Christoph Kerschbaumer
10581fce1b Bug 1206199 - Extend channelwrapper to mediate OnStartRequest, OnStopRequest, OnDataAvailable (r=sicking) 2015-10-05 19:01:35 -07:00
Ethan Tseng
583b7001e7 Bug 1165267 - Part 0: Add util functions NS_GetOriginAttributes. r=honzab 2015-09-03 10:46:03 +08:00
Dragana Damjanovic
e1927c0575 Bug 1152046 - move ClosingService::Start/Shutdown to nsIOService. r=mayhemer
--HG--
extra : rebase_source : 473295104e37947bcb6bd531b5c4eb00f7956b64
2015-10-04 13:43:00 +02:00
Bobby Holley
75a560dba5 Bug 1208756 - Introduce URI_FETCHABLE_BY_ANYONE and use it for moz-extension. r=bz
This matches the behavior described in
https://developer.chrome.com/extensions/manifest/web_accessible_resources
2015-10-02 15:02:07 -07:00