Commit Graph

29 Commits

Author SHA1 Message Date
Christoph Kerschbaumer
745806b307 Bug 663570 - MetaCSP Part 3: Upgrade insecure requests changes (r=bz) 2015-11-14 19:28:38 -08:00
Christoph Kerschbaumer
bbbc48e2aa Bug 1194052 - Append to redirectchain before asyncopen() is called (r=sicking,mayhemer) 2015-10-31 15:22:01 -07:00
Christoph Kerschbaumer
dac39e39df Bug 1194052 - Update Clone() functionality of LoadInfo (r=sicking) 2015-10-31 15:20:48 -07:00
Christoph Kerschbaumer
dae81c4629 Bug 1194052 - Add support for internal redirectchain to loadInfo (r=sicking) 2015-10-31 15:18:59 -07:00
Bill McCloskey
3b545937b6 Bug 1209243 - LoadInfo should use GetScriptableParent rather than GetParent (r=bz) 2015-10-30 13:08:41 -07:00
Kyle Huey
fffe5cc829 Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
Ben Kelly
3f0e30037c Bug 1212904 P2 Add LoadTainting information to nsILoadInfo. r=jduell 2015-10-22 11:07:32 -07:00
Dragana Damjanovic
ebad733187 Bug 1175685 - add OriginAttribute to LoadInfo. r=jonas, r=ckerschb, r=michal 2015-10-21 23:47:00 +02:00
Jonas Sicking
495410a354 Bug 1182571: Make nsXMLHttpRequest use AsyncOpen2. r=ehsan 2015-10-19 11:14:54 -07:00
Jonas Sicking
2552a4d194 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
Nathan Froyd
e4e2da55c9 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
2015-10-18 01:24:48 -04:00
Wes Kocher
a72bfcbb91 Backed out 2 changesets (bug 1182571) for being a likely cause of the Android S4 errors
Backed out changeset e2b3064dcace (bug 1182571)
Backed out changeset 8153ae231d16 (bug 1182571)
2015-10-15 14:07:06 -07:00
Jonas Sicking
919106e7d1 Bug 1182571: Make nsXMLHttpRequest use AsyncOpen2. r=ehsan 2015-10-15 12:18:21 -07:00
Jonas Sicking
f497803f4e Bug 1182571: Fix nsILoadInfo->GetContentPolicyType API to be less ambigious. Audit and fix all users of it. r=ckerschb 2015-10-15 12:18:20 -07:00
Ehsan Akhgari
4b2853f464 Bug 1207556 - Part 1: Stop reusing the loadinfo in StartCORSPreflight; r=sicking 2015-09-26 12:34:16 -04:00
Wes Kocher
7813aeb6cf Backed out 2 changesets (bug 1207556) for leaks in various mochitests
Backed out changeset bd1eed74e2ec (bug 1207556)
Backed out changeset 3260a147595a (bug 1207556)
2015-09-25 14:46:03 -07:00
Ehsan Akhgari
f35d7892fd Bug 1207556 - Part 1: Stop reusing the loadinfo in StartCORSPreflight; r=sicking 2015-09-25 16:09:28 -04:00
Christoph Kerschbaumer
6c00da9063 Bug 1195162 - Use channel->ascynOpen2 dom/xbl/nsXBLService.cpp (r=sicking) 2015-09-14 18:59:35 -07:00
Christoph Kerschbaumer
a12861eafc Bug 1193552 - Remove baseURI from LoadInfo (r=sicking,jkitch) 2015-08-19 10:43:30 -07:00
Christoph Kerschbaumer
03cd461c06 Bug 1143922 - Add AsyncOpen2 to nsIChannel and perform security checks when opening a channel - loadinfo changes (r=sicking,tanvi,sworkman) 2015-07-19 19:11:57 -07:00
Christoph Kerschbaumer
229a41aa30 Bug 1175803 - Store redirect chain within loadInfo - part 1 (r=sicking,mayhemer) 2015-07-19 19:11:03 -07:00
Christoph Kerschbaumer
b54daf94aa Bug 1139297 - Implement CSP upgrade-insecure-requests directive - loadinfo changes (r=sicking,sworkman) 2015-07-10 13:57:55 -07:00
Ehsan Akhgari
0ef246620c Bug 1175480 - Expose the external content policy type from the load info objects; r=smaug
Consumers of this type need to deal with the external content policy
types.  One example is HttpObserverManager.runChannelListener in
WebRequest.jsm.
2015-06-24 08:52:45 -07:00
Bill McCloskey
aef7c7ecb0 Bug 1163861 - Pass window IDs in nsILoadInfo (r=ckerschb) 2015-06-09 21:04:50 -07:00
Christoph Kerschbaumer
b62523bdbc Bug 1109910 - Move LoadInfo from docShell into Necko (r=sicking,sworkman) 2015-02-18 12:34:13 -08:00
Ryan VanderMeulen
0ef8fa6507 Backed out changeset 73e586b9f04f (bug 1109910) for bustage.
CLOSED TREE
2015-02-18 11:57:57 -05:00
Christoph Kerschbaumer
f60715cc4d CLOSED TREE - Bug 1109910 - Move LoadInfo from docShell into Necko (r=sicking,sworkman) 2015-02-17 19:53:06 -08:00
Carsten "Tomcat" Book
ed57caae2f Backed out changeset 5f5540f3fcce (bug 1109910) for Bustage on a CLOSED TREE 2015-02-18 17:15:00 +01:00
Christoph Kerschbaumer
6b37c8c660 Bug 1109910 - Move LoadInfo from docShell into Necko (r=sicking,sworkman) 2015-02-17 19:53:06 -08:00