Closed Bug 1096310 Opened 10 years ago Closed 9 years ago

Open_App drop down is not opening for me

Categories

(DevTools Graveyard :: WebIDE, defect)

35 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 36

People

(Reporter: zalun, Assigned: jryans)

References

Details

(Keywords: dev-doc-complete)

Attachments

(1 file, 1 obsolete file)

Doesn't work on Firefox Developer Edition
In fact it only works on Nightly for me.
OSX Yosemite.
BTW I'm open for Team Viewer session if someone is interested
I believe this can occur if you have a profile you've used in newer Firefox and then go back to an older Firefox.  I am able to reproduce this on my own profile that has used 36 if I try it in 35 or older.

The root cause I believe is that IndexedDB occasionally requires a version change[1] in the underlying DB it uses internally.

Once this happens, it's not possible to access the data with an earlier version of Gecko.

I will try to at least detect this case and add a message about it, so it's less surprising.

Jan, is my understanding of the IndexedDB schema version correct?

[1]: http://hg.mozilla.org/mozilla-central/annotate/d380166816dd/dom/indexedDB/ActorsParent.cpp#l127
Flags: needinfo?(Jan.Varga)
I believe it's possible to "reset" WebIDE's project list from IndexedDB by removing:

<PROFILE>/storage/persistent/indexeddb+++fx-devtools

Please backup your profile before trying this!  More things could break.
(In reply to J. Ryan Stinnett [:jryans] from comment #2)
> I believe this can occur if you have a profile you've used in newer Firefox
> and then go back to an older Firefox.  I am able to reproduce this on my own
> profile that has used 36 if I try it in 35 or older.

This is true.

> 
> The root cause I believe is that IndexedDB occasionally requires a version
> change[1] in the underlying DB it uses internally.
> 
> Once this happens, it's not possible to access the data with an earlier
> version of Gecko.
> 
> I will try to at least detect this case and add a message about it, so it's
> less surprising.
> 
> Jan, is my understanding of the IndexedDB schema version correct?
> 
> [1]:
> http://hg.mozilla.org/mozilla-central/annotate/d380166816dd/dom/indexedDB/
> ActorsParent.cpp#l127

Almost correct, the problem is that to fix bug 1056939, we had to rename the directory where IndexedDB stores DOM Files and since we've been always strict about missing or unexpected files/subdirs, the already "upgraded" directory structure on disk can't be used in older releases :(
Flags: needinfo?(Jan.Varga)
Assignee: nobody → jryans
Status: NEW → ASSIGNED
/r/765 - Bug 1096310 - Show message after project list load error. r=paul

Pull down this commit:

hg pull review -r 07674531bd74105bf64784e6720507bb83e6c820
Attachment #8524863 - Flags: review?(paul) → review+
https://hg.mozilla.org/mozilla-central/rev/5fc9191444de
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 36
Attachment #8524863 - Attachment is obsolete: true
Attachment #8618584 - Flags: review+
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.