| Index: third_party/WebKit/LayoutTests/external/wpt/remote-playback/disable-remote-playback-prompt-throws.html
|
| diff --git a/third_party/WebKit/LayoutTests/external/wpt/remote-playback/disable-remote-playback-prompt-throws.html b/third_party/WebKit/LayoutTests/external/wpt/remote-playback/disable-remote-playback-prompt-throws.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7ddc2ad13f3691e1b40a89bf0494b06c6da8cb5d
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/external/wpt/remote-playback/disable-remote-playback-prompt-throws.html
|
| @@ -0,0 +1,16 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<title>Test that calling prompt() when disableRemotePlayback attribute is set throws an exception</title>
|
| +<script src="/resources/testharness.js"></script>
|
| +<script src="/resources/testharnessreport.js"></script>
|
| +<script src="/common/media.js"></script>
|
| +<script>
|
| +promise_test(t => {
|
| + var v = document.createElement('video');
|
| + v.src = getVideoURI('movie_5');
|
| + v.disableRemotePlayback = true;
|
| +
|
| + return promise_rejects(t, 'InvalidStateError', v.remote.prompt());
|
| +}, 'Test that calling prompt() when disableRemotePlayback attribute is set throws an exception.');
|
| +</script>
|
| +</html>
|
|
|