3 <title>Test that calling prompt() when disableRemotePlayback attribute is set throws an exception
</title>
4 <script src=
"/resources/testharness.js"></script>
5 <script src=
"/resources/testharnessreport.js"></script>
6 <script src=
"/common/media.js"></script>
9 var v
= document
.createElement('video');
10 v
.src
= getVideoURI('/media/movie_5');
11 v
.disableRemotePlayback
= true;
13 return promise_rejects_dom(t
, 'InvalidStateError', v
.remote
.prompt());
14 }, 'Test that calling prompt() when disableRemotePlayback attribute is set throws an exception.');