Closed
Bug 648882
Opened 14 years ago
Closed 14 years ago
TabPriorityQueue updates tabItems when UI is busy
Categories
(Firefox Graveyard :: Panorama, defect)
Firefox Graveyard
Panorama
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 6
People
(Reporter: ttaubert, Assigned: ttaubert)
Details
Attachments
(1 file, 9 obsolete files)
2.74 KB,
patch
|
Details | Diff | Splinter Review |
The condition is now:
if (this.isPaintingPaused() || !UI.isIdle)
and should be:
if (this.isPaintingPaused() || !UI.isIdle())
We should add a test to verify that no tabItem updates are done when resizing or moving items.
Assignee | ||
Updated•14 years ago
|
Summary: TabPriorityQueue updates when UI is busy → TabPriorityQueue updates tabItems when UI is busy
Assignee | ||
Comment 1•14 years ago
|
||
Attachment #524979 -
Flags: feedback?(raymond)
Comment 2•14 years ago
|
||
Comment on attachment 524979 [details] [diff] [review]
patch v1
+ EventUtils.synthesizeMouse(container, 5, 5, {type: "mousedown"}, cw);
+ EventUtils.synthesizeMouse(container, 40, 20, {type: "mousemove"}, cw);
+ EventUtils.synthesizeMouse(container, 20, 20, {type: "mouseup"}, cw);
The above repeats twice, might be good to write a helper function.
f+
Attachment #524979 -
Flags: feedback?(raymond) → feedback+
Assignee | ||
Comment 3•14 years ago
|
||
Comment on attachment 524979 [details] [diff] [review]
patch v1
Passed try:
http://tbpl.mozilla.org/?tree=MozillaTry&pusher=tim.taubert@gmx.de&rev=20df3dc1f2fd
Assignee | ||
Comment 4•14 years ago
|
||
Attachment #524979 -
Attachment is obsolete: true
Attachment #525095 -
Flags: review?(ian)
Comment 5•14 years ago
|
||
Comment on attachment 525095 [details] [diff] [review]
patch v2
That's a pretty slick test :)
Attachment #525095 -
Flags: review?(ian) → review+
Assignee | ||
Comment 6•14 years ago
|
||
Attachment #525095 -
Attachment is obsolete: true
Assignee | ||
Updated•14 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 7•14 years ago
|
||
Attachment #525923 -
Attachment is obsolete: true
Comment 8•14 years ago
|
||
Flags: in-testsuite+
Keywords: checkin-needed
Whiteboard: fixed-in-cedar
Target Milestone: --- → Firefox 6
Comment 9•14 years ago
|
||
The test added by this patch went orange: <http://tinderbox.mozilla.org/showlog.cgi?log=Cedar/1302807869.1302809327.10302.gz> so I backed it out: <http://hg.mozilla.org/projects/cedar/rev/53339e6932c3>
Whiteboard: fixed-in-cedar
Assignee | ||
Comment 10•14 years ago
|
||
Added another test for another issue fixed with this patch.
Attachment #525983 -
Attachment is obsolete: true
Attachment #526118 -
Flags: feedback?(raymond)
Comment 11•14 years ago
|
||
Comment on attachment 526118 [details] [diff] [review]
patch v3
Looks good. Can we merge two tests file into one?
Attachment #526118 -
Flags: feedback?(raymond) → feedback+
Assignee | ||
Comment 12•14 years ago
|
||
(In reply to comment #11)
> Looks good. Can we merge two tests file into one?
Of course, don't know why I split them :)
Attachment #526118 -
Attachment is obsolete: true
Attachment #526179 -
Flags: review?(ian)
Assignee | ||
Comment 13•14 years ago
|
||
Comment on attachment 526179 [details] [diff] [review]
patch v4
Failed on OSX opt:
http://tinderbox.mozilla.org/showlog.cgi?log=MozillaTry/1302848610.1302854494.9835.gz
Investigating.
Assignee | ||
Comment 14•14 years ago
|
||
Attachment #526179 -
Attachment is obsolete: true
Attachment #526179 -
Flags: review?(ian)
Attachment #526333 -
Flags: review?(ian)
Assignee | ||
Comment 15•14 years ago
|
||
Comment on attachment 526333 [details] [diff] [review]
patch v5
Passed try:
http://tbpl.mozilla.org/?tree=MozillaTry&pusher=tim.taubert@gmx.de&rev=c04433b1ca25
Comment 16•14 years ago
|
||
Comment on attachment 526333 [details] [diff] [review]
patch v5
Looks good.
Attachment #526333 -
Flags: review?(ian) → review+
Assignee | ||
Comment 17•14 years ago
|
||
Attachment #526333 -
Attachment is obsolete: true
Assignee | ||
Updated•14 years ago
|
Keywords: checkin-needed
Updated•14 years ago
|
Keywords: checkin-needed
Whiteboard: [fixed in cedar]
Comment 18•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [fixed in cedar]
Comment 19•14 years ago
|
||
The test if failing: http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1303305581.1303307355.28425.gz
I've made a backout: http://hg.mozilla.org/mozilla-central/rev/347ea6f52589
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 20•14 years ago
|
||
You should not use setTimeout(func, value) with value>0 if you do not want your test to be flaky.
Assignee | ||
Comment 21•14 years ago
|
||
(In reply to comment #20)
> You should not use setTimeout(func, value) with value>0 if you do not want your
> test to be flaky.
Good to know, removed.
Attachment #527023 -
Attachment is obsolete: true
Attachment #527343 -
Flags: feedback?(raymond)
Comment 22•14 years ago
|
||
Comment on attachment 527343 [details] [diff] [review]
patch v6 (without setTimeout)
Looks good
Attachment #527343 -
Flags: feedback?(raymond) → feedback+
Assignee | ||
Updated•14 years ago
|
Attachment #527343 -
Flags: review?(ian)
Assignee | ||
Comment 23•14 years ago
|
||
Comment on attachment 527343 [details] [diff] [review]
patch v6 (without setTimeout)
Passed try:
http://tbpl.mozilla.org/?tree=MozillaTry&pusher=tim.taubert@gmx.de&rev=43fe3397f7a0
Comment 24•14 years ago
|
||
Comment on attachment 527343 [details] [diff] [review]
patch v6 (without setTimeout)
Review of attachment 527343 [details] [diff] [review]:
Very clever :)
Attachment #527343 -
Flags: review?(ian) → review+
Assignee | ||
Comment 25•14 years ago
|
||
Attachment #527343 -
Attachment is obsolete: true
Assignee | ||
Updated•14 years ago
|
Keywords: checkin-needed
Updated•14 years ago
|
Keywords: checkin-needed
Whiteboard: [fixed in cedar]
Comment 26•14 years ago
|
||
Pushed:
http://hg.mozilla.org/mozilla-central/rev/4e7e81ad7525
Thank you for fixing the random orange Tim :)
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
Whiteboard: [fixed in cedar]
Updated•9 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•