Log in with your MaiOtaku account.
Home Forum Anime Search Newest Help

Chat Functionality

danielfriesen
@Sephiroth, what standards are you suggesting Firefox doesn't support?
digitalwolf001
IM/Chat feature won't send messages when I hit enter, it just tabs to the next line. Chrome.
sephiroth
Nov 16, 14 at 12:40am
The Firefox implementation of IndexedDB uses "1" as "readwrite" where the specification specifically specifies that "readwrite" is to be used.
danielfriesen
@Sephiroth, you're off about that. During standardization IndexedDB used constants with numeric values for transaction modes and all browsers initially implemented it that way. Part way through they changed to string values. Firefox switched to the string values in Firefox 13 (while they were still using mozIndexedDB) and dropped the constants in Firefox 25. Chrome also made the change at some point, though they still had numeric constants after the quoted Chrome 21 so I'm not sure when. So current FF and Chrome both use strings. And if you wanted to support these really old versions of Firefox and Chrome, all you would need to do is `window.IDBTransaction = window.IDBTransaction || window.webkitIDBTransaction;` and then when you want the transaction mode `'READ_WRITE' in IDBTransaction ? IDBTransaction.READ_WRITE : 'readwrite'`.
Please login to post.