Summary

Harness status: OK

Found 12 tests

Details

ResultTest NameMessage
PassDocument.createProcessingInstruction in XML documents
Asserts runNo asserts ran
PassShould throw an INVALID_CHARACTER_ERR for target "A" and data "?>".
Asserts run
Pass
assert_throws_dom("INVALID_CHARACTER_ERR", function "function() {         document.createProcessingInstruction(invalid[i][0], invalid[i][1])       }")
    at Test.<anonymous> ( /dom/nodes/Document-createProcessingInstruction.js:20:7)
PassShould throw an INVALID_CHARACTER_ERR for target "·A" and data "x".
Asserts run
Pass
assert_throws_dom("INVALID_CHARACTER_ERR", function "function() {         document.createProcessingInstruction(invalid[i][0], invalid[i][1])       }")
    at Test.<anonymous> ( /dom/nodes/Document-createProcessingInstruction.js:20:7)
PassShould throw an INVALID_CHARACTER_ERR for target "×A" and data "x".
Asserts run
Pass
assert_throws_dom("INVALID_CHARACTER_ERR", function "function() {         document.createProcessingInstruction(invalid[i][0], invalid[i][1])       }")
    at Test.<anonymous> ( /dom/nodes/Document-createProcessingInstruction.js:20:7)
PassShould throw an INVALID_CHARACTER_ERR for target "A×" and data "x".
Asserts run
Pass
assert_throws_dom("INVALID_CHARACTER_ERR", function "function() {         document.createProcessingInstruction(invalid[i][0], invalid[i][1])       }")
    at Test.<anonymous> ( /dom/nodes/Document-createProcessingInstruction.js:20:7)
PassShould throw an INVALID_CHARACTER_ERR for target "\\A" and data "x".
Asserts run
Pass
assert_throws_dom("INVALID_CHARACTER_ERR", function "function() {         document.createProcessingInstruction(invalid[i][0], invalid[i][1])       }")
    at Test.<anonymous> ( /dom/nodes/Document-createProcessingInstruction.js:20:7)
PassShould throw an INVALID_CHARACTER_ERR for target "\f" and data "x".
Asserts run
Pass
assert_throws_dom("INVALID_CHARACTER_ERR", function "function() {         document.createProcessingInstruction(invalid[i][0], invalid[i][1])       }")
    at Test.<anonymous> ( /dom/nodes/Document-createProcessingInstruction.js:20:7)
PassShould throw an INVALID_CHARACTER_ERR for target 0 and data "x".
Asserts run
Pass
assert_throws_dom("INVALID_CHARACTER_ERR", function "function() {         document.createProcessingInstruction(invalid[i][0], invalid[i][1])       }")
    at Test.<anonymous> ( /dom/nodes/Document-createProcessingInstruction.js:20:7)
PassShould throw an INVALID_CHARACTER_ERR for target "0" and data "x".
Asserts run
Pass
assert_throws_dom("INVALID_CHARACTER_ERR", function "function() {         document.createProcessingInstruction(invalid[i][0], invalid[i][1])       }")
    at Test.<anonymous> ( /dom/nodes/Document-createProcessingInstruction.js:20:7)
PassShould get a ProcessingInstruction for target "xml:fail" and data "x".
Asserts run
Pass
assert_equals("xml:fail", "xml:fail")
    at Test.<anonymous> ( /dom/nodes/Document-createProcessingInstruction.js:30:7)
Pass
assert_equals("x", "x")
    at Test.<anonymous> ( /dom/nodes/Document-createProcessingInstruction.js:31:7)
Pass
assert_equals(Document node with 1 child, Document node with 1 child)
    at Test.<anonymous> ( /dom/nodes/Document-createProcessingInstruction.js:32:7)
Pass
assert_true(true)
    at Test.<anonymous> ( /dom/nodes/Document-createProcessingInstruction.js:33:7)
Pass
assert_true(true)
    at Test.<anonymous> ( /dom/nodes/Document-createProcessingInstruction.js:34:7)
PassShould get a ProcessingInstruction for target "A·A" and data "x".
Asserts run
Pass
assert_equals("A·A", "A·A")
    at Test.<anonymous> ( /dom/nodes/Document-createProcessingInstruction.js:30:7)
Pass
assert_equals("x", "x")
    at Test.<anonymous> ( /dom/nodes/Document-createProcessingInstruction.js:31:7)
Pass
assert_equals(Document node with 1 child, Document node with 1 child)
    at Test.<anonymous> ( /dom/nodes/Document-createProcessingInstruction.js:32:7)
Pass
assert_true(true)
    at Test.<anonymous> ( /dom/nodes/Document-createProcessingInstruction.js:33:7)
Pass
assert_true(true)
    at Test.<anonymous> ( /dom/nodes/Document-createProcessingInstruction.js:34:7)
PassShould get a ProcessingInstruction for target "a0" and data "x".
Asserts run
Pass
assert_equals("a0", "a0")
    at Test.<anonymous> ( /dom/nodes/Document-createProcessingInstruction.js:30:7)
Pass
assert_equals("x", "x")
    at Test.<anonymous> ( /dom/nodes/Document-createProcessingInstruction.js:31:7)
Pass
assert_equals(Document node with 1 child, Document node with 1 child)
    at Test.<anonymous> ( /dom/nodes/Document-createProcessingInstruction.js:32:7)
Pass
assert_true(true)
    at Test.<anonymous> ( /dom/nodes/Document-createProcessingInstruction.js:33:7)
Pass
assert_true(true)
    at Test.<anonymous> ( /dom/nodes/Document-createProcessingInstruction.js:34:7)