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
d65e354e8a
Bug 1162342 Enable sqlite WAL transactions in Cache API. r=ehsan
2015-05-13 17:55:48 -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
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
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
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
a4c60a9f51
Bug 1110485 P1 Refactor Cache IPC requests to use a separate actor. r=baku
2015-04-16 12:00:15 -07: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
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
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
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
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
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
aaaa66b539
Bug 1110485 P1 Refactor Cache IPC requests to use a separate actor. r=baku
2015-04-14 12:21:14 -07:00
Wes Kocher
5bfd3c615a
Backed out 3 changesets (bug 1110485) for wpt-3 bustage
...
Backed out changeset e8bd3bf404ff (bug 1110485)
Backed out changeset fa29dbb49a66 (bug 1110485)
Backed out changeset 12deb121d126 (bug 1110485)
2015-04-13 15:18:19 -07:00
Ben Kelly
f339527f5a
Bug 1110485 P1 Refactor Cache IPC requests to use a separate actor. r=baku
2015-04-13 14:05:57 -07:00
Ehsan Akhgari
db9a1f6dab
Bug 1143959 - Set the journal mode and foreign key pragmas for all DBActions; r=bkelly
...
Before this patch, we would only set these pragmas as part of CreateSchema
which runs in SetupAction. This meant that the connection used to perform
other DBActions would not have had these pragmas applied. As a result,
sqlite would not honor foreign keys on such connections, so the cascade
delete rules responsible for deleting rows from request_headers and
response_headers would not get executed when DBSchema::CachePut deleted the
old entry before adding a new one.
The test in the patch demonstrates how this could result in an observable
breakage. Before this patch, the response headers stored in the cache for
the overwritten entry would reflect both `Mirrored: `foo' and `Mirrored: bar'
headers, which means that attempting to get this header on the cached
response would return the first entry, `foo'.
2015-03-17 08:18:28 -04:00
Ehsan Akhgari
ef10661c6f
Bug 1133763 - Part 3: Wipe out the cache directory when detecting a change in the DB schema; r=bkelly
2015-03-13 14:37:18 -04:00
Ben Kelly
e0b9075c14
Bug 940273 - Part 4 - Initial implementation of Service Worker Cache. r=ehsan,baku,janv
2015-03-02 14:20:00 +01:00