mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 15:27:32 +09:00
parent
5830ff1f2b
commit
74df182488
232 changed files with 256 additions and 36730 deletions
|
|
@ -96,8 +96,8 @@ add_task(function* test_nonproto() {
|
|||
|
||||
// Prototypical tests, operating on |File| handles.
|
||||
add_task(function* test_proto() {
|
||||
if (OS.Constants.Sys.Name == "Android" || OS.Constants.Sys.Name == "Gonk") {
|
||||
do_print("File.prototype.setDates is not implemented for Android/B2G");
|
||||
if (OS.Constants.Sys.Name == "Android") {
|
||||
do_print("File.prototype.setDates is not implemented for Android");
|
||||
do_check_eq(OS.File.prototype.setDates, undefined);
|
||||
return;
|
||||
}
|
||||
|
|
@ -107,7 +107,7 @@ add_task(function* test_proto() {
|
|||
"test_osfile_async_setDates_proto.tmp");
|
||||
yield OS.File.writeAtomic(path, new Uint8Array(1));
|
||||
|
||||
try {
|
||||
try {
|
||||
let fd = yield OS.File.open(path, {write: true});
|
||||
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue