зеркало из https://github.com/mozilla/gecko-dev.git
Bug 793435 - Open worker_test_osfile_win.js instead of worker_test_osfile_unix.js. r=yoric
This commit is contained in:
Родитель
e83732b663
Коммит
516fe93481
|
@ -53,7 +53,7 @@ function test_OpenClose() {
|
||||||
isnot(OS.Constants.Win.FILE_SHARE_READ, undefined, "FILE_SHARE_READ exists");
|
isnot(OS.Constants.Win.FILE_SHARE_READ, undefined, "FILE_SHARE_READ exists");
|
||||||
isnot(OS.Constants.Win.FILE_ATTRIBUTE_NORMAL, undefined, "FILE_ATTRIBUTE_NORMAL exists");
|
isnot(OS.Constants.Win.FILE_ATTRIBUTE_NORMAL, undefined, "FILE_ATTRIBUTE_NORMAL exists");
|
||||||
let file = OS.Win.File.CreateFile(
|
let file = OS.Win.File.CreateFile(
|
||||||
"chrome\\toolkit\\components\\osfile\\tests\\mochi\\worker_test_osfile_unix.js",
|
"chrome\\toolkit\\components\\osfile\\tests\\mochi\\worker_test_osfile_win.js",
|
||||||
OS.Constants.Win.GENERIC_READ,
|
OS.Constants.Win.GENERIC_READ,
|
||||||
0,
|
0,
|
||||||
null,
|
null,
|
||||||
|
@ -107,7 +107,7 @@ function test_ReadWrite()
|
||||||
let output_name = "osfile_copy.tmp";
|
let output_name = "osfile_copy.tmp";
|
||||||
// Copy file
|
// Copy file
|
||||||
let input = OS.Win.File.CreateFile(
|
let input = OS.Win.File.CreateFile(
|
||||||
"chrome\\toolkit\\components\\osfile\\tests\\mochi\\worker_test_osfile_unix.js",
|
"chrome\\toolkit\\components\\osfile\\tests\\mochi\\worker_test_osfile_win.js",
|
||||||
OS.Constants.Win.GENERIC_READ,
|
OS.Constants.Win.GENERIC_READ,
|
||||||
0,
|
0,
|
||||||
null,
|
null,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче