Open Bug 661923 Opened 14 years ago Updated 3 years ago

Warning spam when dismissing alert with 'esc': "WARNING: NS_ENSURE_TRUE(parentDocShell && treeItem != parentTreeItem) failed" & "WARNING: NS_ENSURE_TRUE(parentPresShell) failed:"

Categories

(Core :: Layout, defect)

defect

Tracking

()

People

(Reporter: dholbert, Unassigned)

Details

Attachments

(1 file)

Attached file testcase
STEPS TO REPRODUCE: 1. Load attached testcase in debug build. 2. Click testcase. 3. Hit Esc to cancel each alert. ACTUAL RESULTS: These two warnings are spammed to terminal, when the second and third alerts appear: { WARNING: NS_ENSURE_TRUE(parentDocShell && treeItem != parentTreeItem) failed: file layout/base/nsPresShell.cpp, line 6405 WARNING: NS_ENSURE_TRUE(parentPresShell) failed: file layout/base/nsPresShell.cpp, line 6423 } Basically, it looks like we spam those warnings whenever one alert is canceled with Esc and another alert immediately replaces it. Not sure at this point if these warnings actually indicate of something bad/unexpected. If so, we should fix it. If not, we should handle this condition in a less spammy way.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: