Ehsan Akhgari
1d5e845871
Bug 1174849 - Remove "serviceworker" from RequestContext; r=smaug,bkelly
2015-06-15 21:36:01 -04:00
Ben Kelly
0565956e1e
Bug 1167808 P0 Cache.put() should use internal body of opaque Response. r=nsm
2015-06-12 18:59:01 -07:00
Ben Kelly
4ab395208a
Bug 1169994 Fix Cache to close connection on right thread when init is canceled. r=ehsan
2015-06-10 06:37:16 -07:00
Ehsan Akhgari
1d3ef5533c
Bug 1172629 - Use the caches global property from an iframe loaded after setting the pref in order to make the tests pass with the pref disabled; r=bkelly a=RyanVM
2015-06-09 16:06:00 -04:00
Ehsan Akhgari
02e9234885
Bug 1164397 - Part 5: Save the redirected flag and the redirected URI in the DOM cache; r=bkelly
2015-06-05 15:57:44 -04:00
Ben Kelly
f7df5a47fa
Bug 1168152 P5 Follow-up to use 32kb growth size as intended in previous patches. r=me
2015-05-28 07:52:35 -07:00
Ben Kelly
caeaf9acac
Bug 1168152 P4 Add a test to verify Cache incremental vacuum works. r=ehsan
2015-05-28 07:46:48 -07:00
Ben Kelly
f7683d5203
Bug 1168152 P3 Perform incremental vacuum at tail end of Cache db connections. r=ehsan
2015-05-28 07:46:47 -07:00
Ben Kelly
681eb5dd51
Bug 1168152 P2 Use a wrapper mozIStorageConnection for shared Cache connections. r=ehsan
2015-05-28 07:46:47 -07:00
Ben Kelly
af1e1065d6
Bug 1168152 P1 Use a smaller sqlite page size and a growth increment in Cache. r=ehsan
2015-05-28 07:46:47 -07:00
Ben Kelly
135c3feeb7
Bug 1168135 P3 Cache Context should pass shared Data container to init Action. r=ehsan
2015-05-28 07:46:47 -07:00
Ben Kelly
d33f118c38
Bug 1168135 P2 Add Cache Context::Init() method. r=ehsan
2015-05-28 07:46:47 -07:00
Ben Kelly
c973de0ae7
Bug 1168135 P1 Execute Cache init Action on same target thread used for other Actions. r=ehsan
2015-05-28 07:46:47 -07:00
Ehsan Akhgari
5fc491f5bb
Bug 1168208 - Refactor the existing logic for syncing the security info between Response and channel objects into a new helper class; r=nsm,jdm,bkelly
2015-05-27 14:22:53 -04:00
Carsten "Tomcat" Book
a96f90d7e7
Backed out changeset ae9c77fa58d1 (bug 1168208) for bustage on a CLOSED TREE
2015-05-27 14:50:43 +02:00
Ehsan Akhgari
1d4e673188
Bug 1168208 - Refactor the existing logic for syncing the security info between Response and channel objects into a new helper class; r=nsm,jdm,bkelly
2015-05-27 08:25:03 -04:00
Ben Turner
3df0a28220
Bug 858680 - Part 2: Add idle notifications to QuotaClient, r=janv.
2015-04-30 13:46:51 -07:00
Ben Kelly
ffd0c5b727
Bug 1166911 Modify Cache API sqlite code to use IS NULL literal when comparing an empty key. r=ehsan
2015-05-21 18:16:37 -07:00
Ben Kelly
3b857c92cb
Bug 1166038 De-duplicate security info stored in the Cache API. r=ehsan
2015-05-21 18:16:36 -07:00
Wes Kocher
b7f30fa688
Backed out changeset 0aaa67fc61e8 (bug 858680)
2015-05-21 16:44:42 -07:00
Ben Turner
a6d03ec2cc
Bug 858680 - Part 2: Add idle notifications to QuotaClient, r=janv.
2015-04-30 13:46:51 -07:00
Bobby Holley
c88c2e4f75
Bug 1165162 - Serialize originSuffix into .origin. r=gabor,sr=sicking
...
We also provide an opt-out for the original behavior, and use it in various
consumers that look like they need fixing up. Most of the usage here is in
code with persistence considerations, where we may need some sort of migration
path.
2015-05-20 17:11:49 -07:00
Ben Kelly
9d004e491a
Bug 1166577 Use named sqlite params in Cache API code. r=ehsan
2015-05-20 06:51:19 -07:00
Ben Kelly
caa53b1f59
Bug 1165395 Test Cache API after QuotaManager reset. r=janv
2015-05-19 17:47:16 -07:00
Ryan VanderMeulen
878ef18b13
Backed out changeset f7054968c36b (bug 1165395) for B2G debug crashes.
...
CLOSED TREE
2015-05-19 11:42:01 -04:00
Ben Kelly
c404306bf3
Bug 1165395 Test Cache API after QuotaManager reset. r=janv
2015-05-19 06:50:20 -07:00
Timur Valeev
4e59c06a16
Bug 1162365 - Cache API does not calculate usage in QuotaClient::InitOrigin(). r=bkelly
2015-05-12 13:11:36 +03:00
Bobby Holley
572201a12c
Bug 1164292 - Switch nsIPrincipal::origin to ACString. r=gabor
2015-05-15 11:51:51 -07:00
Ben Kelly
d65e354e8a
Bug 1162342 Enable sqlite WAL transactions in Cache API. r=ehsan
2015-05-13 17:55:48 -07:00
Ben Kelly
47669df31d
Bug 1164100 P2 Fix defunct assertion in Cache API ActionRunnable. r=ehsan
2015-05-13 13:35:34 -07:00
Ben Kelly
f0dd00755f
Bug 1164100 P1 Cache API should use correct base dir even when reusing sqlite connection. r=ehsan
2015-05-13 13:35:34 -07:00
Nikhil Marathe
b2627df572
Bug 1162411 - Fix Request CORS bug. r=bz
2015-05-07 15:39:13 -07:00
Ehsan Akhgari
c4dae07917
Bug 1162487 - Enable the dom.caches.enabled pref in test_chrome_constructor.html; r=baku
2015-05-08 08:43:50 -04:00
Daniel Holbert
d5d6f706bc
Bug 1134671: Add 'override' keyword to method Context::Data::GetConnection() (in DOM Cache code). rs=ehsan
2015-05-07 09:56:40 -07:00
Ben Kelly
fab38f47a7
Bug 1134671 Keep sqlite connection open between Cache API operations. r=ehsan
2015-05-07 05:16:51 -07:00
Ben Kelly
1081d0c0e6
Bug 1162211 Use sqlite private cache mode in Cache API. r=ehsan
2015-05-07 05:16:51 -07:00
Ben Kelly
d8cf2a1f58
Bug 1160138 P3 Test Cache chrome-only Constructor. r=ehsan
2015-05-05 15:45:36 -07:00
Ben Kelly
125fa562ef
Bug 1160138 P2 Add a [ChromeConstructor] to CacheStorage to support devtools. r=ehsan
2015-05-05 15:45:36 -07:00
Ben Kelly
c7893b0633
Bug 1160013 CachePushStreamChild should hold the parent DOM object alive. r=baku
2015-05-05 07:03:52 -07:00
Fernando Jimenez
f7893cb9e1
Bug 1147214 - Enable app:// urls to use SW. r=bkelly
2015-05-04 23:18:05 +02:00
Ben Kelly
ac5f220423
Bug 1160227 Improve Cache API warnings. r=ehsan
2015-05-01 08:15:52 -07:00
Ben Kelly
2dbfb37668
Bug 1160147 Improve Cache API WorkerFeature shutdown handling. r=baku
2015-05-01 08:13:36 -07:00
Ben Kelly
74de9be442
Bug 1154325 P2 Use Blobs for CacheStorage keys to avoid encoding issues. r=ehsan
2015-04-29 09:03:15 -07:00
Ben Kelly
98b548236d
Bug 1120501 P2 Move Cache Add/AddAll logic to child process. r=ehsan,smaug
2015-04-29 08:59:43 -07:00
Tooru Fujisawa
4397f3f321
Bug 1102219 - Part 5: Replace more String.prototype.contains
with String.prototype.includes
in chrome code. r=till
2015-04-30 00:32:05 +09:00
Doug Turner
a96a9b4596
Bug 1147214 - Allow app: urls to use sw. r=baku
2015-04-25 08:27:50 +02:00
Boris Zbarsky
ef887403cb
Bug 1157898 part 1. Make code of the form "return rv.ErrorCode();" where rv is an ErrorResult use StealNSResult instead. r=peterv
...
This patch was generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 's/return ([a-zA-Z0-9]+)\.ErrorCode\(\);/return \1.StealNSResult();/'
2015-04-27 09:18:51 -04:00
Timur Valeev
46cccb491b
Bug 1150001 - Cache API should not return Response body when matching Request with HEAD method. r=bkelly
2015-04-23 16:17:37 +03:00
Boris Zbarsky
3f1169abe3
Bug 1157754 part 2. Convert consumers of ErrorResult::ClearMessage() to the new better APIs we have for suppressing exceptions on ErrorResult. r=bkelly
2015-04-26 22:38:17 -04:00
Ben Kelly
2f5b7f8767
Bug 1158319 Cache should throw SecurityError if the principal is incorrect. r=ehsan
2015-04-24 14:36:02 -07:00
Andrea Marchesini
124186054d
Bug 1156632 - Remove unused forward class declarations - patch 4 - netwerk image and dom, r=ehsan
2015-04-22 08:29:20 +02:00
Ehsan Akhgari
e5c186b614
Bug 1155988 - Use the ready promise more often in service worker tests; r=nsm
2015-04-21 00:23:22 -04:00
Ben Kelly
7738857cd8
Bug 1151974 P1 Delay Cache Context start until previous Context has completed. r=ehsan
2015-04-20 11:14:57 -07:00
Ehsan Akhgari
c648241a62
Bug 1156033 - Add some missing error handling to the DOM Cache code; r=bkelly
2015-04-20 13:10:33 -04:00
Denis Volk
4ad62045e8
Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj
2015-04-15 12:47:03 -04:00
Ben Kelly
fac418c69e
Bug 1151892 Refactor Cache Manager Context usage to be more sane and fix shutdown assert. r=ehsan
2015-04-16 13:05:38 -07:00
Ben Kelly
fc22ed68ff
Bug 1110485 P8 Correctly set the Feature on the stream control child actor. r=baku
2015-04-16 12:00:16 -07:00
Ben Kelly
483fc0c586
Bug 1110485 P7 Rename DeleteCache() to DeleteCacheId() better distinguish it from CacheDelete(). r=ehsan
2015-04-16 12:00:16 -07:00
Ben Kelly
c97f83cd08
Bug 1110485 P6 Remove useless cache::FileUtils type. r=ehsan
2015-04-16 12:00:16 -07:00
Ben Kelly
c0ed91dc24
Bug 1110485 P5 Replace useless DBSchema class type with namespace. r=ehsan
2015-04-16 12:00:16 -07:00
Ben Kelly
3a9be2a727
Bug 1110485 P4 Keep Cache Actors alive during async operations. r=baku
2015-04-16 12:00:15 -07:00
Ben Kelly
419e3e19e1
Bug 1110485 P3 Move Fetch IPC PHeaderEntry type to Cache. Rename HeadesEntry. r=nsm
2015-04-16 12:00:15 -07:00
Ben Kelly
2c1cdbef64
Bug 1110485 P2 Remove 'P' prefix from non-protocol IPC types in Cache API. r=baku
2015-04-16 12:00:15 -07:00
Ben Kelly
a4c60a9f51
Bug 1110485 P1 Refactor Cache IPC requests to use a separate actor. r=baku
2015-04-16 12:00:15 -07:00
Ehsan Akhgari
3344e3c192
Bug 1149987 - Part 8: Do not store or match Response objects with a Vary:* header; r=bkelly
2015-04-15 15:55:51 -04:00
Ehsan Akhgari
73de633a24
Bug 1149987 - Part 7: Send the full ErrorResult in the AddAllResponse IPC message; r=bkelly
...
This is needed so that we can throw a TypeError from
FetchPut::FetchComplete. In order to be able to do this, we need to
store the entire ErrorResult in the FetchPut object and deliver it to
the other side.
2015-04-15 15:55:39 -04:00
Ehsan Akhgari
b5dff41a16
Bug 1149987 - Part 6: Release the FetchPut object on the right thread in FetchObserver::OnResponseEnd(); r=bkelly
2015-04-15 15:55:28 -04:00
Ehsan Akhgari
7652fe2e31
Bug 1149987 - Part 5: Hold a kungfu death grip in FetchPut::MaybeNotifyListener; r=bkelly
2015-04-15 15:55:16 -04:00
Carsten "Tomcat" Book
0cb66da15e
Backed out changeset 19f871364039 (bug 1110485) for causing bc1 winxp memory leaks on a CLOSED TREE
2015-04-15 09:55:53 +02:00
Carsten "Tomcat" Book
46cdb7e5f3
Backed out changeset a74f0b2545ab (bug 1110485)
2015-04-15 09:54:48 +02:00
Carsten "Tomcat" Book
f9c7549a3a
Backed out changeset 1bbb1ec38652 (bug 1110485)
2015-04-15 09:54:45 +02:00
Carsten "Tomcat" Book
8c54fb424b
Backed out changeset f37dc22f4c4f (bug 1110485)
2015-04-15 09:54:39 +02:00
Carsten "Tomcat" Book
deaf61f255
Backed out changeset de417ee861be (bug 1110485)
2015-04-15 09:54:36 +02:00
Carsten "Tomcat" Book
1988f0e80f
Backed out changeset fdca92fa4d55 (bug 1110485)
2015-04-15 09:54:34 +02:00
Carsten "Tomcat" Book
d20177357b
Backed out changeset e8de5745c5c3 (bug 1110485)
2015-04-15 09:54:27 +02:00
Carsten "Tomcat" Book
efc7a66b83
Backed out changeset 2bf98851529e (bug 1110485)
2015-04-15 09:54:19 +02:00
Carsten "Tomcat" Book
311b9daded
Backed out changeset a2629286ed4c (bug 1151892)
2015-04-15 09:54:11 +02:00
Ben Kelly
9a47663052
Bug 1151892 Refactor Cache Manager Context usage to be more sane and fix shutdown assert. r=ehsan
2015-04-14 17:15:12 -07:00
Ben Kelly
d5dd57689d
Bug 1110485 P8 Temporarilly disable an assert in Cache FileUtils.cpp. Follow up to fix in bug 1154531. r=me
2015-04-14 17:11:20 -07:00
Ben Kelly
5e1d38aae9
Bug 1110485 P7 Rename DeleteCache() to DeleteCacheId() better distinguish it from CacheDelete(). r=ehsan
2015-04-14 17:11:20 -07:00
Ben Kelly
85285615fd
Bug 1110485 P6 Remove useless cache::FileUtils type. r=ehsan
2015-04-14 17:11:19 -07:00
Ben Kelly
4325ffaace
Bug 1110485 P5 Replace useless DBSchema class type with namespace. r=ehsan
2015-04-14 17:11:19 -07:00
Ben Kelly
d7709f3b1c
Bug 1110485 P4 Keep Cache Actors alive during async operations. r=baku
2015-04-14 17:11:19 -07:00
Ben Kelly
4e1b8a1185
Bug 1110485 P3 Move Fetch IPC PHeaderEntry type to Cache. Rename HeadesEntry. r=nsm
2015-04-14 17:11:19 -07:00
Ben Kelly
b618bc0c3e
Bug 1110485 P2 Remove 'P' prefix from non-protocol IPC types in Cache API. r=baku
2015-04-14 17:11:19 -07:00
Ben Kelly
8a0ad11cd5
Bug 1110485 P1 Refactor Cache IPC requests to use a separate actor. r=baku
2015-04-14 17:11:19 -07:00
Wes Kocher
0c82c18432
Backed out changeset 40f48cd100a2 (bug 1110485) for frequent mochitest-1 failures CLOSED TREE
2015-04-14 15:27:48 -07:00
Wes Kocher
65a7f1c64a
Backed out changeset 114377b11793 (bug 1110485)
2015-04-14 15:27:46 -07:00
Wes Kocher
9c2a906295
Backed out changeset 565246a02797 (bug 1110485)
2015-04-14 15:27:45 -07:00
Wes Kocher
def580574e
Backed out changeset 31c018015bd2 (bug 1110485)
2015-04-14 15:27:42 -07:00
Wes Kocher
b7e46a943f
Backed out changeset 55723c780549 (bug 1110485)
2015-04-14 15:27:40 -07:00
Wes Kocher
f6b6974bf5
Backed out changeset 974c5c109a49 (bug 1110485)
2015-04-14 15:27:39 -07:00
Wes Kocher
ee337c7679
Backed out changeset b6b9517e3d50 (bug 1110485)
2015-04-14 15:27:37 -07:00
Ben Kelly
11bf5560b6
Bug 1110485 P7 Rename DeleteCache() to DeleteCacheId() better distinguish it from CacheDelete(). r=ehsan
2015-04-14 12:21:14 -07:00
Ben Kelly
2b8b6dd1ab
Bug 1110485 P6 Remove useless cache::FileUtils type. r=ehsan
2015-04-14 12:21:14 -07:00
Ben Kelly
f21157b4d1
Bug 1110485 P5 Replace useless DBSchema class type with namespace. r=ehsan
2015-04-14 12:21:14 -07:00
Ben Kelly
60f6555e5f
Bug 1110485 P4 Keep Cache Actors alive during async operations. r=baku
2015-04-14 12:21:14 -07:00
Ben Kelly
a4757ed08e
Bug 1110485 P3 Move Fetch IPC PHeaderEntry type to Cache. Rename HeadesEntry. r=nsm
2015-04-14 12:21:14 -07:00
Ben Kelly
af6facd092
Bug 1110485 P2 Remove 'P' prefix from non-protocol IPC types in Cache API. r=baku
2015-04-14 12:21:14 -07:00
Ben Kelly
aaaa66b539
Bug 1110485 P1 Refactor Cache IPC requests to use a separate actor. r=baku
2015-04-14 12:21:14 -07:00