[Webkit-unassigned] [Bug 41348] Remove global variables from XSLTProcessorLibxslt.cpp

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 1 06:14:48 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=41348





--- Comment #5 from Andreas Wictor <andreas.wictor at xcerion.com>  2010-07-01 06:14:48 PST ---
(In reply to comment #4)
> I was thinking about keeping a HashSet of XSLTProcessors, so that we could check if _private is one of ours, and bail out quickly if it isn't. Other code's usage of libxslt may fail, but at least we won't crash right away.

Sounds like a good idea. We also need a HashSet of XSLStyleSheets.

> Logging an error would be helpful, probably even in release builds (but then we shouldn't complain to console more than once).

How do I find a console object to log messages to, when I can't get a reliable XSLTProcessor object? The existing code in docLoaderFunc starts from globalProcessor when it finds a console.

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



More information about the webkit-unassigned mailing list