summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/webdriver/tests/bidi/script
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/meta/webdriver/tests/bidi/script')
-rw-r--r--testing/web-platform/meta/webdriver/tests/bidi/script/add_preload_script/add_preload_script.py.ini13
-rw-r--r--testing/web-platform/meta/webdriver/tests/bidi/script/add_preload_script/arguments.py.ini5
-rw-r--r--testing/web-platform/meta/webdriver/tests/bidi/script/add_preload_script/sandbox.py.ini3
-rw-r--r--testing/web-platform/meta/webdriver/tests/bidi/script/call_function/invalid.py.ini3
-rw-r--r--testing/web-platform/meta/webdriver/tests/bidi/script/call_function/realm.py.ini4
-rw-r--r--testing/web-platform/meta/webdriver/tests/bidi/script/call_function/result_node.py.ini3
-rw-r--r--testing/web-platform/meta/webdriver/tests/bidi/script/call_function/sandbox.py.ini30
-rw-r--r--testing/web-platform/meta/webdriver/tests/bidi/script/disown/invalid.py.ini4
-rw-r--r--testing/web-platform/meta/webdriver/tests/bidi/script/evaluate/evaluate.py.ini5
-rw-r--r--testing/web-platform/meta/webdriver/tests/bidi/script/evaluate/sandbox.py.ini26
-rw-r--r--testing/web-platform/meta/webdriver/tests/bidi/script/get_realms/get_realms.py.ini8
-rw-r--r--testing/web-platform/meta/webdriver/tests/bidi/script/get_realms/sandbox.py.ini4
-rw-r--r--testing/web-platform/meta/webdriver/tests/bidi/script/remove_preload_script/remove_preload_script.py.ini12
13 files changed, 120 insertions, 0 deletions
diff --git a/testing/web-platform/meta/webdriver/tests/bidi/script/add_preload_script/add_preload_script.py.ini b/testing/web-platform/meta/webdriver/tests/bidi/script/add_preload_script/add_preload_script.py.ini
new file mode 100644
index 0000000000..5f0ccdc413
--- /dev/null
+++ b/testing/web-platform/meta/webdriver/tests/bidi/script/add_preload_script/add_preload_script.py.ini
@@ -0,0 +1,13 @@
+[add_preload_script.py]
+ expected:
+ if (os == "win") and not swgl and debug and (processor == "x86_64"): [OK, TIMEOUT]
+ if (os == "win") and not swgl and debug and (processor == "x86"): [OK, TIMEOUT]
+ if (os == "win") and not swgl and not debug and (processor == "x86"): [OK, TIMEOUT]
+ if (os == "win") and not swgl and not debug and (processor == "x86_64"): [OK, TIMEOUT]
+ [test_add_preload_script[window\]]
+ disabled:
+ if os == "android": Not supported
+
+ [test_add_preload_script[tab\]]
+ expected:
+ if (processor == "x86") and debug: [PASS, FAIL]
diff --git a/testing/web-platform/meta/webdriver/tests/bidi/script/add_preload_script/arguments.py.ini b/testing/web-platform/meta/webdriver/tests/bidi/script/add_preload_script/arguments.py.ini
new file mode 100644
index 0000000000..1681aff845
--- /dev/null
+++ b/testing/web-platform/meta/webdriver/tests/bidi/script/add_preload_script/arguments.py.ini
@@ -0,0 +1,5 @@
+[arguments.py]
+ [test_two_channels]
+ expected:
+ if (os == "win") and not debug and (processor == "x86"): [PASS, FAIL]
+ if (os == "win") and not debug and (processor == "x86_64"): [PASS, FAIL]
diff --git a/testing/web-platform/meta/webdriver/tests/bidi/script/add_preload_script/sandbox.py.ini b/testing/web-platform/meta/webdriver/tests/bidi/script/add_preload_script/sandbox.py.ini
new file mode 100644
index 0000000000..021ff8c544
--- /dev/null
+++ b/testing/web-platform/meta/webdriver/tests/bidi/script/add_preload_script/sandbox.py.ini
@@ -0,0 +1,3 @@
+[sandbox.py]
+ expected:
+ if (os == "win") and debug and (processor == "x86_64") and not swgl: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/webdriver/tests/bidi/script/call_function/invalid.py.ini b/testing/web-platform/meta/webdriver/tests/bidi/script/call_function/invalid.py.ini
new file mode 100644
index 0000000000..5acce5c8f7
--- /dev/null
+++ b/testing/web-platform/meta/webdriver/tests/bidi/script/call_function/invalid.py.ini
@@ -0,0 +1,3 @@
+[invalid.py]
+ expected:
+ if (processor == "x86") and not debug: [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/webdriver/tests/bidi/script/call_function/realm.py.ini b/testing/web-platform/meta/webdriver/tests/bidi/script/call_function/realm.py.ini
new file mode 100644
index 0000000000..8c6f36a9fc
--- /dev/null
+++ b/testing/web-platform/meta/webdriver/tests/bidi/script/call_function/realm.py.ini
@@ -0,0 +1,4 @@
+[realm.py]
+ [test_different_target_realm]
+ expected:
+ if (os == "android") and not debug: [PASS, FAIL]
diff --git a/testing/web-platform/meta/webdriver/tests/bidi/script/call_function/result_node.py.ini b/testing/web-platform/meta/webdriver/tests/bidi/script/call_function/result_node.py.ini
new file mode 100644
index 0000000000..1087fcf3c3
--- /dev/null
+++ b/testing/web-platform/meta/webdriver/tests/bidi/script/call_function/result_node.py.ini
@@ -0,0 +1,3 @@
+[result_node.py]
+ expected:
+ if (os == "win") and not debug and (processor == "x86_64"): [OK, TIMEOUT]
diff --git a/testing/web-platform/meta/webdriver/tests/bidi/script/call_function/sandbox.py.ini b/testing/web-platform/meta/webdriver/tests/bidi/script/call_function/sandbox.py.ini
new file mode 100644
index 0000000000..dd5445dd8f
--- /dev/null
+++ b/testing/web-platform/meta/webdriver/tests/bidi/script/call_function/sandbox.py.ini
@@ -0,0 +1,30 @@
+[sandbox.py]
+ [test_sandbox]
+ expected:
+ if (os == "win") and not debug and (processor == "x86_64"): [PASS, FAIL]
+
+ [test_sandbox_with_empty_name]
+ expected:
+ if (os == "win") and (processor == "x86_64") and not swgl and not debug: [PASS, FAIL]
+ if (os == "win") and (processor == "x86_64") and not swgl and debug: [PASS, FAIL]
+
+ [test_switch_sandboxes]
+ expected:
+ if (processor == "x86") and debug: [PASS, FAIL]
+ if (processor == "x86") and not debug: [PASS, FAIL]
+
+ [test_sandbox_with_side_effects]
+ expected:
+ if (processor == "x86") and not debug: [PASS, FAIL]
+
+ [test_sandbox_returns_same_node]
+ expected:
+ if (processor == "x86") and debug: [PASS, FAIL]
+ if (processor == "x86") and not debug: [PASS, FAIL]
+
+ [test_arguments_uses_same_node_in_sandbox]
+ expected:
+ if (os == "win") and not swgl and not debug and (processor == "x86"): [PASS, FAIL]
+ if (os == "win") and not swgl and not debug and (processor == "x86_64"): [PASS, FAIL]
+ if (os == "win") and not swgl and debug and (processor == "x86"): [PASS, FAIL]
+ if (os == "win") and not swgl and debug and (processor == "x86_64"): [PASS, FAIL]
diff --git a/testing/web-platform/meta/webdriver/tests/bidi/script/disown/invalid.py.ini b/testing/web-platform/meta/webdriver/tests/bidi/script/disown/invalid.py.ini
new file mode 100644
index 0000000000..ba67874293
--- /dev/null
+++ b/testing/web-platform/meta/webdriver/tests/bidi/script/disown/invalid.py.ini
@@ -0,0 +1,4 @@
+[invalid.py]
+ [test_params_target_invalid_type[None\]]
+ expected:
+ if (os == "android") and debug and not swgl: [PASS, ERROR]
diff --git a/testing/web-platform/meta/webdriver/tests/bidi/script/evaluate/evaluate.py.ini b/testing/web-platform/meta/webdriver/tests/bidi/script/evaluate/evaluate.py.ini
new file mode 100644
index 0000000000..9517e5f805
--- /dev/null
+++ b/testing/web-platform/meta/webdriver/tests/bidi/script/evaluate/evaluate.py.ini
@@ -0,0 +1,5 @@
+[evaluate.py]
+ [test_different_target_realm]
+ expected:
+ if (os == "win") and debug and (processor == "x86_64") and not swgl: [PASS, FAIL]
+ if (os == "android") and not debug: [PASS, FAIL]
diff --git a/testing/web-platform/meta/webdriver/tests/bidi/script/evaluate/sandbox.py.ini b/testing/web-platform/meta/webdriver/tests/bidi/script/evaluate/sandbox.py.ini
new file mode 100644
index 0000000000..f171d7a25f
--- /dev/null
+++ b/testing/web-platform/meta/webdriver/tests/bidi/script/evaluate/sandbox.py.ini
@@ -0,0 +1,26 @@
+[sandbox.py]
+ [test_sandbox_with_side_effects]
+ expected:
+ if (os == "win") and (processor == "x86_64") and not debug: [PASS, FAIL]
+ if (os == "win") and (processor == "x86") and not debug: [PASS, FAIL]
+ if (os == "win") and (processor == "x86") and debug: [PASS, FAIL]
+ if (os == "android") and not debug: [PASS, FAIL]
+
+ [test_sandbox]
+ expected:
+ if (os == "android") and not debug: [PASS, FAIL]
+
+ [test_sandbox_with_empty_name]
+ expected:
+ if (os == "android") and not debug: [PASS, FAIL]
+
+ [test_switch_sandboxes]
+ expected:
+ if (os == "win") and not swgl and debug and (processor == "x86_64"): [PASS, FAIL]
+ if (os == "win") and not swgl and not debug and (processor == "x86_64"): [PASS, FAIL]
+ if (os == "win") and not swgl and not debug and (processor == "x86"): [PASS, FAIL]
+ if (os == "android") and not debug: [PASS, FAIL]
+
+ [test_sandbox_returns_same_node]
+ expected:
+ if (os == "win") and not debug and (processor == "x86_64"): [PASS, FAIL]
diff --git a/testing/web-platform/meta/webdriver/tests/bidi/script/get_realms/get_realms.py.ini b/testing/web-platform/meta/webdriver/tests/bidi/script/get_realms/get_realms.py.ini
new file mode 100644
index 0000000000..c1cd3f76fd
--- /dev/null
+++ b/testing/web-platform/meta/webdriver/tests/bidi/script/get_realms/get_realms.py.ini
@@ -0,0 +1,8 @@
+[get_realms.py]
+ [test_multiple_top_level_contexts[window\]]
+ disabled:
+ if os == "android": Not supported
+
+ [test_multiple_top_level_contexts[tab\]]
+ expected:
+ if (processor == "x86") and debug: [PASS, FAIL]
diff --git a/testing/web-platform/meta/webdriver/tests/bidi/script/get_realms/sandbox.py.ini b/testing/web-platform/meta/webdriver/tests/bidi/script/get_realms/sandbox.py.ini
new file mode 100644
index 0000000000..86e89e187c
--- /dev/null
+++ b/testing/web-platform/meta/webdriver/tests/bidi/script/get_realms/sandbox.py.ini
@@ -0,0 +1,4 @@
+[sandbox.py]
+ [test_multiple_top_level_contexts[window\]]
+ disabled:
+ if os == "android": Not supported
diff --git a/testing/web-platform/meta/webdriver/tests/bidi/script/remove_preload_script/remove_preload_script.py.ini b/testing/web-platform/meta/webdriver/tests/bidi/script/remove_preload_script/remove_preload_script.py.ini
new file mode 100644
index 0000000000..e69b810d98
--- /dev/null
+++ b/testing/web-platform/meta/webdriver/tests/bidi/script/remove_preload_script/remove_preload_script.py.ini
@@ -0,0 +1,12 @@
+[remove_preload_script.py]
+ [test_remove_preload_script[window\]]
+ disabled:
+ if os == "android": Not supported
+ expected:
+ if (os == "win") and not debug and (processor == "x86_64"): [PASS, FAIL]
+ if (os == "win") and not debug and (processor == "x86"): [PASS, FAIL]
+
+ [test_remove_one_of_preload_scripts]
+ expected:
+ if (os == "win") and not debug and (processor == "x86"): [PASS, FAIL]
+ if (os == "win") and not debug and (processor == "x86_64"): [PASS, FAIL]