Closed Bug 1808836 Opened 3 years ago Closed 3 years ago

C-C TB many warning lines: WARNING: 'event->mOriginalTarget != this', file /NEW-SSD/NREF-COMM-CENTRAL/mozilla/dom/xul/XULButtonElement.cpp:349

Categories

(Core :: XUL, enhancement)

x86_64
Linux
enhancement

Tracking

()

RESOLVED FIXED
110 Branch
Tracking Status
firefox110 --- fixed

People

(Reporter: ishikawa, Assigned: emilio)

References

Details

Attachments

(1 file)

I create a local binary of C-C TB DEBUG version for local testing.

I started to get many lines of the same warning when I run the TB binary.

[Parent 348217, Main Thread] WARNING: 'event->mOriginalTarget != this', file /NEW-SSD/NREF-COMM-CENTRAL/mozilla/dom/xul/XULButtonElement.cpp:349

I get 475 such warning lines for simply starting TB and receiving about 170 e-mail messages. That is a tad too excessive.

That comes from the following code: I see it was modified on Jan 4. So that is why I see them out of blue.
https://searchfox.org/mozilla-central/source/dom/xul/XULButtonElement.cpp#349

Now, TB may not be playing nicely with modified XUL. I have no idea.

This happens on firefox debug build - enable menubar, click on any of them and hover through different menu items. Every time the focus moves, a warning is generated. Menubar seems to behave as expected otherwise?

Flags: needinfo?(emilio)
See Also: → 1805414
Assignee: nobody → emilio
Flags: needinfo?(emilio)

This was useful when debugging the menu tests and so on, but the
condition is not unexpected nor rare and thus shouldn't warn.

(No review, trivial debug-only)

(In reply to Emilio Cobos Álvarez (:emilio) from comment #2)

Created attachment 9312104 [details]
Bug 1808836 - Remove noisy warning.

This was useful when debugging the menu tests and so on, but the
condition is not unexpected nor rare and thus shouldn't warn.

(No review, trivial debug-only)

Thank you for the quick fix!

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 110 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: