Disabled object stack item caching, as stale cache entries are living longer than the PA_Tags they are associated with. This is the cause of defect ID: 311147 in bugsplat.

git-svn-id: svn://10.0.0.236/trunk@7356 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
beard%netscape.com 1998-08-05 09:01:09 +00:00
parent 9d7c3da55f
commit dec5335dea

View File

@ -693,9 +693,18 @@ lo_PopObject(lo_DocState* state)
/* Unlink from stack */
top_state->object_stack = top->next;
#if 0
/* Add to cache */
top->next = top_state->object_cache;
top_state->object_cache = top;
#else
/*
* beard: This cache never gets invalidated when the real_tag field gets freed by
* PA_FreeTag. Therefore, we're leaving stale cache entries around. Until this is
* fixed, don't bother caching these stack items.
*/
lo_DeleteObjectStack(top);
#endif
}
@ -811,7 +820,7 @@ lo_ProcessObjectTag(MWContext* context, lo_DocState* state, PA_Tag* tag, XP_Bool
/*
* If we have started loading an OBJECT we are
* out if the HEAD section of the HTML
* out of the HEAD section of the HTML
* and into the BODY
*/
if (blocked == FALSE)