Summary

Harness status: OK

Found 4 tests

Details

ResultTest NameMessage
Passdocument.elementFromPoint: Parameters are mandatory.
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {             testFunc();         }", "Called with no parameter")
    at Test.<anonymous> ( /css/cssom-view/elementFromPoint-parameters.html:10:9)
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {             testFunc(0);         }", "Called with 1 parameter")
    at Test.<anonymous> ( /css/cssom-view/elementFromPoint-parameters.html:13:9)
Passdocument.elementFromPoint: Parameters should be finite floating point values.
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {             testFunc(0, Infinity);         }", "Passing Infinity as second parameter throws")
    at Test.<anonymous> ( /css/cssom-view/elementFromPoint-parameters.html:21:9)
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {             testFunc(Infinity, 0);         }", "Passing Infinity as first parameter throws")
    at Test.<anonymous> ( /css/cssom-view/elementFromPoint-parameters.html:24:9)
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {             testFunc(0, NaN);         }", "Passing NaN as second parameter throws")
    at Test.<anonymous> ( /css/cssom-view/elementFromPoint-parameters.html:27:9)
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {             testFunc(NaN, 0);         }", "Passing NaN as first parameter throws")
    at Test.<anonymous> ( /css/cssom-view/elementFromPoint-parameters.html:30:9)
Passdocument.elementsFromPoint: Parameters are mandatory.
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {             testFunc();         }", "Called with no parameter")
    at Test.<anonymous> ( /css/cssom-view/elementFromPoint-parameters.html:10:9)
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {             testFunc(0);         }", "Called with 1 parameter")
    at Test.<anonymous> ( /css/cssom-view/elementFromPoint-parameters.html:13:9)
Passdocument.elementsFromPoint: Parameters should be finite floating point values.
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {             testFunc(0, Infinity);         }", "Passing Infinity as second parameter throws")
    at Test.<anonymous> ( /css/cssom-view/elementFromPoint-parameters.html:21:9)
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {             testFunc(Infinity, 0);         }", "Passing Infinity as first parameter throws")
    at Test.<anonymous> ( /css/cssom-view/elementFromPoint-parameters.html:24:9)
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {             testFunc(0, NaN);         }", "Passing NaN as second parameter throws")
    at Test.<anonymous> ( /css/cssom-view/elementFromPoint-parameters.html:27:9)
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {             testFunc(NaN, 0);         }", "Passing NaN as first parameter throws")
    at Test.<anonymous> ( /css/cssom-view/elementFromPoint-parameters.html:30:9)