1 Test that Audio() sets 'preload' attribute.
3 RUN(mediaElement = new Audio())
5 ++ Test initial attribute value
6 EXPECTED (mediaElement.getAttribute('preload') == 'auto') OK
7 EXPECTED (mediaElement.preload == 'auto') OK
9 RUN(mediaElement.src = 'content/test.wav')
10 RUN(mediaElement.load())
12 ++ Test after 'canplaythrough' event
13 EXPECTED (mediaElement.getAttribute('preload') == 'auto') OK
14 EXPECTED (mediaElement.preload == 'auto') OK