Kyle Huey
e62a0823c9
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07:00
Ehsan Akhgari
6efa0b920b
Bug 1265941 - Rename the ReferrerPolicy "origin-only" enum value to "origin"; r=jdm
2016-04-20 14:21:34 -04:00
Ehsan Akhgari
125e2788b0
Bug 1120715 - Part 5: Treat a default cache mode Request with a revalidation header as no-store; r=bkelly
2016-03-11 14:40:49 -05:00
Ehsan Akhgari
fc4af63a62
Bug 1120715 - Part 3: Connect the Necko level cache mode parameter with the Request cache mode variable; r=bkelly
2016-03-11 14:40:41 -05:00
Eric Rahm
839ccf03f2
Bug 1253054 - Stop warning if request has already failed. r=bkelly
2016-03-11 11:18:07 -08:00
Ryan VanderMeulen
29a0483afa
Backed out 8 changesets (bug 1120715) for Android dom/u2f/tests/test_no_token.html permafail.
...
Backed out changeset 043770204431 (bug 1120715)
Backed out changeset e10c375353f4 (bug 1120715)
Backed out changeset c2871dbeb7cc (bug 1120715)
Backed out changeset 79158f028ad3 (bug 1120715)
Backed out changeset c74866f52320 (bug 1120715)
Backed out changeset c731944ecc64 (bug 1120715)
Backed out changeset 44f346712a3a (bug 1120715)
Backed out changeset 60d6045125e2 (bug 1120715)
CLOSED TREE
2016-03-10 20:20:05 -05:00
Ehsan Akhgari
827c509d38
Bug 1120715 - Part 5: Treat a default cache mode Request with a revalidation header as no-store; r=bkelly
2016-03-10 17:29:11 -05:00
Ehsan Akhgari
a2bfe29905
Bug 1120715 - Part 3: Connect the Necko level cache mode parameter with the Request cache mode variable; r=bkelly
2016-03-10 17:29:11 -05:00
Wes Kocher
59b783e560
Backed out 6 changesets (bug 1120715) for wpt bustage in request-cache.html
...
Backed out changeset 2ee4b18f6b3a (bug 1120715)
Backed out changeset f87a25ade31e (bug 1120715)
Backed out changeset 9391f22c08c2 (bug 1120715)
Backed out changeset c5bf9f7bb86e (bug 1120715)
Backed out changeset 7e003fb64d41 (bug 1120715)
Backed out changeset ef66b64e9f8a (bug 1120715)
MozReview-Commit-ID: AI47IhtGWea
2016-03-09 15:57:43 -08:00
Ehsan Akhgari
e548024563
Bug 1120715 - Part 5: Treat a default cache mode Request with a revalidation header as no-store; r=bkelly
2016-03-09 16:44:58 -05:00
Ehsan Akhgari
766493384f
Bug 1120715 - Part 3: Connect the Necko level cache mode parameter with the Request cache mode variable; r=bkelly
2016-03-09 16:43:33 -05:00
Jonathan Watt
f04970d828
Bug 1253094, part 1 - Stop using DebugOnly for class/struct members in dom/. r=baku
...
MozReview-Commit-ID: ErWZs9oV4WS
2016-02-26 15:52:06 +00:00
Ehsan Akhgari
48717d6102
Bug 1251872 - Part 1: Implement Request.referrerPolicy; r=jdm
2016-03-03 16:43:55 -05:00
Stefan Dye
f0af29f52b
Bug 1204520 - Remove unused return value from FetchDriver::FailWithNetworkError. r=jdm
2016-01-31 21:56:00 -05:00
Birunthan Mohanathas
bfee0fb40c
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Phil Ringnalda
d871b9515f
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
245cd6a02f
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Ehsan Akhgari
f2f320621a
Bug 1197379 - Remove support for intercepting app:// URIs using service workers; r=jdm
2016-01-27 15:26:27 -05:00
Ehsan Akhgari
05efdf788a
Bug 1209081 - Part 1: Implement the "navigate" value for RequestMode; r=bkelly
2016-01-19 17:46:10 -05:00
Ben Kelly
00d4fd76e9
Bug 1237455 P5 Set headers on fetch() redirects. r=ehsan
2016-01-19 13:54:15 -08:00
Ben Kelly
2a59957f92
Bug 1237455 P4 Create helper method to set fetch request headers. r=ehsan
2016-01-19 13:54:15 -08:00
dimi
41e8cc7c63
Bug 1205288 - implement and test fetch spec changes for blob scheme with non-GET method. r=bkelly
2016-01-06 17:13:19 +08:00
Jonas Sicking
dc7114ec7f
Bug 1216687: Add nsILoadInfo flags for cookie policies. r=ckerschb
2015-12-06 18:33:15 -05:00
Jonas Sicking
2d5d18d181
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
736f70081e
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
59d2f1fb08
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
cdf4286868
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
ed83817753
Bug 1216687: Add nsILoadInfo flags for cookie policies. r=ckerschb
2015-12-05 01:46:21 -08:00
Jonas Sicking
43dffbee2a
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
cd1c0c2552
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
72e95852c2
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
Francois Marier
f72b6077d8
Bug 1216793 - check against tracking protection list in fetch(). r=gcp
2015-11-30 16:27:56 -08:00
Jonas Sicking
ebec9b7ac5
Bug 1217456: Add a security flag for controlling redirects. Use this flag in fetch() implementation. r=bkelly,jduell
2015-11-23 18:47:10 -08:00
Jonas Sicking
de2d5b3657
Bug 1224865: Don't set a document in FetchDriver for requests in workers. r=bkelly
2015-11-16 11:43:12 -08:00
Birunthan Mohanathas
ac37dec517
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02:00
Ben Kelly
2e1255d3a6
Bug 1217501 P2 Send */* for fetch() default Accept header. r=ehsan
2015-10-26 08:25:16 -07:00
Wes Kocher
0fea81994f
Backed out 3 changesets (bug 1217501) for m(4) leaks CLOSED TREE
...
Backed out changeset f00f079f712b (bug 1217501)
Backed out changeset 86ac4feb0e38 (bug 1217501)
Backed out changeset 0c7e876a69e5 (bug 1217501)
2015-10-26 11:52:23 -07:00
Ben Kelly
03ef6710b3
Bug 1217501 P2 Send */* for fetch() default Accept header. r=ehsan
2015-10-26 08:25:16 -07:00
Ben Kelly
ee399ba406
Bug 1212904 P3 Make FetchDriver look for the channel Tainting value. r=ehsan
2015-10-22 11:07:32 -07:00
Ben Kelly
363f09bda3
Bug 1212904 P0 Do not abuse fetch response tainting to create opaqueredirect responses. r=ehsan
2015-10-22 11:07:32 -07:00
Jonas Sicking
4a42432df4
Bug 1215746: Remove RequestMode::Cors_with_forced_preflight. r=bkelly
2015-10-19 18:24:36 -07:00
Jonas Sicking
f6de4bb58c
Bug 1195167 part 6: Some code simplification since necko handles fetch recursion. r=bkelly
2015-10-19 18:24:36 -07:00
Jonas Sicking
edc2e4ab86
Bug 1195167 part 5: Make FetchDriver use AsyncOpen2. r=bkelly
2015-10-19 18:24:36 -07:00
Jonas Sicking
7814039ede
Bug 1195167 part 4: Remove FetchDriver::BasicFetch since it is empty. r=bkelly
2015-10-19 18:24:36 -07:00
Jonas Sicking
d258a5741b
Bug 1195167 part 3: Remove more scheme-specific handling from FetchDriver. r=bkelly
2015-10-19 18:24:36 -07:00
Jonas Sicking
cd52683c1f
Bug 1195167 part 2: Remove redundant aCORSFlag argument and instead use mCORSFlagEverSet. r=bkelly
2015-10-19 18:24:36 -07:00
Jonas Sicking
d15e048380
Bug 1195167 part 1: Let necko handle all protocols. r=bkelly
2015-10-19 18:24:36 -07:00
Ben Kelly
5e3d34755e
Bug 1212433 Fail fetch() calls that require preflight and also redirect. r=sicking a=abillings
2015-10-19 13:23:29 -07:00
Nathan Froyd
4e6d8f6705
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
Jonas Sicking
3770405522
Bug 1211751: Remove nsIChannelEventSink-forwarding from EventSource and FetchDriver. It's never needed. r=smaug
2015-10-08 13:41:38 -07:00