[Webkit-unassigned] [Bug 14152] REGRESSION: closing a tab with a modified form, then hitting undo causes a crash

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 15 09:43:57 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=14152





------- Comment #2 from sanjay12 at gmail.com  2007-06-15 09:43 PDT -------
To understand the two window behavior, try this. Open a form in two separate
windows. Type in the form one one window, notice that in Edit, "Undo Typing" is
available. Now go to your other window. "Undo" is grayed out and unavailable.
So when you have two separate windows, each window is maintaining a separate
undo stack, and when you change windows the current window's undo stack is
correctly referenced.

However, if you do this same experiment with tabs, when you click on the next
tab, the "Undo Typing" option is still available from the previous tab you
typed on. And if you hit undo, sure enough it will undo the typing in the
previous tab.

So, this means that either the tabs aren't maintaining separate undo stacks, or
they are but for some reason they aren't being correctly swapped when you
switch tabs. Alternatively, if separate undo stacks is undesirable for tabs,
then some additional validation would be needed (but that seems like a very
roundabout way of fixing the bug).

I'll try to look into this further tonight to see if I can produce a patch for
it.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list