Closed Bug 939084 Opened 11 years ago Closed 10 years ago

Intermittent browser_social_chatwindow_resize.js | 10: correct number of chats visible - Got 2, expected 1

Categories

(Firefox Graveyard :: SocialAPI, defect)

x86
Linux
defect
Not set
normal

Tracking

(firefox27 fixed, firefox28 fixed, firefox29 fixed, firefox-esr24 fixed, b2g-v1.2 fixed, b2g-v1.3 fixed)

RESOLVED FIXED
Firefox 29
Tracking Status
firefox27 --- fixed
firefox28 --- fixed
firefox29 --- fixed
firefox-esr24 --- fixed
b2g-v1.2 --- fixed
b2g-v1.3 --- fixed

People

(Reporter: RyanVM, Assigned: smaug)

References

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

https://tbpl.mozilla.org/php/getParsedLog.php?id=30587777&tree=B2g-Inbound

Rev3 Fedora 12 b2g-inbound debug test mochitest-browser-chrome on 2013-11-14 21:32:13 PST for push a28dff85006e
slave: talos-r3-fed-060

21:55:44     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/base/content/test/social/browser_social_chatwindow_resize.js | << Check 10: second not showing by 2 pixelx (including popup) - only 1 exposed.
21:55:44     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/base/content/test/social/browser_social_chatwindow_resize.js | 10: resizing window to 540, expect 1 visible items
21:55:44     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/base/content/test/social/browser_social_chatwindow_resize.js | 10: resizing window so chat area is 540 wide, currently it is 517.5.  Screen avail is 1600, current outer width is 731
21:55:44     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/base/content/test/social/browser_social_chatwindow_resize.js | 10: resized window width is 539.5
21:55:44     INFO -  TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/social/browser_social_chatwindow_resize.js | open chat has no menu item
21:55:44     INFO -  TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/social/browser_social_chatwindow_resize.js | collapsed chat has a menu item
21:55:44     INFO -  TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/social/browser_social_chatwindow_resize.js | open chat has no menu item
21:55:44     INFO -  TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/social/browser_social_chatwindow_resize.js | popup matches child collapsed state
21:55:44     INFO -  TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/social/browser_social_chatwindow_resize.js | popup has correct count of children
21:55:44     INFO -  TEST-PASS | chrome://mochitests/content/browser/browser/base/content/test/social/browser_social_chatwindow_resize.js | 10: window resized correctly
21:55:44  WARNING -  TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/social/browser_social_chatwindow_resize.js | 10: correct number of chats visible - Got 2, expected 1
21:55:44     INFO -  Stack trace:
21:55:44     INFO -      JS frame :: chrome://mochikit/content/browser-test.js :: test_is :: line 638
21:55:44     INFO -      JS frame :: chrome://mochitests/content/browser/browser/base/content/test/social/head.js :: <TOP_LEVEL> :: line 560
21:55:44     INFO -      JS frame :: chrome://mochitests/content/browser/browser/base/content/test/social/head.js :: <TOP_LEVEL> :: line 538
21:55:44     INFO -      JS frame :: chrome://mochikit/content/browser-test.js :: <TOP_LEVEL> :: line 667
21:55:44     INFO -      native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0
21:55:44     INFO -  TEST-INFO | chrome://mochitests/content/browser/browser/base/content/test/social/browser_social_chatwindow_resize.js | >> Check 10
Looks like a racy test, which bug 930793 makes perma-orange.
Assignee: nobody → bugs
Blocks: 930793
Attached patch possible patchSplinter Review
Fixes the issue locally by forcing us to wait until we're in the expected state
before continuing.
Other option which worked was timers, but MutationObserver should be nicer.

https://tbpl.mozilla.org/?tree=Try&rev=cb76078b2e05
Attachment #8344957 - Flags: review?(felipc)
Attachment #8344957 - Flags: review?(felipc) → review+
https://hg.mozilla.org/mozilla-central/rev/1c4a94fd257d
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 29
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: