summaryrefslogtreecommitdiffstats
path: root/tests/auto/core/origins/resources/createObjectURL.html
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2021-06-14 16:11:54 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2021-06-16 10:41:57 +0200
commitb8c48ee53009365a39d9dde1f6773048ec5ee4a0 (patch)
tree95a200703f3252ed8c74204c15db0539e41aa7ac /tests/auto/core/origins/resources/createObjectURL.html
parent5f723fe7469ac9ce3373dbcd3eb0978595271514 (diff)
Stop using Widgets in WebEngineCore tests
With QWebEnginePage in Core we can now make the core tests core-only. Add the same times moves tests from widgets that only uses core classes. Pick-to: 6.2 Change-Id: I67a25b534912d9a0891e16b0419f0db9bf434e92 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
Diffstat (limited to 'tests/auto/core/origins/resources/createObjectURL.html')
-rw-r--r--tests/auto/core/origins/resources/createObjectURL.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/core/origins/resources/createObjectURL.html b/tests/auto/core/origins/resources/createObjectURL.html
new file mode 100644
index 000000000..133f636bb
--- /dev/null
+++ b/tests/auto/core/origins/resources/createObjectURL.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>createObjectURL</title>
+ <script>
+ const blob = new Blob(['foo']);
+ const result = URL.createObjectURL(blob);
+ </script>
+ </head>
+ <body></body>
+</html>