Closed
Bug 487489
Opened 14 years ago
Closed 14 years ago
browser_bug435788.js fails intermittently
Categories
(Toolkit Graveyard :: Plugin Finder Service, defect)
Toolkit Graveyard
Plugin Finder Service
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.9.2a1
People
(Reporter: mak, Assigned: mossop)
References
Details
(Keywords: fixed1.9.1, intermittent-failure)
Attachments
(1 file)
18.21 KB,
patch
|
robert.strong.bugs
:
review+
|
Details | Diff | Splinter Review |
i've seen this between random failures, i was unable to find a bug filed for it, in case there is one, feel free to dupe TEST-UNEXPECTED-FAIL | chrome://mochikit/content/browser/toolkit/mozapps/plugins/tests/browser_bug435788.js | Should have seen the right plugin name - Got Test extension 2 , expected Test extension 1 TEST-UNEXPECTED-FAIL | chrome://mochikit/content/browser/toolkit/mozapps/plugins/tests/browser_bug435788.js | Should have seen the right plugin name - Got Test extension 1 , expected Test extension 2 TEST-UNEXPECTED-FAIL | chrome://mochikit/content/browser/toolkit/mozapps/plugins/tests/browser_bug435788.js | Should have been a failed install - Got Failed, expected Installed TEST-UNEXPECTED-FAIL | chrome://mochikit/content/browser/toolkit/mozapps/plugins/tests/browser_bug435788.js | Should have been a failed install - Got Installed, expected Failed TEST-UNEXPECTED-FAIL | chrome://mochikit/content/browser/toolkit/mozapps/plugins/tests/browser_bug435788.js | Should have seen the right plugin name - Got Test extension 2 , expected Test extension 1 TEST-UNEXPECTED-FAIL | chrome://mochikit/content/browser/toolkit/mozapps/plugins/tests/browser_bug435788.js | Should have seen the right plugin name - Got Test extension 1 , expected Test extension 2 TEST-UNEXPECTED-FAIL | chrome://mochikit/content/browser/toolkit/mozapps/plugins/tests/browser_bug435788.js | Should have been a failed install - Got Failed, expected Installed TEST-UNEXPECTED-FAIL | chrome://mochikit/content/browser/toolkit/mozapps/plugins/tests/browser_bug435788.js | Should have been a failed install - Got Installed, expected Failed http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1239209673.1239217443.26718.gz http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1239187781.1239198623.18790.gz and others before.
Reporter | ||
Updated•14 years ago
|
Whiteboard: [orange]
Comment 1•14 years ago
|
||
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1239384241.1239390698.4966.gz OS X 10.5.2 mozilla-central unit test
Summary: browser_bug435788 fails intermittently → browser_bug435788.js fails intermittently
Comment 2•14 years ago
|
||
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1239611921.1239619069.18278.gz WINNT 5.2 mozilla-central unit test
Assignee | ||
Updated•14 years ago
|
Assignee: nobody → dtownsend
Assignee | ||
Updated•14 years ago
|
Assignee | ||
Comment 5•14 years ago
|
||
Instead of assuming the results will be in the order we expect, search for them in the list.
Attachment #373131 -
Flags: review?(robert.bugzilla)
![]() |
||
Updated•14 years ago
|
Attachment #373131 -
Flags: review?(robert.bugzilla) → review+
![]() |
||
Comment 6•14 years ago
|
||
Comment on attachment 373131 [details] [diff] [review] patch rev 1 >diff --git a/toolkit/mozapps/plugins/tests/browser_bug435788.js b/toolkit/mozapps/plugins/tests/browser_bug435788.js >--- a/toolkit/mozapps/plugins/tests/browser_bug435788.js >+++ b/toolkit/mozapps/plugins/tests/browser_bug435788.js >@@ -15,16 +15,58 @@ function test() { > prepare_test_1(); > } > > function finishTest(e) { > gPrefs.clearUserPref("pfs.datasource.url"); > finish(); > } > >+// Gets the number of plugin items in the detected list >+function getListCount() { >+ var list = gPFS.document.getElementById("pluginList"); >+ return list.childNodes.length; >+} >+ >+// Gets wether the list contains a particular plugin name >+function hasListItem(name, version) { >+ var label = name + " " + (version ? version : ""); >+ var list = gPFS.document.getElementById("pluginList"); >+ for (var i = 0; i < list.childNodes.length; i++) { >+ if (list.childNodes[i].label == label) >+ return true; >+ } >+ return false; >+} nit: does the label really have a space after the name when the version is null? If so, perhaps a followup bug to clean this up? How does this fix the Bug 487717 where there was a timeout? r=me
Assignee | ||
Comment 7•14 years ago
|
||
(In reply to comment #6) > nit: does the label really have a space after the name when the version is > null? If so, perhaps a followup bug to clean this up? Sadly yes, filed bug 488712 > How does this fix the Bug 487717 where there was a timeout? > > r=me Misread that, I'll reopen that and look into it further.
Comment 8•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/4835cb7c98cc
Comment 9•14 years ago
|
||
Still a problem :( http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1239909831.1239917951.4166.gz&fulltext=1 WINNT 5.2 mozilla-central unit test on 2009/04/16 12:23:51
Assignee | ||
Comment 10•14 years ago
|
||
(In reply to comment #9) > Still a problem :( > > http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1239909831.1239917951.4166.gz&fulltext=1 > WINNT 5.2 mozilla-central unit test on 2009/04/16 12:23:51 This is just bustage from bug 480427 that has since had a fix landed.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 11•14 years ago
|
||
Landed on the branch: http://hg.mozilla.org/releases/mozilla-1.9.1/rev/a0622a816df8
Keywords: fixed1.9.1
Comment 12•14 years ago
|
||
Hopefully, this will fix Linux SeaMonkey which had this bug almost constantly since http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey/1242160999.1242168904.2949.gz Linux comm-central unit test on 2009/05/12 13:43:19
Updated•14 years ago
|
Flags: in-testsuite+
Target Milestone: --- → mozilla1.9.2a1
Updated•11 years ago
|
Keywords: intermittent-failure
Updated•11 years ago
|
Whiteboard: [orange]
Updated•9 years ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•