fix stupid reftest failure on Win64
authorTed Mielczarek <ted.mielczarek@gmail.com>
Wed, 23 Jun 2010 14:06:15 -0400
changeset 44197 3c68794f1ade6bb3593083a62fe85e18e987a96b
parent 44196 f572a9ab898ef5bba2618c42f9dfd19a712c0964
child 44198 b6e39cfd9dcf215b55214ff0472241565c91a876
push id14023
push usertmielczarek@mozilla.com
push dateWed, 23 Jun 2010 18:06:29 +0000
treeherdermozilla-central@3c68794f1ade [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone1.9.3a6pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
fix stupid reftest failure on Win64
layout/reftests/reftest-sanity/reftest.list
--- a/layout/reftests/reftest-sanity/reftest.list
+++ b/layout/reftests/reftest-sanity/reftest.list
@@ -40,17 +40,17 @@ HTTP(..) == filter-1.xhtml filter-1-ref.
 HTTP(..) == filter-2.xhtml filter-2-ref.xhtml
 
 # test that the MozReftestInvalidate event fires
 == invalidation.html about:blank
 == zoom-invalidation.html zoom-invalidation-ref.html
 
 # test that xulRuntime.OS works
 fails-if(xulRuntime.OS!="Linux") == data:text/html,<body>Linux data:text/html,<script>document.write(navigator.platform.substr(0,5))</script>
-fails-if(xulRuntime.OS!="WINNT") == data:text/html,<body>Win32 data:text/html,<script>document.write(navigator.platform)</script>
+fails-if(xulRuntime.OS!="WINNT") == data:text/html,<body>Win data:text/html,<script>document.write(navigator.platform.substr(0,3))</script>
 fails-if(xulRuntime.OS!="Darwin") == data:text/html,<body>Mac data:text/html,<script>document.write(navigator.platform.substr(0,3))</script>
 
 # test parsing of asserts() expressions
 asserts(0) load about:blank
 asserts(0-5) load about:blank
 asserts-if(true,0) load about:blank
 asserts-if(false,7) load about:blank
 asserts-if(true,0-4) load about:blank