Wes Kocher
8f8cb9ecec
Backed out changeset 31c018015bd2 (bug 1110485)
2015-04-14 15:27:42 -07:00
Wes Kocher
4d33d0dc41
Backed out changeset 55723c780549 (bug 1110485)
2015-04-14 15:27:40 -07:00
Wes Kocher
2d1c8c4766
Backed out changeset 974c5c109a49 (bug 1110485)
2015-04-14 15:27:39 -07:00
Wes Kocher
252a58f1e3
Backed out changeset b6b9517e3d50 (bug 1110485)
2015-04-14 15:27:37 -07:00
Ben Kelly
8ec5685245
Bug 1110485 P7 Rename DeleteCache() to DeleteCacheId() better distinguish it from CacheDelete(). r=ehsan
2015-04-14 12:21:14 -07:00
Ben Kelly
a72529e91c
Bug 1110485 P6 Remove useless cache::FileUtils type. r=ehsan
2015-04-14 12:21:14 -07:00
Ben Kelly
6f61f92139
Bug 1110485 P5 Replace useless DBSchema class type with namespace. r=ehsan
2015-04-14 12:21:14 -07:00
Ben Kelly
a0b7511f90
Bug 1110485 P4 Keep Cache Actors alive during async operations. r=baku
2015-04-14 12:21:14 -07:00
Ben Kelly
8accf790f2
Bug 1110485 P3 Move Fetch IPC PHeaderEntry type to Cache. Rename HeadesEntry. r=nsm
2015-04-14 12:21:14 -07:00
Ben Kelly
bf3eafd295
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
f882022722
Bug 1110485 P1 Refactor Cache IPC requests to use a separate actor. r=baku
2015-04-14 12:21:14 -07:00
Jan Varga
77ec4aaaa3
Bug 1125102 - Make QuotaManager and FileService to be independent of each other; r=bent
2015-04-14 10:57:41 +02:00
Wes Kocher
e856f526b8
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
27358559d2
Bug 1110485 P3 Move Fetch IPC PHeaderEntry type to Cache. Rename HeadesEntry. r=nsm
2015-04-13 14:05:57 -07:00
Ben Kelly
17224749c6
Bug 1110485 P2 Remove 'P' prefix from non-protocol IPC types in Cache API. r=baku
2015-04-13 14:05:57 -07:00
Ben Kelly
d18407f567
Bug 1110485 P1 Refactor Cache IPC requests to use a separate actor. r=baku
2015-04-13 14:05:57 -07:00
Ehsan Akhgari
7e83dd6ef9
Bug 1153388 - Don't attempt to read a header that may not exist; r=bkelly
...
getHeader() throws an exception if the header doesn't exist. The checks
for hasHeader() below should prevent this exception from being raised.
2015-04-11 09:57:57 -04:00
Ehsan Akhgari
24fadf069b
Bug 1141256 - Stop randomizing the URL for the service worker now that bug 931249 has been fixed
2015-04-09 11:11:14 -04:00
Ryan VanderMeulen
8679e335c9
Backed out 5 changesets (bug 1149987) for mochitest crashes.
...
Backed out changeset b62e371d6189 (bug 1149987)
Backed out changeset daa762fca8e6 (bug 1149987)
Backed out changeset bdb64d5befa5 (bug 1149987)
Backed out changeset 693901a4bcde (bug 1149987)
Backed out changeset e7c41c8653c4 (bug 1149987)
CLOSED TREE
2015-04-08 11:49:49 -04:00
Ehsan Akhgari
bbf8a918b8
Bug 1149987 - Part 5: Do not store or match Response objects with a Vary:* header; r=bkelly
2015-04-08 10:27:40 -04:00
Ehsan Akhgari
49ca5f135b
Bug 1149987 - Part 4: 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-08 10:27:39 -04:00
Ben Kelly
302082a520
Bug 1150691 Fix Cache API race with storage invalidation. r=ehsan
2015-04-02 17:39:46 -07:00
Ben Kelly
5c1632dab9
Bug 1150608 Do not reuse CacheId values within an origin. r=ehsan
2015-04-02 17:11:41 -07:00
Ehsan Akhgari
8c31f6b805
Bug 1147699 - Part 14: Add a test for FetchEvent.request.context when intercepting loads coming from plugins; r=nsm
2015-03-30 08:42:53 -04:00
Ehsan Akhgari
cd8bb1e29a
Bug 1147699 - Part 1: Move Request::mContext to InternalRequest, and determine the mapping to nsContentPolicyType; r=nsm
...
As the documentation in InternalRequest.h in this patch shows, the
mapping between nsContentPolicyType and RequestContext is not complete
yet. Because the InternalRequest object needs to know the actual
nsContentPolicyType in order for FetchDriver to be able to use that
information, we can't just store the RequestContext. Therefore, this
patch adds both of these to InternalRequest. Once we get to a stage
where we have a complete mapping of these values, we can store only one
of them and compute the other from it. That requires addressing all of
the TODO comments in the InternalRequest.h documentation.
2015-03-30 08:42:31 -04:00
Ehsan Akhgari
d0edee4796
Bug 1147184 - Extend the tests for Cache.put; r=bkelly
2015-03-25 21:22:18 -04:00
Ben Kelly
0af00f2e7f
Bug 1143192 Allow Context initialization to be cancelled. r=ehsan
2015-03-25 07:16:40 -07:00
Ehsan Akhgari
1bb4242c14
Bug 1146610 - Add static_asserts that check the validity of the enum values that we write into the cache database; r=bkelly
...
These assertions will catch future accidental changes to these enums
which will invalidate the data that we store in the Cache database.
2015-03-24 16:45:12 -04:00
Ben Kelly
dd3b5996a9
Bug 1146557 P1 Fix CacheStorage and Cache to QI to nsISupports correctly. r=ehsan
2015-03-24 07:34:17 -07:00
Ehsan Akhgari
774f58e4be
Bug 1146612 - Add a test to ensure that Cache.put() with an existing request will reorder it in the DB; r=bkelly
2015-03-24 10:32:02 -04:00
Ehsan Akhgari
8f4ac31b4b
Bug 1146585 - Add a test for Cache.delete; r=bkelly
2015-03-24 10:32:01 -04:00
Ben Kelly
914a639017
Bug 1142852 P2 Make Cache Action use non-threadsafe ref-counting. r=ehsan
2015-03-23 22:28:09 -04:00
Ben Kelly
77fbc11631
Bug 1110487 P4 Allow Cache Action objects to be canceled more than once. r=ehsan
2015-03-23 22:23:45 -04:00
Ben Kelly
1f11ad99f2
Bug 1110487 P3 Cache should ensure Actions are finished before completing. r=ehsan
2015-03-23 22:23:45 -04:00
Ben Kelly
c4c02983ea
Bug 1110487 P2 Implement the nsIOfflineStorage interface in Cache. r=janv,ehsan
2015-03-16 07:10:36 -07:00
Ehsan Akhgari
c61241216d
Bug 1146202 - Add a test for the handling of ignoreVary in Cache.keys; r=bkelly
2015-03-23 15:46:58 -04:00
Ehsan Akhgari
fc4715727f
Bug 1126819 - Part 2: Persist the Request.cache attribute in DOM Cache; r=bkelly
2015-03-23 15:46:58 -04:00
Daniel Holbert
011e578f4a
Bug 1110814 followup: Add missing 'override' annotations to new methods in CacheParent. rs=ehsan
2015-03-22 10:33:56 -07:00
Ehsan Akhgari
3d55a92539
Bug 1110814 follow-up: Fix a typo in order to fix the test failures
2015-03-22 10:35:29 -04:00
Ben Kelly
692f72b360
Bug 1110814 P1 Implement Cache IPC actor for streaming data from child to parent. r=khuey
2015-03-22 02:52:12 -04:00
Ehsan Akhgari
c2f0c00937
Bug 1145792 - Add a test for the Cache.keys method; r=bkelly
2015-03-21 20:13:33 -04:00
Ehsan Akhgari
db526acba3
Bug 1145445
- Add a test for CacheStorage; r=bkelly
2015-03-21 20:11:24 -04:00
Ehsan Akhgari
49d9bd179e
Bug 1144725 - Forcefully terminate the workers used in DOM cache tests once we're done with them; r=bkelly
2015-03-21 20:09:40 -04:00
Ehsan Akhgari
c7ce5ec18d
Bug 1143894 - Part 5: Add a test for handling of the Vary header with multiple entries in the cache; r=bkelly
2015-03-21 19:45:14 -04:00
Ehsan Akhgari
a24b0103aa
Bug 1143894 - Part 4: Add tests for handling of the Vary header in DOM Cache; r=bkelly
2015-03-21 19:45:13 -04:00
Ehsan Akhgari
668d273708
Bug 1143894 - Part 3: Do not propagate errors in getting the headers to the outside world; r=bkelly
...
The Vary header may contain invalid header name values. We should just
ignore such values as opposed to propagating them to the caller. Before
this patch, attempts to add a request with such a Vary header for example
would fail, since the internal QueryCache() call when executing the
CachePutAllAction would fail.
2015-03-21 19:45:12 -04:00
Ehsan Akhgari
c165bfb4e8
Bug 1143894 - Part 2: Support Vary headers including multiple header names in DOM Cache; r=bkelly
...
The Vary header may include one or more HTTP header field names, so we
need to extract those names here, similar to the way that the
nsHttpChannel::ResponseWouldVary() function consumes the Vary header.
2015-03-21 19:45:12 -04:00
Ehsan Akhgari
01349908f4
Bug 1143894 - Part 1: Clear the ErrorResult message if InternalHeaders::Get fails; r=bkelly
...
InternalHeaders::Get() may throw NS_ERROR_TYPE_ERR with an associated message.
The semantics of ErrorResult dictate that the message needs to be consumed by
the time that the object gets destroyed, so we need to clear it before
returning in these two places.
2015-03-21 19:45:11 -04:00
Ehsan Akhgari
5cccea6f0f
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Daniel Holbert
d421ed35bc
Bug 1143223 followup: Add MOZ_OVERRIDE annotation to ReadStream::Inner's refcounting macro. rs=ehsan
2015-03-21 00:17:49 -07:00