Bug 1565927 - Default FrameCrashedEvent's isTopFrame to true if never set. r=nika

This is the safer assumption, since we normally skip setting isTopFrame
explicitly if no BrowsingContext exists (which is the case if, for example,
the crash is due to the fact that creating the top-level browser failed).

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

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Mike Conley 2019-07-17 01:50:04 +00:00
Родитель 8fb21424fa
Коммит 6d1794690b
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -21,5 +21,5 @@ interface FrameCrashedEvent : Event
dictionary FrameCrashedEventInit : EventInit
{
unsigned long long browsingContextId = 0;
boolean isTopFrame = false;
boolean isTopFrame = true;
};