<!DOCTYPE html>
<title>A track with the "default" attribute loads automatically</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<video>
  <track kind="captions" src="resources/default-styles.vtt">
  <track kind="captions" src="resources/metadata-area.vtt">
  <track kind="captions" src="resources/webvtt-file.vtt" id="default" default>
  <script>
  async_test(function(t) {
    var timer = null;
    var tracks = document.querySelectorAll("track"