At the moment, the spec says that we should get the browsing context info with maxDepth = 0, which means that we should omit children. But since we want to send only one event in case of removing the whole tree of contexts, wouldn't it maybe be useful for the clients to have then information about removed children in the event, since there will be no separate event for the child contexts? Otherwise, I guess the clients would have to keep the tree of browsing contexts in the memory to know which child contexts should be removed (but maybe they have to do it anyway).
At the moment, the spec says that we should get the browsing context info with
maxDepth = 0
, which means that we should omit children. But since we want to send only one event in case of removing the whole tree of contexts, wouldn't it maybe be useful for the clients to have then information about removed children in the event, since there will be no separate event for the child contexts? Otherwise, I guess the clients would have to keep the tree of browsing contexts in the memory to know which child contexts should be removed (but maybe they have to do it anyway).