Hi Johan, we had the same issue a few days ago and logged it @ https://bugzilla.mozilla.org/show_bug.cgi?id=902565 . Add your experience to the bug to give it more traction.
Meanwhile stop iterating when this.result isn't set. Gaia tests do the same (which is not how DOMCursor should work). Cheers, --- Harald Kirschner | Partner Engineer & Web Craftsman | [email protected] (mailto:[email protected]) On Wednesday, August 14, 2013 at 7:10 AM, [email protected] wrote: > Hi, > > Im trying to develop an application thatis supposed to read from the device > picture folder. Using the example found on > https://developer.mozilla.org/en-US/docs/WebAPI/Device_Storage?redirectlocale=en-US&redirectslug=WebAPI%2FDevice_Storage_API > I get a list of files. > > But what seems a bit odd is that "this.done" is always "undefined" and never > changes to true. This makes the cursor to run forever and the > DOMRequest.readyState never changes to "done". Is there a bug or am I doing > something weird? > > Can someone try that function in a Firefox OS Simulator and let me know if > you are experiencing the same issue. > > Best regards, > Johan > _______________________________________________ > dev-webapps mailing list > [email protected] (mailto:[email protected]) > https://lists.mozilla.org/listinfo/dev-webapps > > _______________________________________________ dev-webapps mailing list [email protected] https://lists.mozilla.org/listinfo/dev-webapps
