зеркало из https://github.com/mozilla/gecko-dev.git
169 строки
8.4 KiB
Plaintext
169 строки
8.4 KiB
Plaintext
== data:text/html,<body> about:blank
|
|||
== data:text/plain, about:blank
|
|||
!= data:text/plain,HELLO about:blank
|
|||
|
|||
# these tests make sure async reftests work:
|
|||
|
skip-if(B2G) == test-async.xul test-async-ref.xul # bug 785074
|
||
skip-if(B2G) == test-async.html test-async-ref.html # bug 785074
|
|||
|
|
||
|
# 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 about:blank work correctly as a reference for reftests served over HTTP. (Bug 457821) r=jwalden
|
|
||
# 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
|
|||
|
|||
|
skip-if(B2G) HTTP(..) == filter-1.xhtml filter-1-ref.xhtml
|
||
skip-if(B2G) HTTP(..) == filter-2.xhtml filter-2-ref.xhtml # bug 773482
|
|||
|
|||
# test that the MozReftestInvalidate event fires
|
|||
== invalidation.html about:blank
|
|||
|
== zoom-invalidation.html zoom-invalidation-ref.html # bug 773482
|
||
|
|||
|
# test that xulRuntime.OS works
|
||
|
skip-if(B2G||B2GDT) fails-if(xulRuntime.OS!="Linux"&&!Android) == 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 default-preferences
|
||
include default-preferences-tests.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
|
|||
|
skip-if(B2G||B2GDT) == page-width-4.1in.html page-width-4in.html # bug 774396
|
||
skip-if(B2G||B2GDT) == page-width-auto.html page-width-4in.html # bug 774396
|
|||
skip-if(B2G||B2GDT) != page-height-2in.html page-height-2.1in.html # bug 774396
|
|||
|
== 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
|
|||
|
|
||
# Bug 632636
|
|||
fails == data:text/plain,HELLO about:blank
|
|||
needs-focus == data:text/plain, about:blank
|
|||
|
|
||
# Sanity check of viewport+displayport overrides
|
|||
random-if(!browserIsRemote) == test-displayport.html test-displayport-ref.html # bug 593168
|
|||
|
skip-if(!browserIsRemote) != test-displayport-2.html test-displayport-ref.html # bug 593168
|
||
skip-if(!browserIsRemote) fails-if(OSX&&layersGPUAccelerated) fuzzy-if(layersOMTC,1,1390) random-if(Android&&AndroidVersion<15) random-if(B2G||B2GDT) == 647192-1.html 647192-1-ref.html
|
|||
|
skip-if(!browserIsRemote||(B2G&&browserIsRemote)) == 656041-1.html 656041-1-ref.html
|
||
skip-if(!browserIsRemote||layersOMTC) == test-displayport-bg.html test-displayport-ref.html # bug 694706
|
|||
|
|||
# IPC Position-fixed frames/layers test
|
|||
|
# Fixed layers are temporarily disabled (bug 656167).
|
||
#skip-if(!browserIsRemote) == test-pos-fixed.html test-pos-fixed-ref.html
|
|||
|
#skip-if(!browserIsRemote) == test-bg-attachment-fixed.html test-bg-attachment-fixed-ref.html
|
||
skip-if(!browserIsRemote) == test-pos-fixed-transform.html test-pos-fixed-transform-ref.html
|
|||
|
|
||
# reftest syntax: require-or
|
|||
require-or(unrecognizedCondition,skip) script scripttest-fail.html
|
|||
require-or(true&&unrecognizedCondition,skip) script scripttest-fail.html
|
|||
require-or(unrecognizedCondition&&true,skip) script scripttest-fail.html
|
|||
require-or(unrecognizedCondition,fails) script scripttest-fail.html
|
|||
require-or(true,fails) script scripttest-pass.html
|
|||
require-or(true&&true,fails) script scripttest-pass.html
|
|||
|
|
||
# tests for pref(...) syntax in manifest, including "fails" examples with incorrect prefs
|
|||
# a boolean pref
|
|||
pref(gfx.downloadable_fonts.enabled,true) HTTP(..) != font-download.html font-default.html
|
|||
pref(gfx.downloadable_fonts.enabled,false) HTTP(..) == font-download.html font-default.html
|
|||
fails pref(gfx.downloadable_fonts.enabled,0) HTTP(..) == font-download.html font-default.html
|
|||
fails pref(gfx.downloadable_fonts.enabled,"foo") HTTP(..) == font-download.html font-default.html
|
|||
# a non-existent pref
|
|||
fails pref(not.a.real.pref.name,1) == font-download.html font-default.html
|
|||
# an integer pref
|
|||
pref(font.size.variable.x-western,16) == font-size-16.html font-default.html
|
|||
pref(font.size.variable.x-western,16) != font-size-24.html font-default.html
|
|||
pref(font.size.variable.x-western,24) == font-size-24.html font-default.html
|
|||
pref(font.size.variable.x-western,24) != font-size-16.html font-default.html
|
|||
fails pref(font.size.variable.x-western,false) == font-size-16.html font-default.html
|
|||
fails pref(font.size.variable.x-western,"foo") == font-size-16.html font-default.html
|
|||
# a string pref
|
|||
pref(font.default.x-western,"serif") == font-serif.html font-default.html
|
|||
pref(font.default.x-western,"serif") != font-sans-serif.html font-default.html
|
|||
pref(font.default.x-western,"sans-serif") == font-sans-serif.html font-default.html
|
|||
pref(font.default.x-western,"sans-serif") != font-serif.html font-default.html
|
|||
fails pref(font.default.x-western,true) == font-serif.html font-default.html
|
|||
fails pref(font.default.x-western,0) == font-serif.html font-default.html
|
|||
# tests for ref-pref, and test-pref
|
|||
ref-pref(font.size.variable.x-western,16) == font-size-16.html font-default.html
|
|||
ref-pref(font.size.variable.x-western,16) != font-size-24.html font-default.html
|
|||
ref-pref(font.size.variable.x-western,24) == font-size-24.html font-default.html
|
|||
ref-pref(font.size.variable.x-western,24) != font-size-16.html font-default.html
|
|||
fails ref-pref(font.size.variable.x-western,false) == font-size-16.html font-default.html
|
|||
fails ref-pref(font.size.variable.x-western,"foo") == font-size-16.html font-default.html
|
|||
test-pref(font.size.variable.x-western,16) == font-default.html font-size-16.html
|
|||
test-pref(font.size.variable.x-western,16) != font-default.html font-size-24.html
|
|||
test-pref(font.size.variable.x-western,24) == font-default.html font-size-24.html
|
|||
test-pref(font.size.variable.x-western,24) != font-default.html font-size-16.html
|
|||
fails test-pref(font.size.variable.x-western,false) == font-default.html font-size-16.html
|
|||
fails test-pref(font.size.variable.x-western,"foo") == font-default.html font-size-16.html
|
|||
ref-pref(font.size.variable.x-western,16) test-pref(font.size.variable.x-western,24) != font-default.html font-default.html
|
|||
ref-pref(font.size.variable.x-western,24) test-pref(font.size.variable.x-western,16) != font-default.html font-default.html
|
|||
ref-pref(font.size.variable.x-western,24) test-pref(font.size.variable.x-western,24) == font-default.html font-default.html
|
|||
|
# reftest syntax: fuzzy(maxPixelDifference,maxNumberDifferingPixels)
|
||
fuzzy(1,250000) == fuzzy.html fuzzy-ref.html
|
|||
fuzzy(1,250000) != too-fuzzy.html fuzzy-ref.html
|
|||
fuzzy-if(true,1,250000) == fuzzy.html fuzzy-ref.html
|
|||
fuzzy-if(false,2,1) == fuzzy-ref.html fuzzy-ref.html
|
|||
# When using 565 fuzzy.html and fuzzy-ref.html will compare as equal
|
|||
|
fails fuzzy-if(false,2,1) random-if(Android) == fuzzy.html fuzzy-ref.html
|
||
|
|
||
# Test that reftest-no-paint fails correctly
|
|||
fails == reftest-no-paint.html reftest-no-paint-ref.html
|
|||
|
|||
|
skip-if(!asyncPanZoom) == async-scroll-1a.html async-scroll-1-ref.html
|
||
|
|
||
# Disable low-res painting for this test as it will cause more to
|
|||
# be drawn than we want.
|
|||
default-preferences pref(layers.low-precision-buffer,false)
|
|||
|
skip-if(!asyncPanZoom) != async-scroll-1b.html async-scroll-1-ref.html
|
||
|
default-preferences
|