-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Fixes to build with Closure (--closure 1) #21385
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,9 @@ addToLibrary({ | |
if (typeof indexedDB != 'undefined') return indexedDB; | ||
var ret = null; | ||
if (typeof window == 'object') ret = window.indexedDB || window.mozIndexedDB || window.webkitIndexedDB || window.msIndexedDB; | ||
#if ASSERTIONS | ||
assert(ret, 'IDBFS used, but indexedDB not supported'); | ||
#endif | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it would be great to get test coverage for these changes. Perhaps we can add a There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The existing tests are enough, but I'm guessing aren't being run with both
I don't mind taking a look, but it won't be in the next weeks, and it's probably asking a bigger question: what to do with There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I agree adding tests would be good, but I think should not block this from landing as incremental progress towards that goal. Unless you disagree @sbc100 ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, I'm fine with landing this. Especially now that it doesn't include the specialHTMLElements thing which was a little confusing to me (since its declared as an array but used like an object). |
||
return ret; | ||
}, | ||
DB_VERSION: 21, | ||
|
Uh oh!
There was an error while loading. Please reload this page.