-
Notifications
You must be signed in to change notification settings - Fork 47
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
Error importing the app-indexeddb-mirror.html #43
Comments
The common-worker.html error is because the var BASE_URI = document._currentScript.ownerDocument.baseURI;
var WORKER_SCOPE_URL = Polymer.ResolveUrl.resolveUrl('common-worker-scope.js', BASE_URI); ( I has tried to hardcoded the |
I've been running into this and wondered why something that seems better was removed. cd26416#commitcomment-17661405 |
Thanks for the reference, @skeemer! |
I think we need to remove the underscore. From: var BASE_URI = document._currentScript.ownerDocument.baseURI; To: var BASE_URI = document.currentScript.ownerDocument.baseURI; And the webcomponents.js make the polyfill. (I has tried, and it seems to be working) |
I had the same issue. polyfill use document._currentScript but for navigator that don't need polyfill var document._currentScript does not exist. Using var BASE_URI = document.currentScript.ownerDocument.baseURI; |
@cdata any news about this? |
- Implemented test helpers for mocking online / offline state. - Implemented test helpers for reading / writing to IndexedDB. - Implemented test helper for deleting an IndexedDB database. - Added some basic tests for app-indexeddb-mirror. - Gracefully degrade in Safari and other stunted browsers.
Any news @cdata? Right now we can't use the component without the polyfill :( |
Any news @cdata? :( |
Same problem here... How can we solve this ? I changed :
by:
It worked. but now I have another error that remains:
UPDATE : I just unlogged from other apps that I was working on (Google Auth) and did a force refresh on my browser and it solved this last error. |
See PolymerElements#43 app-indexeddb-mirror.html:249 Uncaught TypeError: Cannot read property 'validateSession' of undefined
Yay! 😀 |
Error when I import the
app-storage/app-indexeddb-mirror/app-indexeddb-mirror.html
.Only import, even without instantiating the element.
All my code is here.
The text was updated successfully, but these errors were encountered: