Friday, March 11, 2005 |
11:52 - It's the little things that matter
|
(top) |
I was just doing some JavaScript/cookie code tweaking, and in order to track how cookies were being set by the browser, I had Safari's Preferences window open with the "Show Cookies" sheet visible.
After I loaded the page and executed the code to change the browser's cookies, I went back to that window, expecting to have to close and reopen the cookie viewer sheet to see the new values. But... no. They were already updated in real-time. Whereas most apps in my experience would have implemented such a feature by reading in all the cookies at the time you open the sheet, and then leaving them statically in memory, Safari keeps the hooks open so any cookie that changes while the sheet is open immediately updates in the sheet while it's being displayed.
It's these kinds of little surprises that make life good.
|
|