gecko-dev/dom/cache
Jim Blandy f3f80a0acf Bug 1426467: Part 2: Give the weak reference in test_cache_worker_gc.html more time to decay. r=baku
Certain runnables sent from the worker to the content window must be delayed if
the content is paused in the JavaScript debugger. For example, delivering
onmessage events while stopped at a breakpoint would violate the DOM's
run-to-completion rule.

However, other sorts of runnables must be delivered promptly if the worker is
continue to function properly. Thus, the later patches in this bug that
implement the delay for the debugger may, in general, reorder the delivery of
some runnables. So whereas previously runnables sent from the worker to the main
thread could simply assert that the worker was still alive, delayed runnables
will now need to use a WorkerRef to hold the worker alive until they are
processed.

This affects the timing with which weak references to workers decay. Since there
is no solid way to test such GC-sensitive APIs, this patch simply requests a
second GC. This is not guaranteed to pass, but then again, the test as it stands
is not guaranteed to pass either.

Depends on D9217

Differential Revision: https://phabricator.services.mozilla.com/D9218

--HG--
extra : moz-landing-system : lando
2018-10-22 15:35:32 +00:00
..
test Bug 1426467: Part 2: Give the weak reference in test_cache_worker_gc.html more time to decay. r=baku 2018-10-22 15:35:32 +00:00
Action.cpp
Action.h
ActorChild.cpp
ActorChild.h
ActorUtils.h
AutoUtils.cpp
AutoUtils.h
Cache.cpp Bug 1385890 - Fix Streams implementation in multiple-global uses. r=baku,tcampbell,jorendorff 2018-10-11 14:18:43 -05:00
Cache.h
CacheChild.cpp
CacheChild.h
CacheOpChild.cpp
CacheOpChild.h
CacheOpParent.cpp
CacheOpParent.h
CacheParent.cpp
CacheParent.h
CacheStorage.cpp Bug 1489844 - Port DOMPrefs to StaticPrefs - part 9 - dom.serviceWorkers.testing.enabled, r=ehsan 2018-09-10 20:36:16 +02:00
CacheStorage.h Bug 1469993 - Grant storage access to a 3rd party, tracking resource if a opened document has user-interaction - part 6 - DOM cache, r=ehsan 2018-07-10 10:09:59 +02:00
CacheStorageChild.cpp
CacheStorageChild.h
CacheStorageParent.cpp
CacheStorageParent.h
CacheStreamControlChild.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
CacheStreamControlChild.h
CacheStreamControlParent.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
CacheStreamControlParent.h
CacheTypes.ipdlh
CacheWorkerHolder.cpp Bug 1471189 - Removing 'Terminating' state in workers, r=mrbkap 2018-07-12 19:33:41 +02:00
CacheWorkerHolder.h
Connection.cpp Bug 1435446 - Add a default transaction type for storage connections. r=mak 2018-02-28 22:44:40 -08:00
Connection.h
Context.cpp
Context.h
DBAction.cpp
DBAction.h
DBSchema.cpp Bug 1444151 - Part 4: Remove the now-unnecessary xpcom-style segment getters, r=valentin 2018-04-10 17:49:50 -04:00
DBSchema.h
FileUtils.cpp Bug 1361330 - Part 1: Make quota stream constructors public and move the Create() helpers outside of the stream classes; r=asuth 2018-08-20 14:32:33 +02:00
FileUtils.h
IPCUtils.h
Manager.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
Manager.h
ManagerId.cpp
ManagerId.h
PCache.ipdl
PCacheOp.ipdl
PCacheStorage.ipdl
PCacheStreamControl.ipdl Bug 1443954 - Part 3: Add support for RefCounted types to IPDL, r=bz,froydnj,baku 2018-04-10 17:49:48 -04:00
PrincipalVerifier.cpp
PrincipalVerifier.h
QuotaClient.cpp Bug 1462937: Update callers to use nsIFile::GetDirectoryEntries as a nsIDirectoryEnumerator. r=froydnj 2018-05-19 20:17:45 -07:00
QuotaClient.h
ReadStream.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
ReadStream.h
SavedTypes.h Bug 1453795 - DOM - Initialize member fields in classes/ structures. r=peterv 2018-06-16 17:21:46 +03:00
StreamControl.cpp
StreamControl.h
StreamList.cpp Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
StreamList.h Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
TypeUtils.cpp Backed out changeset e18103445f9e (bug 1484524) on request from pascalc 2018-10-17 13:56:38 +03:00
TypeUtils.h
Types.h
moz.build