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:13:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
commit40a355a42d4a9444dc753c04c6608dade2f06a23 (patch)
tree871fc667d2de662f171103ce5ec067014ef85e61 /dom/system/tests/ioutils/test_ioutils_dir_iteration.html
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-adbda400be353e676059e335c3c0aaf99e719475.tar.xz
firefox-adbda400be353e676059e335c3c0aaf99e719475.zip
Adding upstream version 125.0.1.upstream/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"
);