layout/reftests/reftest-sanity/reftest.list
author Chris Jones <jones.chris.g@gmail.com>
Thu, 03 Feb 2011 13:54:10 -0600
changeset 61873 c1523d3f78410892b1750d98e414171ca4793fe3
parent 47176 d9bdf56a7fedaf50529ccc5101dfa5fab0b05683
child 62218 1bb9a9e0348326c5c23d790eec91130936cc0668
permissions -rw-r--r--
Rollup of bug 615386, parts 1-6. Teach the reftest harness about <browser remote>. r=dbaron,roc,ted a=a

== data:text/html,<body> about:blank
== data:text/plain, about:blank
!= data:text/plain,HELLO about:blank

# these tests make sure async reftests work:
== test-async.xul test-async-ref.xul
== test-async.html test-async-ref.html

# test that zoom works (and really zooms, not just scales)
== test-zoom.html test-zoom-ref.html

# make sure we don't fall over if the root is missing
== no-root.html about:blank

# Makes sure that the file: protocol handler and HTTP server both
# choose HTML vs. XHTML processing based on the file extensions.
!= html-vs-xhtml-by-extension.html html-vs-xhtml-by-extension.xhtml
HTTP != html-vs-xhtml-by-extension.html html-vs-xhtml-by-extension.xhtml

# make sure red and green colors are not the default and are different from
# each other
!= green.html default.html
!= green.html red.html
!= red.html default.html

# Make sure about:blank works, even via HTTP.
== blank.html about:blank
== about:blank blank.html
HTTP == blank.html about:blank
HTTP == about:blank blank.html
# same for data:
== default.html data:text/html,<div>Text</div>
== data:text/html,<div>Text</div> default.html
HTTP == default.html data:text/html,<div>Text</div>
HTTP == data:text/html,<div>Text</div> default.html
!= blank.html default.html
HTTP != blank.html default.html

HTTP(..) == filter-1.xhtml filter-1-ref.xhtml
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>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
asserts-if(false,6-8) load about:blank

# test that <div> is display:block
== div.html div-ref.html

# test script keyword
include scripttests.list

# test url-prefix
include urlprefixtests.list

# test that all corners are visible
!= corners-1.html corners-1-ref.html
!= corners-2.html corners-2-ref.html
!= corners-3.html corners-3-ref.html
!= corners-4.html corners-4-ref.html

# Test that the harness gives the correct page dimensions.
!= page-width-3.9in.html page-width-4in.html
== page-width-4.1in.html page-width-4in.html
== page-width-auto.html page-width-4in.html
!= page-height-2in.html page-height-2.1in.html
== page-height-2in.html page-height-nobreak.html
== page-height-2.1in.html page-height-forcebreak.html

# Check that tests that need focus are skipped when it's not available
needs-focus load needs-focus.html