Closed Bug 467209 Opened 17 years ago Closed 17 years ago

Make browser_customize.js not be RANDOM (currently passes frequently)

Categories

(Firefox :: Bookmarks & History, defect)

All
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 3.1b3

People

(Reporter: Callek, Assigned: Callek)

References

()

Details

(Keywords: fixed1.9.1)

Attachments

(1 file, 3 obsolete files)

Attached patch fix (obsolete) — Splinter Review
With Neil's checkin of Bug 407725 this test frequently was timing out. It is/was expected that Neil's patch had some perf impact (on the positive side) that could have affected the load events timing here. I suspect this change will fix that. As I do not have a mac, I am unable to test this, but sdwilsh did some prelim testing and verified that (at least with Neil's patch from 407725) this does in fact seem random to him locally. He will test with this patch at some point tomorrow (sunday)
Attachment #350624 - Flags: review?(mano)
Attached patch v1.1 fix (obsolete) — Splinter Review
hmm, found another mini-race condition...
Assignee: nobody → bugspam.Callek
Attachment #350624 - Attachment is obsolete: true
Attachment #350626 - Flags: review?(mano)
Attachment #350624 - Flags: review?(mano)
Attachment #350626 - Flags: review?(mano) → review+
Comment on attachment 350626 [details] [diff] [review] v1.1 fix testing failed :/ working with gavin to come up with something that actually works.
Attachment #350626 - Flags: review-
Attached patch v2 fix (obsolete) — Splinter Review
Thanks very much to stefanh (not sdwilsh as c#0 suggests ;-) ) for his testing earlier today. And even more of a thanks to gavin for testing numerous iterations just now, until I got something that seems to work. re-requesting review one last time (hopefully)
Attachment #350626 - Attachment is obsolete: true
Attachment #350704 - Flags: review?(gavin.sharp)
Attached patch v2.1 fixSplinter Review
+ remove a now unused event listener
Attachment #350704 - Attachment is obsolete: true
Attachment #350717 - Flags: review?(gavin.sharp)
Attachment #350704 - Flags: review?(gavin.sharp)
Comment on attachment 350717 [details] [diff] [review] v2.1 fix >diff --git a/browser/base/content/test/browser_customize.js b/browser/base/content/test/browser_customize.js >+function testCustomizeFrameLoadedPre(){ >+ executeSoon(testCustomizeFrameLoaded); Please add a comment along the lines of: // This load listener can be called before // customizeToolbarSheet.xul's, which would cause the test // to fail. Use executeSoon to delay running the test until // event dispatch is over (all load event listeners have run).
Attachment #350717 - Flags: review?(gavin.sharp) → review+
Status: NEW → RESOLVED
Closed: 17 years ago
Keywords: fixed1.9.1
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.1b3
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h". In Thunderbird 3.0b, you do that as follows: Tools | Message Filters Make sure the correct account is selected. Click "New" Conditions: Body contains places-to-b-and-h Change the action to "Delete Message". Select "Manually Run" from the dropdown at the top. Click OK. Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter. Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: