Closed
Bug 292890
Opened 19 years ago
Closed 19 years ago
Investigate interaction of bfcache/fastback and midas
Categories
(Core :: DOM: Navigation, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: bzbarsky, Assigned: bryner)
References
Details
Attachments
(1 file)
2.83 KB,
patch
|
dbaron
:
review+
dbaron
:
superreview+
brendan
:
approval1.8b4+
|
Details | Diff | Splinter Review |
At least two possible issues here: First, the editing session is torn down on progress listener notifications, and fastback doesn't restore it. So with fastback if a site sets designMode on a document in a frame, then the frame is navigated to another URL and then the user goes back we will have: 1) No editor hooked up in the frame. 2) The document thinking an editor is hooked up. At this point there is no way to reenable designMode for that document, due to item 2, even if the site uses the DOMPageRestore event to do so. Second, editing session teardown messes with things like image animation modes, script enabling, etc, etc on the document we're leaving. If fastback also messes with them, we need to ensure the two run in the right order. Simplest solution (and possibly most correct) may be to disable presentation caching for HTML documents that have mEditingIsOn testing true.
Comment 1•19 years ago
|
||
Yeah, I'm all for the simple sollution here, at least until someone has the time to really dig into the midas code and make it behave better.
Comment 2•19 years ago
|
||
Here's a simple test case of where bfcache breaks designMode: http://devrandom.com/test/firefox/editor.html
Assignee | ||
Comment 3•19 years ago
|
||
This fixes a regression in the simple testcase above from bug 295931. We need to unsuppress painting for subframes.
Assignee: adamlock → bryner
Status: NEW → ASSIGNED
Attachment #189467 -
Flags: superreview?(dbaron)
Attachment #189467 -
Flags: review?(dbaron)
Comment on attachment 189467 [details] [diff] [review] patch Assuming you didn't mean to include the nsLayoutAtomList.h change in this patch, r+sr=dbaron.
Attachment #189467 -
Flags: superreview?(dbaron)
Attachment #189467 -
Flags: superreview+
Attachment #189467 -
Flags: review?(dbaron)
Attachment #189467 -
Flags: review+
Assignee | ||
Updated•19 years ago
|
Attachment #189467 -
Flags: approval1.8b4?
Comment 5•19 years ago
|
||
Comment on attachment 189467 [details] [diff] [review] patch a=me assuming dbaron's comment is right. /be
Attachment #189467 -
Flags: approval1.8b4? → approval1.8b4+
Assignee | ||
Comment 6•19 years ago
|
||
checked in
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•