[Webkit-unassigned] [Bug 11042] navigationController is borked
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Thu Sep 28 04:01:54 PDT 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=11042
opendarwin.org at mitzpettel.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |opendarwin.org at mitzpettel.co
| |m
------- Comment #3 from opendarwin.org at mitzpettel.com 2006-09-28 04:01 PDT -------
The script is executing again as a result of loading the test again (DRT
doesn't use the back/forward cache), so evalAfterBackForwardNavigation is
getting called repeatedly without ever finishing.
I think you can patch NavigationController to prevent this kind of "reentrancy"
- simply don't do anything in -evaluateWebScript:afterBackForwardNavigation: if
pendingAction != None. (You'll also need to reset the pendingAction from
runTest() in case the previous test bailed before completing).
(I was wondering how all the other tests that use navigationController don't
loop endlessly, and found only one such test, which is currently disabled. When
enabled it also loops).
--
Configure bugmail: http://bugzilla.opendarwin.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