зеркало из https://github.com/mozilla/pjs.git
adding a debug assertion as followup to last checkin so we can hopefully
trap failure to open cookies.txt for writing in the debugger. (r=dougt)
This commit is contained in:
Родитель
e559c10550
Коммит
32cda3d206
|
@ -1724,6 +1724,7 @@ COOKIE_Write() {
|
|||
rv = NS_NewLocalFileOutputStream(getter_AddRefs(strm),
|
||||
dirSpec);
|
||||
if (NS_FAILED(rv)) {
|
||||
NS_ERROR("failed to open cookies.txt for writing");
|
||||
return rv;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче