Dynamic created SCRIPT elements will not fire the onload event on refresh on secure connection if the script is empty (no content whatsoever).
The code to reproduce the problem:
############################## # CACHE after first request (about cache, memory cache): ############################## Memory cache device Number of entries: 8 Maximum storage size: 21504 KiB Storage in use: 39 KiB Inactive storage: 26 KiB Key: https://www.pan1.co.uk/favicon.ico Data size: 25214 bytes Fetch count: 1 Last modified: 2006-08-10 17:53:16 Expires: 2006-08-10 17:53:15 Key: https://www.pan1.co.uk/app/ktml4/cache.html Data size: 1468 bytes Fetch count: 1 Last modified: 2006-08-10 17:53:14 Expires: 2006-08-10 17:53:14 Key: https://www.pan1.co.uk/app/ktml4/empty.js Data size: 0 bytes Fetch count: 1 Last modified: 2006-08-10 17:53:15 Expires: 2006-08-10 17:53:15 Key: https://www.pan1.co.uk/favicon.ico Data size: 1024 bytes Fetch count: 3 Last modified: 2006-08-10 17:53:16 Expires: 2006-08-10 17:53:15 Key: chrome://global/skin/throbber/Throbber-small.gif Data size: 6656 bytes Fetch count: 2 Last modified: 2006-08-10 17:52:55 Expires: No expiration time Key: chrome://global/skin/arrow/arrow-dn.gif Data size: 60 bytes Fetch count: 1 Last modified: 2006-08-10 17:52:57 Expires: No expiration time Key: chrome://browser/skin/Secure.png Data size: 1024 bytes Fetch count: 2 Last modified: 2006-08-10 17:53:14 Expires: No expiration time Key: chrome://global/skin/icons/Warning.png Data size: 4096 bytes Fetch count: 1 Last modified: 2006-08-10 17:53:14 Expires: No expiration time ############################## # CACHE AFTER refresh: ############################## Memory cache device Number of entries: 8 Maximum storage size: 21504 KiB Storage in use: 39 KiB Inactive storage: 26 KiB Key: https://www.pan1.co.uk/favicon.ico Data size: 25214 bytes Fetch count: 1 Last modified: 2006-08-10 17:53:16 Expires: 2006-08-10 17:53:15 Key: https://www.pan1.co.uk/app/ktml4/cache.html Data size: 1468 bytes Fetch count: 2 Last modified: 2006-08-10 17:53:55 Expires: 2006-08-10 17:53:55 Key: https://www.pan1.co.uk/app/ktml4/empty.js Data size: 0 bytes Fetch count: 2 Last modified: 2006-08-10 17:53:56 Expires: 2006-08-10 17:53:56 Key: https://www.pan1.co.uk/favicon.ico Data size: 1024 bytes Fetch count: 7 Last modified: 2006-08-10 17:53:16 Expires: 2006-08-10 17:53:15 Key: chrome://global/skin/throbber/Throbber-small.gif Data size: 6656 bytes Fetch count: 2 Last modified: 2006-08-10 17:52:55 Expires: No expiration time Key: chrome://global/skin/arrow/arrow-dn.gif Data size: 60 bytes Fetch count: 1 Last modified: 2006-08-10 17:52:57 Expires: No expiration time Key: chrome://browser/skin/Secure.png Data size: 1024 bytes Fetch count: 2 Last modified: 2006-08-10 17:53:14 Expires: No expiration time Key: chrome://global/skin/icons/Warning.png Data size: 4096 bytes Fetch count: 1 Last modified: 2006-08-10 17:53:14 Expires: No expiration time