diff options
Diffstat (limited to 'chrome/test/unit_ipc')
-rw-r--r-- | chrome/test/unit_ipc/test_resolve_uris_ipc.js | 9 | ||||
-rw-r--r-- | chrome/test/unit_ipc/xpcshell.toml | 10 |
2 files changed, 19 insertions, 0 deletions
diff --git a/chrome/test/unit_ipc/test_resolve_uris_ipc.js b/chrome/test/unit_ipc/test_resolve_uris_ipc.js new file mode 100644 index 0000000000..35eef62d1c --- /dev/null +++ b/chrome/test/unit_ipc/test_resolve_uris_ipc.js @@ -0,0 +1,9 @@ +// +// Run test script in content process instead of chrome (xpcshell's default) +// +function run_test() { + /* globals do_run_test */ + load("../unit/test_resolve_uris.js"); + do_run_test(); + run_test_in_child("../unit/test_resolve_uris.js"); +} diff --git a/chrome/test/unit_ipc/xpcshell.toml b/chrome/test/unit_ipc/xpcshell.toml new file mode 100644 index 0000000000..2beb2c849d --- /dev/null +++ b/chrome/test/unit_ipc/xpcshell.toml @@ -0,0 +1,10 @@ +[DEFAULT] +head = "" +skip-if = ["os == 'android'"] +support-files = [ + "!/chrome/test/unit/data/**", + "!/chrome/test/unit/test_resolve_uris.js", + "!/chrome/test/unit/head_crtestutils.js", +] + +["test_resolve_uris_ipc.js"] |