Esri / offline-editor-js

ArcGIS JavaScript library for handling offline editing and tiling.
http://esri.github.io/offline-editor-js/demo/
Apache License 2.0
159 stars 142 forks source link

indexedDBShim not allowing proper debugging in Firefox 27 #66

Closed andygup closed 10 years ago

andygup commented 10 years ago

Firefox debugger console doesn't seem like the shim. We need to be able to debug in Firefox. I haven't looked at this in detail, however app fails because of numerous errors such as:

setting a property that has only a getter Line 2 'onreadystatechange' getter called on an object that does not implement interface XMLHttpRequest. Line 2 'readyState' getter called on an object that does not implement interface XMLHttpRequest. Line 2 'timeout' getter called on an object that does not implement interface XMLHttpRequest. Line 2

jabadia commented 10 years ago

I have looked at this. I have only seen the first error you mention: "setting a property that has only a getter Line 2", and I think it is the normal process of detecting the indexedDb capability. However, this error doesn't prevent me to debug in Firefox. I have tested all features in Firefox and they work correctly. If you can repeat the other errors or identify app failures that are because of the shim, please let me know.

andygup commented 10 years ago

I'll try restarting my machine and see if that clears the condition. I'm traveling right now and don't have the ability to run it on my windows test machine to see if I can duplicate.

andygup commented 10 years ago

I ended up uninstalling/reinstalling firefox. This particular problem seems to have gone away. Very strange.