summaryrefslogtreecommitdiffstats
path: root/tests/auto/core/origins/resources/media.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/core/origins/resources/media.html')
-rw-r--r--tests/auto/core/origins/resources/media.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/auto/core/origins/resources/media.html b/tests/auto/core/origins/resources/media.html
new file mode 100644
index 000000000..091485b61
--- /dev/null
+++ b/tests/auto/core/origins/resources/media.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Media</title>
+ <script>
+ function addAudio(src) {
+ let aud = document.createElement('audio')
+ aud.src = src
+ document.getElementsByTagName("body")[0].appendChild(aud)
+ }
+ </script>
+ </head>
+ <body>
+ </body>
+</html>