-
Notifications
You must be signed in to change notification settings - Fork 245
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firefox compatibility, IndexedDB fixes; batch remove fixes; issue #108. #130
Firefox compatibility, IndexedDB fixes; batch remove fixes; issue #108. #130
Commits on Oct 17, 2012
-
Firefox fixes for html5-filesystem adapter.
Doesn't actually make this adapter work on Firefox, but at least keeps it from crashing the test suite.
Configuration menu - View commit details
-
Copy full SHA for c6f8f33 - Browse repository at this point
Copy the full SHA c6f8f33View commit details -
Use the standard 'textContent' property instead of 'innerText' in tes…
…t suite. This makes the new 'click to test an adapter' functionality work on Firefox.
Configuration menu - View commit details
-
Copy full SHA for efba506 - Browse repository at this point
Copy the full SHA efba506View commit details -
Remove explicit timeouts from test suite to avoid bogus failures.
Firefox's IndexedDB implementation is significantly slower than webkit's, which causes sporadic failures of the test suite.
Configuration menu - View commit details
-
Copy full SHA for 88f9263 - Browse repository at this point
Copy the full SHA 88f9263View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c6e3d1 - Browse repository at this point
Copy the full SHA 9c6e3d1View commit details -
IndexedDB: Manually unregister event handlers in adapter to prevent l…
…eak. This prevents a leak in Chrome. Granted, this is actually a bug in chrome: the request objects should get garbage collected which should also free up the event listeners. But this doesn't appear to be happening (as shown in Chrome's memory tracing tools).
Configuration menu - View commit details
-
Copy full SHA for a43c056 - Browse repository at this point
Copy the full SHA a43c056View commit details -
IndexedDB: Update READ_WRITE constant to match latest spec (Chrome 21).
Numeric constants for transaction mode are deprecated.
Configuration menu - View commit details
-
Copy full SHA for 1706f70 - Browse repository at this point
Copy the full SHA 1706f70View commit details -
IndexedDB: Workaround Firefox bug w/ openCursor method.
Spec says that cursor is null if the range is empty, but firefox makes the cursor undefined instead.
Configuration menu - View commit details
-
Copy full SHA for 27fbbcb - Browse repository at this point
Copy the full SHA 27fbbcbView commit details -
IndexedDB: Update 'versionchange' to match latest spec (Chrome 21, Fi…
…refox). Transaction creation inside a versionchange transaction is disallowed.
Configuration menu - View commit details
-
Copy full SHA for c09a3aa - Browse repository at this point
Copy the full SHA c09a3aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for b704d49 - Browse repository at this point
Copy the full SHA b704d49View commit details -
IndexedDB: Add workaround for implementations that don't support auto…
…Increment. Both Firefox and Webkit have issues with the autoIncrement feature of IndexedDB. Let's assume that those bugs will be fixed by the time the spec becomes final and indexedDB is unprefixed -- but until that time, don't use the feature and use the same this.uuid() key-generator that the other implementations use.
Configuration menu - View commit details
-
Copy full SHA for e334410 - Browse repository at this point
Copy the full SHA e334410View commit details -
IndexedDB: remove races from implementations of batch() and get(array).
The previous implementations suffered from race conditions: the order of the results was not guaranteed to match the order given in the parameters.
Configuration menu - View commit details
-
Copy full SHA for a1352b7 - Browse repository at this point
Copy the full SHA a1352b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for ebdd3a3 - Browse repository at this point
Copy the full SHA ebdd3a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04262ce - Browse repository at this point
Copy the full SHA 04262ceView commit details -
Add tests for batch add, get, and delete.
The webkit-sqlite, indexed-db, and dom adapters all fail this new test in various ways.
Configuration menu - View commit details
-
Copy full SHA for 023826f - Browse repository at this point
Copy the full SHA 023826fView commit details -
IndexedDB: implement batch remove.
Implement batch remove. While we're at it, make the "is this a key or an object containing a key" test consistent with that used in the other adapters.
Configuration menu - View commit details
-
Copy full SHA for 194bddf - Browse repository at this point
Copy the full SHA 194bddfView commit details -
dom adapter: fix get(array) with nonexistent key; fix remove(array).
Passing an array to get() could previously return a result array shorter than the parameter array, since keys not present in the lawnchair were missing from the result. Add 'null' in the place of the missing result, to be consistent with other adapters. Implement batch remove (using code borrowed from the indexedDB adapter).
Configuration menu - View commit details
-
Copy full SHA for 1fd4e2f - Browse repository at this point
Copy the full SHA 1fd4e2fView commit details -
webkit-sqlite adapter: various fixes to batch(), get(), and remove().
Update the batch() implementation to match that used in the other adapters. Removes the need for setInterval() to poll for completion. Fix sql quoting issues in get() implementation, and ensure that the order of returned results matches the order of the keys provided as arguments in the batch get case. Implement batch remove. Update the "is this a key or an object containing a key" test to match that used in the other adapters.
Configuration menu - View commit details
-
Copy full SHA for 530cca9 - Browse repository at this point
Copy the full SHA 530cca9View commit details -
Fix 'independent data stores' failure in memory and window-name adapt…
…ers. Also fixes issue brianleroux#108 with the nuke() method, while we're at it. In addition, a few minor changes to try to make memory and window-name more nearly identical, although a number of unnecessary whitespace diffs remain.
Configuration menu - View commit details
-
Copy full SHA for 01cf775 - Browse repository at this point
Copy the full SHA 01cf775View commit details