summaryrefslogtreecommitdiffstats
path: root/dom/system/tests/ioutils/test_ioutils_dir_iteration.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:14:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:14:29 +0000
commitfbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 (patch)
tree4c1ccaf5486d4f2009f9a338a98a83e886e29c97 /dom/system/tests/ioutils/test_ioutils_dir_iteration.html
parentReleasing progress-linux version 124.0.1-1~progress7.99u1. (diff)
downloadfirefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.tar.xz
firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.zip
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/system/tests/ioutils/test_ioutils_dir_iteration.html')
-rw-r--r--dom/system/tests/ioutils/test_ioutils_dir_iteration.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/system/tests/ioutils/test_ioutils_dir_iteration.html b/dom/system/tests/ioutils/test_ioutils_dir_iteration.html
index 54168235b0..1e3653d876 100644
--- a/dom/system/tests/ioutils/test_ioutils_dir_iteration.html
+++ b/dom/system/tests/ioutils/test_ioutils_dir_iteration.html
@@ -21,7 +21,7 @@
await Assert.rejects(
IOUtils.getChildren(notExists),
- /Could not get children of file\(.*\) because it does not exist/,
+ /NotFoundError: Could not get children of `.*': directory does not exist/,
"IOUtils::getChildren rejects if the file does not exist"
);
ok(!await fileExists(notExists), `Expected ${notExists} not to exist`);
@@ -31,7 +31,7 @@
let tmpFileName = PathUtils.join(PathUtils.tempDir, 'iterator_file.tmp');
await createFile(tmpFileName)
await Assert.rejects(IOUtils.getChildren(tmpFileName),
- /Could not get children of file\(.*\) because it is not a directory/,
+ /InvalidAccessError: Could not get children of `.*': file is not a directory/,
"IOUtils::getChildren rejects if the file is not a dir"
);