Summary

Harness status: OK

Found 11 tests

Details

ResultTest NameMessage
PassAudio constructor
Asserts runNo asserts ran
PassNo arguments
Asserts run
Pass
assert_equals("audio", "audio")
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:25:7)
Pass
assert_equals("AUDIO", "AUDIO")
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:26:7)
Pass
assert_equals("http://www.w3.org/1999/xhtml", "http://www.w3.org/1999/xhtml")
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:27:7)
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:28:7)
Pass
assert_equals("auto", "auto")
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:29:7)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:30:7)
Pass
assert_equals(Document node with 2 children, Document node with 2 children)
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:31:7)
PassEmpty string argument
Asserts run
Pass
assert_equals("audio", "audio")
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:25:7)
Pass
assert_equals("AUDIO", "AUDIO")
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:26:7)
Pass
assert_equals("http://www.w3.org/1999/xhtml", "http://www.w3.org/1999/xhtml")
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:27:7)
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:28:7)
Pass
assert_equals("auto", "auto")
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:29:7)
Pass
assert_equals("", "")
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:30:7)
Pass
assert_equals(Document node with 2 children, Document node with 2 children)
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:31:7)
PassNon-empty string argument
Asserts run
Pass
assert_equals("audio", "audio")
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:25:7)
Pass
assert_equals("AUDIO", "AUDIO")
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:26:7)
Pass
assert_equals("http://www.w3.org/1999/xhtml", "http://www.w3.org/1999/xhtml")
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:27:7)
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:28:7)
Pass
assert_equals("auto", "auto")
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:29:7)
Pass
assert_equals("src", "src")
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:30:7)
Pass
assert_equals(Document node with 2 children, Document node with 2 children)
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:31:7)
PassNull argument
Asserts run
Pass
assert_equals("audio", "audio")
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:25:7)
Pass
assert_equals("AUDIO", "AUDIO")
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:26:7)
Pass
assert_equals("http://www.w3.org/1999/xhtml", "http://www.w3.org/1999/xhtml")
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:27:7)
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:28:7)
Pass
assert_equals("auto", "auto")
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:29:7)
Pass
assert_equals("null", "null")
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:30:7)
Pass
assert_equals(Document node with 2 children, Document node with 2 children)
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:31:7)
PassUndefined argument
Asserts run
Pass
assert_equals("audio", "audio")
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:25:7)
Pass
assert_equals("AUDIO", "AUDIO")
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:26:7)
Pass
assert_equals("http://www.w3.org/1999/xhtml", "http://www.w3.org/1999/xhtml")
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:27:7)
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:28:7)
Pass
assert_equals("auto", "auto")
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:29:7)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:30:7)
Pass
assert_equals(Document node with 2 children, Document node with 2 children)
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:31:7)
PassExtra argument
Asserts run
Pass
assert_equals("audio", "audio")
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:25:7)
Pass
assert_equals("AUDIO", "AUDIO")
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:26:7)
Pass
assert_equals("http://www.w3.org/1999/xhtml", "http://www.w3.org/1999/xhtml")
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:27:7)
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:28:7)
Pass
assert_equals("auto", "auto")
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:29:7)
Pass
assert_equals("", "")
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:30:7)
Pass
assert_equals(Document node with 2 children, Document node with 2 children)
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:31:7)
PassPrototype of object created with named constructor
Asserts run
Pass
assert_equals(object "[object HTMLAudioElement]", object "[object HTMLAudioElement]")
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:38:3)
PassCalling Audio should throw
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {     Audio();   }")
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:42:3)
PassCalling HTMLAudioElement should throw
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {     HTMLAudioElement();   }")
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:47:3)
PassConstructing HTMLAudioElement should throw
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {     new HTMLAudioElement();   }")
    at Test.<anonymous> ( /html/semantics/embedded-content/the-audio-element/audio_constructor.html:52:3)