Update WPT tests for embedded content
[WebKit-https.git] / LayoutTests / imported / w3c / web-platform-tests / html / semantics / embedded-content / the-audio-element / audio_constructor.html
index 2420988..57f9157 100644 (file)
@@ -32,6 +32,12 @@ test(function() {
     }, description);
   });
 });
+
+test(function() {
+  var audio = new Audio();
+  assert_equals(Object.getPrototypeOf(audio), HTMLAudioElement.prototype);
+}, "Prototype of object created with named constructor");
+
 test(function() {
   assert_throws(new TypeError(), function() {
     Audio();