summaryrefslogtreecommitdiffstats
path: root/dom/base/test/unit_ipc
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /dom/base/test/unit_ipc
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/base/test/unit_ipc')
-rw-r--r--dom/base/test/unit_ipc/test_bug553888_wrap.js3
-rw-r--r--dom/base/test/unit_ipc/test_xhr_document_ipc.js3
-rw-r--r--dom/base/test/unit_ipc/xpcshell.toml16
3 files changed, 22 insertions, 0 deletions
diff --git a/dom/base/test/unit_ipc/test_bug553888_wrap.js b/dom/base/test/unit_ipc/test_bug553888_wrap.js
new file mode 100644
index 0000000000..0dede092e2
--- /dev/null
+++ b/dom/base/test/unit_ipc/test_bug553888_wrap.js
@@ -0,0 +1,3 @@
+function run_test() {
+ run_test_in_child("../unit/test_bug553888.js");
+}
diff --git a/dom/base/test/unit_ipc/test_xhr_document_ipc.js b/dom/base/test/unit_ipc/test_xhr_document_ipc.js
new file mode 100644
index 0000000000..1f65969b27
--- /dev/null
+++ b/dom/base/test/unit_ipc/test_xhr_document_ipc.js
@@ -0,0 +1,3 @@
+function run_test() {
+ run_test_in_child("../unit/test_xhr_document.js");
+}
diff --git a/dom/base/test/unit_ipc/xpcshell.toml b/dom/base/test/unit_ipc/xpcshell.toml
new file mode 100644
index 0000000000..8e1b515941
--- /dev/null
+++ b/dom/base/test/unit_ipc/xpcshell.toml
@@ -0,0 +1,16 @@
+[DEFAULT]
+head = ""
+skip-if = [
+ "os == 'android'",
+ "socketprocess_networking",
+]
+support-files = [
+ "!/dom/base/test/unit/test_bug553888.js",
+ "!/dom/base/test/unit/test_xhr_document.js",
+]
+
+["test_bug553888_wrap.js"]
+prefs = ["network.allow_raw_sockets_in_content_processes=true"]
+
+["test_xhr_document_ipc.js"]
+prefs = ["network.allow_raw_sockets_in_content_processes=true"]