blob: 117bdd1c0c0e7b7b3530ad5392e10483c1034d28 [file] [log] [blame]
++ Test initial attribute value
EXPECTED (video.autobuffer == 'true') OK
EXPECTED (video.getAttribute('autobuffer') != 'null') OK
++ Set to false via DOM
RUN(video.autobuffer = false;)
EXPECTED (video.getAttribute('autobuffer') == 'null') OK
EXPECTED (video.autobuffer == 'false') OK
++ Set to true via DOM
RUN(video.autobuffer = true;)
EXPECTED (video.autobuffer == 'true') OK
EXPECTED (video.getAttribute('autobuffer') != 'null') OK
++ Remove attribute
RUN(video.removeAttribute('autobuffer'))
EXPECTED (video.autobuffer == 'false') OK
++ Set to true via attribute
RUN(video.setAttribute('autobuffer', true);)
EXPECTED (video.autobuffer == 'true') OK
EXPECTED (video.getAttribute('autobuffer') != 'null') OK
END OF TEST