Disable bug 419403 test on windows. r=sdwilsh

This commit is contained in:
edward.lee@engineering.uiuc.edu 2008-02-26 11:19:39 -08:00
parent 39881a7032
commit 01da77c778
2 changed files with 9 additions and 4 deletions

View File

@ -53,7 +53,6 @@ _BROWSER_FILES = \
browser_bug_413985.js \
browser_bug_416303.js \
browser_bug_406857.js \
browser_multiword_search.js \
$(NULL)
ifneq (,$(filter cocoa, $(MOZ_WIDGET_TOOLKIT)))
@ -62,5 +61,11 @@ _BROWSER_FILES += \
$(NULL)
endif
ifneq ($(OS_ARCH), WINNT)
_BROWSER_FILES += \
browser_multiword_search.js \
$(NULL)
endif
libs:: $(_BROWSER_FILES)
$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/browser/$(relativesrcdir)

View File

@ -108,14 +108,14 @@ function test()
// Next phase eventually checks for two downloads
testPhase++;
return doTest();
default:
case 1:
// List is being populated
ok(downloadView.itemCount > 0, "Search found something");
// Actually check for the two downloads
testPhase++;
return doTest();
case 4:
case 2:
// Done populating the two items
ok(downloadView.itemCount == 2, "Search matched both downloads");
@ -126,7 +126,7 @@ function test()
// Next phase checks for a single item
testPhase++;
return doTest();
case 5:
case 3:
// Done populating the one result
ok(downloadView.itemCount == 1, "Found the single download");