Andrea Marchesini
be6fc8d36f
Bug 1221320 - XMLHttpRequest authentication should not require auth prompt dialog, r=honzab.moz
2015-12-30 18:47:55 +00:00
Andrea Marchesini
496a5cfe38
Bug 1237674 - Rename nsFormData to mozilla::dom::FormData, r=smaug
2016-01-07 19:30:36 +00:00
Jonas Sicking
4e8258d392
Bug 1216687: Add nsILoadInfo flags for cookie policies. r=ckerschb
2015-12-06 18:33:15 -05:00
Jonas Sicking
f82c1655d9
Bug 1226909 part 4: Make AsyncOpen2 set taining information on channels. Use this information in XHR and fetch(). r=bkelly
2015-12-06 18:33:15 -05:00
Jonas Sicking
9d711c3aaf
Bug 1226909 part 3: Move logic of when to initiate CORS preflight into channels. Allow CORS preflight to happen when doing a same-origin to cross-origin redirect. r=ckerschb
2015-12-06 18:33:14 -05:00
Jonas Sicking
ad3a5c7f5d
Bug 1226909 part 2: Let CORS preflight logic grab information from nsILoadInfo rather than duplicate it. r=ckerschb
2015-12-06 18:33:14 -05:00
Sebastian Hengst
2d6490dc4b
Backed out changeset 09d64535bcda (bug 1216687), a7f1a289dd78, 4dbf06183e6c, 26318a5e3006, 9ae2af3cf86d (bug 1226909) for M(1,2,5) oranges. r=backout
2015-12-05 16:34:47 +01:00
Jonas Sicking
a35bcbf76e
Bug 1216687: Add nsILoadInfo flags for cookie policies. r=ckerschb
2015-12-05 01:46:21 -08:00
Jonas Sicking
c76eed0c04
Bug 1226909 part 4: Make AsyncOpen2 set taining information on channels. Use this information in XHR and fetch(). r=bkelly
2015-12-05 01:46:20 -08:00
Jonas Sicking
83a2fbd789
Bug 1226909 part 3: Move logic of when to initiate CORS preflight into channels. Allow CORS preflight to happen when doing a same-origin to cross-origin redirect. r=ckerschb
2015-12-05 01:46:20 -08:00
Jonas Sicking
05f8d577f3
Bug 1226909 part 2: Let CORS preflight logic grab information from nsILoadInfo rather than duplicate it. r=ckerschb
2015-12-05 01:46:20 -08:00
Andrea Marchesini
6d20470759
Bug 1230509 - BlobImplFile should return false in IsDateUnknown and IsSizeUnknown, r=bz
2015-12-04 21:15:46 +00:00
Wes Kocher
814fa88abd
Backed out changeset b3cfca056388 (bug 1230509) for build bustage CLOSED TREE
2015-12-04 10:50:17 -08:00
Andrea Marchesini
e75e3cad3e
Bug 1230509 - BlobImplFile should return false in IsDateUnknown and IsSizeUnknown, r=bz
2015-12-04 18:18:21 +00:00
Francois Marier
b2e9d9f788
Bug 1216793 - check against tracking protection list in XHR. r=gcp
2015-11-30 16:28:14 -08:00
Jonas Sicking
7865684c57
Bug 1223647: CSP erroneously inherited into dedicated workers. r=ckerschb
2015-11-10 21:16:12 -08:00
Wes Kocher
f4ebf1b9d4
Backed out changeset d12f758f5f36 (bug 1223647) for android csp test failures
2015-11-11 14:27:52 -08:00
Jonas Sicking
a7882a4e54
Bug 1223647: CSP erroneously inherited into dedicated workers. r=ckerschb
2015-11-10 21:16:12 -08:00
Phil Ringnalda
3fbff868a6
Back out changeset 4d6d9c1e52e4 (bug 1223647) for failures in test_csp.html, csp/test_redirects.html and csp/test_worker_redirect.html
2015-11-10 23:10:04 -08:00
Jonas Sicking
2e16ec806d
Bug 1223647: CSP erroneously inherited into dedicated workers. r=ckerschb
2015-11-10 21:16:12 -08: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
85a92a8002
Bug 1212904 P5 Make XHR respect channel tainting. r=ehsan r=sicking
2015-10-22 11:07:32 -07:00
Michael Layzell
968ab94be3
Bug 918771 - Part 2: Send text/html as MIME type for XHR send() of HTML document, r=bz
2015-10-20 15:54:15 -04:00
Jonas Sicking
e5ec9a3d53
Bug 1182571: Followup bustage fix from merge fail. CLOSED TREE
2015-10-19 11:48:41 -07:00
Jonas Sicking
495410a354
Bug 1182571: Make nsXMLHttpRequest use AsyncOpen2. r=ehsan
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
Michael Layzell
603fe68c16
Backout of bug 1207233 due to web-compat concerns
2015-10-14 16:06:35 -04:00
sajitk
b4267f6ab9
Bug 1201740 - Prevent interception if the request is a System XHR. r=bkelly
2015-10-11 18:13:09 +02:00
Michael Layzell
964a3505f2
Bug 1207233 - Don't provide a default content-type header if user calls XHR.setRequestHeader('Content-Type', ''), r=jduell
2015-09-24 16:54:11 -04:00
Michael Layzell
26469c55d9
Bug 918742 - Correct handling of author-supplied charsets in XMLHttpRequest, r=bz
2015-09-22 12:26:15 -04:00
Patrick McManus
525b5b4925
bug 1187239 - ontransportstatus SENDING_TO should not use request stream re-entrantly r=hurley r=bz
2015-09-15 18:12:37 -04:00
Ehsan Akhgari
2d82e2c15a
Bug 1199049 - Part 9: Use Necko-level CORS preflights in XHR; r=jdm
2015-09-12 19:21:07 -04:00
Jon Droniak
1b75090ba4
Bug 1199796 - Refactor Request and XHR request method validation. r=nsm
2015-09-11 11:26:33 -07:00
Ehsan Akhgari
267c8a8f95
Bug 815299 - Part 3: Accept empty HTTP headers in XHR; r=jdm
2015-09-09 07:54:33 -04:00
Nigel Babu
fe0cc1ec50
Backed out changeset 0a2a9972b4c7 (bug 815299) for M4 bustage.
2015-09-09 09:12:28 +05:30
Ehsan Akhgari
d276611ff2
Bug 815299 - Part 3: Accept empty HTTP headers in XHR; r=jdm
2015-09-08 20:08:32 -04:00
Nikhil Marathe
eee1d230ef
Bug 1176988 - Patch 2 - Remove XHR cache bypass in cast of POST request. r=jdm
2015-08-18 11:31:27 -07:00
Aryeh Gregor
2aab280bb3
Bug 874842 - Return Event instead of nsIDOMEvent
2015-08-12 14:39:31 +03:00
Christoph Kerschbaumer
84a031411b
Bug 1191107 - Split TYPE_XMLHTTPREQUEST and TYPE_DATAREQUEST for EventSource (r=sicking,ehsan)
2015-08-06 11:17:24 -07:00
Carsten "Tomcat" Book
5341b6ceb3
Backed out 2 changesets (bug 1191107, bug 1180273) for causing xpcshell and m-oth testfailures on a CLOSED TREEi IGNORE IDL
...
Backed out changeset c5f710ed8718 (bug 1191107)
Backed out changeset d98d82f9981b (bug 1180273)
2015-08-06 08:39:05 +02:00
Christoph Kerschbaumer
cef4742d86
Bug 1191107 - Split TYPE_XMLHTTPREQUEST and TYPE_DATAREQUEST for EventSource - IGNORE IDL (r=sicking,ehsan)
2015-08-05 12:58:05 -07:00
Birunthan Mohanathas
e1f0334d06
Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
...
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Shian-Yow Wu
f76903c7b4
Bug 1069081 - Part 1: Always cache fd in JAR cache except Windows. r=mwu
2015-07-30 16:05:57 +08:00
Emanuel Hoogeveen
e1b03075a7
Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell
2015-07-07 04:17:00 +02:00
Juan Gomez
01df2f691b
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Ryan VanderMeulen
e6131fc8b8
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
2128198065
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-06-24 14:11:00 -04:00
Nikhil Marathe
441b006a50
Bug 1169044 - Patch 1 - Refactor setting referrer and referrer policy between fetch and XHR. r=khuey
2015-06-04 14:05:00 -07:00