Closed Bug 112011 Opened 23 years ago Closed 20 years ago

cookie handling via file: URL fails

Categories

(Core :: Networking: Cookies, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: chado_moz, Assigned: morse)

References

Details

Steps to reproduce:
1. Open http://www2.wbs.ne.jp/%7Echado/work/cookie_test/cookie_test.html
   using Mozilla.
2. Press "store into cookie" button. 
   The test_value will be stored into cookie named "moztestcookie".
3. Press "load cookie" button.
4. Confirm the test_value will be displayed in lower text box.
5. Now, save above document in your hard drive, then open it using mozilla.
6. Repeat step 2 and 3.

Expected result: 
   The test_value is displayed in lower text box.

Actual result: 
   JS can not find corresponding cookie, then display "(no cookie found)".
   In Cookie Manager: 
      (after above steps, opening Cookie Manager on win32 may cause crash)
      The cookie entry is just stored, but...
      Site column and Host box show empty or unreadable charactor(s). 
      Other items (Name, Information, ..., Expires) look fine. 
      On every another trial, new entries will be added in same Cookie Name.
      These unreadable entries are not able to be removed in Cookie Manager.
      (They will be disappeared from list once. But when close and reopen 
       Cookie Manager, they are still be there.)
   In cookies.txt (in user profile): (Mac only)
      First column (Server) is filled with unreadable charactor(s).
      This seems the problem.

Reproducible: always

Build: mac   2001-11-21-12-trunk or previous build works fine.
       mac   2001-11-23-08-trunk or newer build 
             including 2001-11-26-08-trunk fails.
       win32 2001-11-19-10-trunk or previous build works fine.
       win32 2001-11-23-10-trunk, 2001-11-25-11-trunk or newer build 
             including 2001-11-26-10-trunk fails.

note: I'm not sure if this is related with Bug 110560 .
Build ID 2001 11 23 03. Windows 2000.

Mozilla crashed when I attempted step 3 on local file. See bug 112019.
But it doesn't crash when I tried it (using NT).  ?????
Depends on: 110560
Unable to confirm due to crasher bug 110560.  When that other bug is VERIFIED
FIXED, I will revisit this one.  :)
No longer depends on: 110560
Depends on: 110560
wfm with win2k build 20011126.. 
I can store the cookie localy and read it.
Actually, now works on: 
   2001-11-27-08-trunk (2001112708) on MacOS 9.0.4 Japanese and 
   2001-11-27-10-trunk (2001112703) on Win98-Japanese.

Maybe It was temporary and fixed on somewhere else.
(Probably, I had to wait reporting one more day.)
Thanks.
Closing out as wfm per reporter's comment above
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
This has nothing to do w/ offline mode.
Status: RESOLVED → UNCONFIRMED
QA Contact: tever → benc
Resolution: WORKSFORME → ---
Summary: cookie handling via offline document fails → cookie handling via file: URL fails
didn't see the depends.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago20 years ago
Resolution: --- → WORKSFORME
V/wfm.
Status: RESOLVED → VERIFIED
bah. it was fixed via the depends.
Status: VERIFIED → UNCONFIRMED
Resolution: WORKSFORME → ---
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → FIXED
This is why you should keep buglists current and the depends updated.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.