gecko-dev/dom/clients
Perry Jiang 4a333d538b Bug 1584007 - avoid race in ClientManagerService::FindSource r=asuth
This patch introduces the concept of a "future ClientSource" to the
ClientManagerService. A "future ClientSource" is registered/removed
from the ClientManagerService by
ClientManager::{Register,Forget}FutureClientSource and is required
when a ClientInfo is initially created without a backing ClientSource.

As a result, the ClientManagerService can distinguish between a
ClientSourceParent* that has yet to register itself with the
ClientManagerService and a ClientSourceParent* that has already
both registered and removed itself from the ClientManagerService.

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

--HG--
extra : moz-landing-system : lando
2019-10-02 10:13:26 +00:00
..
api Bug 927610 part 3. Stop using NS_ERROR_TYPE_ERR in serviceworker code. r=smaug 2019-09-24 16:53:28 +00:00
manager Bug 1584007 - avoid race in ClientManagerService::FindSource r=asuth 2019-10-02 10:13:26 +00:00
moz.build Bug 1293277 P4 Add Client and Clients DOM classes, but don't hook them into bindings yet. r=baku 2017-12-12 15:44:47 -05:00