зеркало из https://github.com/mozilla/gecko-dev.git
f3f80a0acf
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 |
||
---|---|---|
.. | ||
test | ||
Action.cpp | ||
Action.h | ||
ActorChild.cpp | ||
ActorChild.h | ||
ActorUtils.h | ||
AutoUtils.cpp | ||
AutoUtils.h | ||
Cache.cpp | ||
Cache.h | ||
CacheChild.cpp | ||
CacheChild.h | ||
CacheOpChild.cpp | ||
CacheOpChild.h | ||
CacheOpParent.cpp | ||
CacheOpParent.h | ||
CacheParent.cpp | ||
CacheParent.h | ||
CacheStorage.cpp | ||
CacheStorage.h | ||
CacheStorageChild.cpp | ||
CacheStorageChild.h | ||
CacheStorageParent.cpp | ||
CacheStorageParent.h | ||
CacheStreamControlChild.cpp | ||
CacheStreamControlChild.h | ||
CacheStreamControlParent.cpp | ||
CacheStreamControlParent.h | ||
CacheTypes.ipdlh | ||
CacheWorkerHolder.cpp | ||
CacheWorkerHolder.h | ||
Connection.cpp | ||
Connection.h | ||
Context.cpp | ||
Context.h | ||
DBAction.cpp | ||
DBAction.h | ||
DBSchema.cpp | ||
DBSchema.h | ||
FileUtils.cpp | ||
FileUtils.h | ||
IPCUtils.h | ||
Manager.cpp | ||
Manager.h | ||
ManagerId.cpp | ||
ManagerId.h | ||
PCache.ipdl | ||
PCacheOp.ipdl | ||
PCacheStorage.ipdl | ||
PCacheStreamControl.ipdl | ||
PrincipalVerifier.cpp | ||
PrincipalVerifier.h | ||
QuotaClient.cpp | ||
QuotaClient.h | ||
ReadStream.cpp | ||
ReadStream.h | ||
SavedTypes.h | ||
StreamControl.cpp | ||
StreamControl.h | ||
StreamList.cpp | ||
StreamList.h | ||
TypeUtils.cpp | ||
TypeUtils.h | ||
Types.h | ||
moz.build |