Bug 1012887 - DataStoreCursorImpl.jsm must check if the window is still available, r=gene