| OLD | NEW |
| (Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <title>Test that calling prompt() when disableRemotePlayback attribute is set th
rows an exception</title> |
| 4 <script src="/resources/testharness.js"></script> |
| 5 <script src="/resources/testharnessreport.js"></script> |
| 6 <script src="/common/media.js"></script> |
| 7 <script> |
| 8 promise_test(t => { |
| 9 var v = document.createElement('video'); |
| 10 v.src = getVideoURI('movie_5'); |
| 11 v.disableRemotePlayback = true; |
| 12 |
| 13 return promise_rejects(t, 'InvalidStateError', v.remote.prompt()); |
| 14 }, 'Test that calling prompt() when disableRemotePlayback attribute is set throw
s an exception.'); |
| 15 </script> |
| 16 </html> |
| OLD | NEW |