Bug 1711703: Ensure we split stacks before errors after warnings. r=dom-storage-reviewers,janv DONTBUILD

Differential Revision: https://phabricator.services.mozilla.com/D116614
This commit is contained in:
Jens Stutte 2021-06-03 17:15:51 +00:00
Родитель e6cefd8df1
Коммит c306a7c001
1 изменённых файлов: 4 добавлений и 0 удалений

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

@ -145,6 +145,10 @@ def collectTopmostFrames(rows):
if seq == 1 or cid != prev_cid or sid != prev_sid or ctx != prev_ctx:
addTopmostFrame(row)
after_severity_downgrade = False
# We do not expect a non-error to be ever upgraded to an error
elif sev == "ERROR" and prev_sev != "ERROR":
addTopmostFrame(row)
after_severity_downgrade = False
# If we just had a severity downgrade, we assume that we wanted
# to break the error propagation after this point and split, too
elif after_severity_downgrade: