summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/web-bundle/resources/cross-origin.har
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/web-bundle/resources/cross-origin.har')
-rw-r--r--testing/web-platform/tests/web-bundle/resources/cross-origin.har48
1 files changed, 48 insertions, 0 deletions
diff --git a/testing/web-platform/tests/web-bundle/resources/cross-origin.har b/testing/web-platform/tests/web-bundle/resources/cross-origin.har
new file mode 100644
index 0000000000..2c33449cbe
--- /dev/null
+++ b/testing/web-platform/tests/web-bundle/resources/cross-origin.har
@@ -0,0 +1,48 @@
+{
+ "log": {
+ "entries": [
+ {
+ "request": {
+ "method": "GET",
+ "url": "https://www1.web-platform.test:8444/web-bundle/resources/wbn/cors/resource.cors.js",
+ "headers": []
+ },
+ "response": {
+ "status": 200,
+ "headers": [
+ {
+ "name": "Content-type",
+ "value": "text/javascript"
+ },
+ {
+ "name": "Access-Control-Allow-Origin",
+ "value": "*"
+ }
+ ],
+ "content": {
+ "text": "scriptLoaded('resource.cors.js');"
+ }
+ }
+ },
+ {
+ "request": {
+ "method": "GET",
+ "url": "https://www1.web-platform.test:8444/web-bundle/resources/wbn/cors/resource.no-cors.js",
+ "headers": []
+ },
+ "response": {
+ "status": 200,
+ "headers": [
+ {
+ "name": "Content-type",
+ "value": "text/javascript"
+ }
+ ],
+ "content": {
+ "text": "scriptLoaded('resource.no-cors.js');"
+ }
+ }
+ }
+ ]
+ }
+} \ No newline at end of file