Closed Bug 1261738 Opened 8 years ago Closed 8 years ago

Too many "FX_TAB_SWITCH_TOTAL_MS was already initialized" errors in tests

Categories

(Core :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla48
Tracking Status
firefox48 --- fixed

People

(Reporter: kmag, Assigned: kmag)

References

Details

Attachments

(1 file)

When tests trigger tab switches in quick succession, we wind up with a lot of overlapping tab switch stopwatches, and the resulting floods of errors make test output extremely difficult to deal with.
Comment on attachment 8737668 [details]
MozReview Request: Bug 1261738: Try to avoid overlapping FX_TAB_SWITCH_TOTAL_MS stopwatches. r?mconley

https://reviewboard.mozilla.org/r/44061/#review40813

LGTM - thanks for plugging that. :)

::: browser/base/content/tabbrowser.xml:1020
(Diff revision 1)
>            <![CDATA[
>              this.ownerDocument.title = this.getWindowTitleForBrowser(this.mCurrentBrowser);
>            ]]>
>          </body>
>        </method>
>  

Mind adding a quick comment here explaining what this is being used for?
Attachment #8737668 - Flags: review?(mconley) → review+
https://reviewboard.mozilla.org/r/44061/#review40813

> Mind adding a quick comment here explaining what this is being used for?

Sure.
https://hg.mozilla.org/integration/fx-team/rev/99272d590c8ff6925f7b9c2471be88b0ba373174
Bug 1261738: Try to avoid overlapping FX_TAB_SWITCH_TOTAL_MS stopwatches. r=mconley
https://hg.mozilla.org/mozilla-central/rev/99272d590c8f
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: