Commit Graph

253 Commits

Author SHA1 Message Date
Ehsan Akhgari
85e3790c93 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
f684954351 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
a148661e18 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
915fd31fbc 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
d2b220518a 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
7e4c1cc551 Bug 1150691 Fix Cache API race with storage invalidation. r=ehsan 2015-04-02 17:39:46 -07:00
Ben Kelly
453723cf90 Bug 1150608 Do not reuse CacheId values within an origin. r=ehsan 2015-04-02 17:11:41 -07:00
Ehsan Akhgari
6a9cd1f8a1 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
03a382f926 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
dfd730a737 Bug 1147184 - Extend the tests for Cache.put; r=bkelly 2015-03-25 21:22:18 -04:00
Ben Kelly
d14e8a72ee Bug 1143192 Allow Context initialization to be cancelled. r=ehsan 2015-03-25 07:16:40 -07:00
Ehsan Akhgari
bd66175ba8 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
bda6ed59fd Bug 1146557 P1 Fix CacheStorage and Cache to QI to nsISupports correctly. r=ehsan 2015-03-24 07:34:17 -07:00
Ehsan Akhgari
ae4791f6c6 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
a64a695746 Bug 1146585 - Add a test for Cache.delete; r=bkelly 2015-03-24 10:32:01 -04:00
Ben Kelly
63c5aa9ca4 Bug 1142852 P2 Make Cache Action use non-threadsafe ref-counting. r=ehsan 2015-03-23 22:28:09 -04:00
Ben Kelly
ee3812d551 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
b0347ad52e Bug 1110487 P3 Cache should ensure Actions are finished before completing. r=ehsan 2015-03-23 22:23:45 -04:00
Ben Kelly
67f1c62b05 Bug 1110487 P2 Implement the nsIOfflineStorage interface in Cache. r=janv,ehsan 2015-03-16 07:10:36 -07:00
Ehsan Akhgari
e2d538b90b 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
660887271f Bug 1126819 - Part 2: Persist the Request.cache attribute in DOM Cache; r=bkelly 2015-03-23 15:46:58 -04:00
Daniel Holbert
40d06db594 Bug 1110814 followup: Add missing 'override' annotations to new methods in CacheParent. rs=ehsan 2015-03-22 10:33:56 -07:00
Ehsan Akhgari
55b54a13f0 Bug 1110814 follow-up: Fix a typo in order to fix the test failures 2015-03-22 10:35:29 -04:00
Ben Kelly
7fe87f9c51 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
d986820b12 Bug 1145792 - Add a test for the Cache.keys method; r=bkelly 2015-03-21 20:13:33 -04:00
Ehsan Akhgari
07650e2251 Bug 1145445 - Add a test for CacheStorage; r=bkelly 2015-03-21 20:11:24 -04:00
Ehsan Akhgari
55e8be4ca2 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
7f945cacd2 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
e9a5c75cb5 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
2ee2e1cfd2 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
3f494b3c92 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
5b475e23cf 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
33bb32f549 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
008fdfcf89 Bug 1143223 followup: Add MOZ_OVERRIDE annotation to ReadStream::Inner's refcounting macro. rs=ehsan 2015-03-21 00:17:49 -07:00
Ben Kelly
ce8a1fce33 Bug 1143223 - Teach Cache ReadStream not to AddRef() itself in its destructor. r=ehsan 2015-03-20 11:01:57 -07:00
Ryan VanderMeulen
119b851bd1 Backed out changeset fd0834bbfd3c (bug 1143223) for making test_mediaElementAudioSourceNodePassThrough.html almost perma-timeout on Android 4.0. 2015-03-20 17:03:27 -04:00
Ehsan Akhgari
732936d337 Bug 1144337 - Add tests to ensure that cacheName is only honored on CacheStorage, and not Cache; r=bkelly 2015-03-20 16:05:49 -04:00
Ben Kelly
108555b4f6 Bug 1143223 Teach Cache ReadStream not to AddRef() itself in its destructor. r=ehsan 2015-03-20 11:01:57 -07:00
Ehsan Akhgari
979f8dd627 Bug 1143222 - Put the DOM Cache tests in sequential mode again until we fix the rest of the intermittent failures; a=RyanVM 2015-03-19 17:08:02 -04:00
Ehsan Akhgari
bcb4223ee0 Bug 1145321 - Disconnect the CacheStorage object from its actor when it gets cycle collected; r=bkelly 2015-03-19 17:06:59 -04:00
Ehsan Akhgari
4190c7e4ae Bug 1143504 - Disconnect the Cache object from its actor when it gets cycle collected; r=bkelly 2015-03-19 17:06:57 -04:00
Boris Zbarsky
54c64f20a9 Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp.  The
rest of this diff was generated by running the following commands:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Ehsan Akhgari
bb3e413951 Bug 1144236 - Add tests for the ignoreMethod match mode in DOM cache; r=bkelly 2015-03-17 10:58:00 +01:00
Ehsan Akhgari
0804076238 Bug 1144214 - Fix DeleteOrphanedBodyAction so that it doesn't orphan cache files if the action is canceled; r=bkelly 2015-03-18 14:19:00 +01:00
Nigel Babu
e6c7a9380b Backed out changeset dd13fdf7b284 (bug 1144236) for bustage CLOSED TREE 2015-03-18 12:05:33 +05:30
Nigel Babu
fcc127ee9d Backed out changeset 96c20db25b6b (bug 1144214) for Android M4 bustage CLOSED TREE 2015-03-18 11:48:41 +05:30
Ehsan Akhgari
3f85829261 Bug 1144236 - Add tests for the ignoreMethod match mode in DOM cache; r=bkelly 2015-03-17 23:56:32 -04:00
Ehsan Akhgari
ff38a9b9ff Bug 1144214 - Fix DeleteOrphanedBodyAction so that it doesn't orphan cache files if the action is canceled; r=bkelly 2015-03-17 23:56:31 -04:00
Nikhil Marathe
b3e6fca016 Bug 1143155 - Filtered response stores internal response and allows access to headers. r=bkelly 2015-03-17 08:47:01 -07:00
Ehsan Akhgari
f06a3793f9 Bug 1143222 - Avoid dumping out extremely long response bodies to the mochitest log, and re-enable the newly added DOM cache tests to run both in seqential and parallel modes; r=bkelly
The test timeouts here are some form of bug 1141256, which causes the service
worker spawned in the parallel mode of the tests to never start up.  It turns
out that avoiding sending this huge message to the mochitest logger avoids the
issue on the infrastructure, so let's re-enable these tests.  Bug 1141256 still
needs to be investigated.
2015-03-17 16:51:57 -04:00
Daniel Holbert
2c24121797 Bug 1142841: Convert all nsRefPtr<nsIRunnable> to nsCOMPtr<nsIRunnable>. r=ehsan
This patch was generated by a script.  Here's the source of the script for
future reference:

find . \( -iname "*.cpp" -o -iname "*.h" \) | \
  xargs -n 1 sed -i "s/nsRefPtr<nsIRunnable>/nsCOMPtr<nsIRunnable>/g"
2015-03-17 09:29:17 -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
64f754d0c6 Bug 1143833 - Add tests for the ignoreSearch match mode in DOM cache; r=bkelly 2015-03-16 17:11:05 -04:00
Ehsan Akhgari
f5ee76fff8 Bug 1143820 - Add tests to ensure that the URL fragments are correctly ignored by the DOM Cache API; r=bkelly 2015-03-16 17:08:09 -04:00
Ehsan Akhgari
d54b1dad9e Bug 1143813 - Add tests for attempting to store a non-GET request in the DOM Cache; r=bkelly 2015-03-16 17:03:45 -04:00
Ehsan Akhgari
e9c57f7ec1 Bug 1143511 - Correct the usages of .catch() in DOM cache tests; r=bkelly
These tests used .catch() incorrectly, in a way that did not actually
guarantee that the promise is rejected, so in 3 cases the promise
resolved to known failure values (undefined or an empty array) and
this was not being caught as a test failure.

This patch fixes those three places, and also rewrites the .catch()
usage in another case to guarantee that the promise is indeed rejected.
2015-03-16 16:53:10 -04:00
Ehsan Akhgari
a0ece1177a Bug 1143219 - Add tests for passing an unknown request to match and matchAll; r=bkelly 2015-03-16 16:46:49 -04:00
Ehsan Akhgari
0d7e675647 Bug 1143193 - Run the tests for match and matchAll on both Request objects and string URLs; r=bkelly 2015-03-16 16:29:22 -04:00
Ryan VanderMeulen
18cf67168a Backed out changeset 734e81bff9f3 (bug 1110487) for intermittent e10s cache test crashes.
CLOSED TREE
2015-03-16 13:51:33 -04:00
Ben Kelly
f31988b010 Bug 1110487 P2 Implement the nsIOfflineStorage interface in Cache. r=janv,ehsan 2015-03-16 07:10:36 -07:00
Ben Kelly
63df6ce78b Bug 1110487 P1 Fix some non-unified bustage before adding new code. r=ehsan 2015-03-16 07:10:36 -07:00
Ehsan Akhgari
1266bc5984 Bug 1143222 - Re-enable the newly added DOM cache test in sequential mode only for now 2015-03-15 17:53:50 -04:00
Ehsan Akhgari
7ce0b6bfb3 Bug 1143222 - Disable the newly added DOM cache tests for now because of intermittent failures
Landed on a CLOSED TREE
2015-03-13 19:23:34 -04:00
Ehsan Akhgari
529097953d Bug 1142790 - Add a test for passing Request objects to DOM cache matchAll method; r=bkelly 2015-03-13 19:21:16 -04:00
Ehsan Akhgari
f2a66701c9 Bug 1142269 - Auto-vacuum the DOM Cache database; r=bkelly
It's easiest if we use auto_vaccum for now.  In the future if this
proves to be insufficient we can look into more sophisticated
vacuuming strategies.
2015-03-13 19:21:13 -04:00
Wes Kocher
ea55c7410f Backed out changeset b8d2fd1bb7f5 (bug 1142269) for mochitest-1 timeouts CLOSED TREE 2015-03-13 16:02:18 -07:00
Wes Kocher
c48505930a Backed out changeset 1bd38b652695 (bug 1142790) for mochitest-1 timeouts CLOSED TREE 2015-03-13 16:02:08 -07:00
Ehsan Akhgari
5c8aa2057c Bug 1142790 - Add a test for passing Request objects to DOM cache matchAll method; r=bkelly 2015-03-13 14:40:33 -04:00
Ehsan Akhgari
97b8881fbf Bug 1142269 - Auto-vacuum the DOM Cache database; r=bkelly
It's easiest if we use auto_vaccum for now.  In the future if this
proves to be insufficient we can look into more sophisticated
vacuuming strategies.
2015-03-13 14:40:27 -04:00
Ehsan Akhgari
92ea15bb44 Bug 1133763 - Part 4: Store the response's security info in the cache database; r=bkelly 2015-03-13 14:37:19 -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
Ehsan Akhgari
c11ee2b83b Bug 1133763 - Part 2: Transfer the security info associated with an InternalResponse across the IPC layer; r=bkelly 2015-03-13 14:37:16 -04:00
Ehsan Akhgari
fe88009867 Bug 1142772 - Interleave the DOM Cache tests run through the mini-framework; r=bkelly
Here are the changes needed to achieve this:

* We tag each message posted to the framework with a context argument.
  context can be one of "Window", "Worker" or "ServiceWorker".  In the
  places where we handle messages, we only handle the ones corresponding
  to the context that we expect.
* We use Promise.all in order to interleave the execution of the tests.
  This has the nice property of actually getting the tests run
  simultaneously on multi-core machines.
* For ease of debugging test failures, we print the context from which
  each test message is coming from.
* In order for the tests that are run in parallel to not step on each
  other's toes, we introduce a global `context' variable that the test
  script can use to create names that do not clash with concurrent
  test runs.  For example, instead of `caches.open("foo")', one must now
  use: `caches.open("foo" + context)'.
* The existing tests are modified based on the above.
* When running the tests in parallel, the service worker may end up
  controlling both frame.html and message_receiver.html.  The hunk at
  the end of worker_wrapper.js is intended to ensure that we will
  always be communicating with message_receiver.html.
* An order argument has been added to runTests which can be set to
  "sequential" in order to run the tests in different contexts in
  parallel.  If the argument is omitted, the default is "parallel".
2015-03-13 14:32:02 -04:00
Ehsan Akhgari
3c6160ab8a Bug 1142333 - Add a test for passing Request objects to DOM cache match methods; r=bkelly 2015-03-13 14:28:24 -04:00
Ehsan Akhgari
3817356272 Bug 1142195 - Remove some unused class declarations in the DOM Cache code; r=bkelly 2015-03-11 16:46:15 -04:00
Ehsan Akhgari
da62127bf4 Bug 1140658 - Part 8: Disable the service worker part of these tests on b2g while bug 1137683 gets fixed; r=bkelly 2015-03-11 16:46:04 -04:00
Ben Kelly
a246c9c32f Bug 1140658 - Part 7: Close underlying file stream in ReadStream before reporting closed; r=ehsan 2015-03-11 16:45:35 -04:00
Ehsan Akhgari
83a61e3d40 Bug 1140658 - Part 6: Randomize the URL of the ServiceWorker script in order to work around bug 1141256 for now 2015-03-11 16:45:08 -04:00
Ehsan Akhgari
64ac3421d2 Bug 1140658 - Part 5: Remove test_cache_quick_close.html because it makes no sense after bug 1131353; r=bkelly 2015-03-11 16:45:06 -04:00
Ehsan Akhgari
03a8fa96f9 Bug 1140658 - Part 4: Port test_cache_add.html to the new mini-framework; r=bkelly 2015-03-11 16:45:05 -04:00
Ehsan Akhgari
c358837247 Bug 1140658 - Part 3: Port test_cache.html to the new mini-framework; r=bkelly 2015-03-11 16:45:03 -04:00
Ehsan Akhgari
426fd1214e Bug 1140658 - Part 2: Merge test_cache.js and test_cache_frame.html; r=bkelly 2015-03-11 16:45:01 -04:00
Ehsan Akhgari
f9599b5937 Bug 1140658 - Part 1: Create a mini-framework for running tests in the worker, service worker and window contexts; r=bkelly 2015-03-11 16:45:00 -04:00
Carsten "Tomcat" Book
465da5e174 Backed out changeset c96b6474bdac (bug 1140658) for m1 crashes 2015-03-10 09:01:47 +01:00
Carsten "Tomcat" Book
a69d22a4ab Backed out changeset 8827f51084f1 (bug 1140658) 2015-03-10 09:01:10 +01:00
Carsten "Tomcat" Book
eb79c742fc Backed out changeset 0438058b908a (bug 1140658) 2015-03-10 09:01:08 +01:00
Carsten "Tomcat" Book
a4680f38a0 Backed out changeset 2e62e8ce8c3e (bug 1140658) 2015-03-10 09:01:07 +01:00
Carsten "Tomcat" Book
41ffc16209 Backed out changeset f646f28b05d6 (bug 1140658) 2015-03-10 09:01:05 +01:00
Carsten "Tomcat" Book
da4674ff7e Backed out changeset 7d91550919d2 (bug 1140658) 2015-03-10 09:01:00 +01:00
Ehsan Akhgari
b28bca74c4 Bug 1140658 - Part 6: Randomize the URL of the ServiceWorker script in order to work around bug 1141256 for now 2015-03-09 22:03:27 -04:00
Ehsan Akhgari
6096612cba Bug 1140658 - Part 5: Remove test_cache_quick_close.html because it makes no sense after bug 1131353; r=bkelly 2015-03-09 22:03:27 -04:00
Ehsan Akhgari
671425dab3 Bug 1140658 - Part 4: Port test_cache_add.html to the new mini-framework; r=bkelly 2015-03-09 22:03:26 -04:00
Ehsan Akhgari
5d9585e9a8 Bug 1140658 - Part 3: Port test_cache.html to the new mini-framework; r=bkelly 2015-03-09 22:03:26 -04:00
Ehsan Akhgari
b4626b54f8 Bug 1140658 - Part 2: Merge test_cache.js and test_cache_frame.html; r=bkelly 2015-03-09 22:03:25 -04:00
Ehsan Akhgari
5cf074de16 Bug 1140658 - Part 1: Create a mini-framework for running tests in the worker, service worker and window contexts; r=bkelly 2015-03-09 22:03:25 -04:00
Nikhil Marathe
57039ce2c7 Bug 1133861 - Enable the Fetch API by default. r=jst 2015-02-22 01:52:10 -08:00
Ben Kelly
5a43c12edb Bug 1140051 Avoid Cache shutdown assert when Manager alive, but not active. r=ehsan 2015-03-06 13:39:05 -08:00
Ehsan Akhgari
f3ede7f37e Bug 1130452 - Remove support for the prefixMatch option in the service worker cache code; r=bkelly,baku 2015-03-06 08:19:31 -05:00
Ben Kelly
1bf8ddaeb5 Bug 1140065 Check for null actor before using it in CacheStorageChild::RecvOpenResponse(). r=ehsan 2015-03-05 16:31:21 -08:00
Daniel Holbert
4f86dc03df Bug 1139603: Add MOZ_OVERRIDE annotations in CacheParent.h and QuotaClient.cpp to fix clang -Winconsistent-missing-override. r=ehsan 2015-03-04 13:58:55 -08:00
Ben Kelly
d832ed5ce3 Bug 1138916 Fix Cache::MatchAll() assertion in WorkerFeature handling. r=baku 2015-03-04 06:14:25 -08:00
Ben Kelly
c497476203 Bug 940273 - Part 7 - Initial tests for Service Worker Cache. r=ehsan 2015-03-02 14:24:00 +01: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