Closed Bug 950254 Opened 12 years ago Closed 12 years ago

Context menu of urlbar doesn't get opened without a sleep(0) call in testAwesomeBar\testPasteLocationBar.js

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect)

All
Windows 7
defect
Not set
normal

Tracking

(firefox27 fixed, firefox28 fixed, firefox29 fixed, firefox30 fixed, firefox-esr24 fixed)

RESOLVED FIXED
Tracking Status
firefox27 --- fixed
firefox28 --- fixed
firefox29 --- fixed
firefox30 --- fixed
firefox-esr24 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

References

Details

(Whiteboard: [mozmill-test-failure][needs Mozmill 2.0.3 for final fix])

Attachments

(1 file)

Module: testAwesomeBar\testPasteLocationBar.js Test: testPasteLocationBar Failure: "Location bar should contain pasted clipboard content - got , expected ipsum " Branches: default, aurora, maybe others too Platforms: Windows The paste action fails even the location bar has been focused before.
Hm, adding a sleep(0) after opening the context menu fixes the issue permanently. Looks like we do not give the event loop enough time to handle the event.
This failure will be fixed with Mozmill 2.0.3.
Depends on: 950831
Most likely all branches will be affected here. I will come up with a workaround patch so we can run the tests immediately with Mozmill 2.0.2.
Summary: Test failure 'FAILURE' in testAwesomeBar\testPasteLocationBar.js → Test failure "Location bar should contain pasted clipboard content - got , expected ipsum " in testAwesomeBar\testPasteLocationBar.js
Summary: Test failure "Location bar should contain pasted clipboard content - got , expected ipsum " in testAwesomeBar\testPasteLocationBar.js → Context menu of urlbar doesn't get opened without a sleep(0) call in testAwesomeBar\testPasteLocationBar.js
Attached patch Patch v1Splinter Review
Attachment #8348773 - Flags: review?(andrei.eftimie)
Whiteboard: [mozmill-test-failure] → [mozmill-test-failure][needs Mozmill 2.0.3 for final fix]
Comment on attachment 8348773 [details] [diff] [review] Patch v1 Review of attachment 8348773 [details] [diff] [review]: ----------------------------------------------------------------- I'm not able to reproduce this failure at all. But this change is harmless enough otherwise. If this fixes the problem, lets get this in.
Attachment #8348773 - Flags: review?(andrei.eftimie) → review+
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: