Closed
Bug 178461
Opened 22 years ago
Closed 22 years ago
nsIXSLTProcessor::reset()
Categories
(Core :: XSLT, enhancement)
Core
XSLT
Tracking
()
VERIFIED
FIXED
People
(Reporter: axel, Assigned: axel)
Details
Attachments
(1 file)
1.38 KB,
patch
|
sicking
:
review+
peterv
:
superreview+
asa
:
approval-
|
Details | Diff | Splinter Review |
XSLTProcessor should have a reset method to prune params and stylesheets.
Applications like buster shouldn't stress test the js garbage collection for
something that can be done that easy.
Assignee | ||
Comment 1•22 years ago
|
||
Assignee | ||
Updated•22 years ago
|
Status: NEW → ASSIGNED
Attachment #105193 -
Flags: review+
Comment on attachment 105193 [details] [diff] [review]
implement reset()
personally i think that we should have a ::ResetStylesheets rather then a Reset
function. That way there is no duplication of functionality in two separate
functions in the interface. And we'd support dropping just the stylesheet in
case someone wants to use the same parameters for different stylesheets (though
that is probably an edgecase, on the otoh using the processor the way that
buster is is an edgecase as well).
However if you guys decide that we should have a ::Reset then r=me
Assignee | ||
Comment 3•22 years ago
|
||
I see alot more scenarios that include reseting both stylesheets and params than
keeping just the params.
The real issue I had was "make that processor a virgin again" (which works much
better for code than for girls). Keep the common things simple, and make uncommon
things possible. So if somebody wants the params and a different stylsheet, (s)he
can just set the params again.
Comment 4•22 years ago
|
||
Comment on attachment 105193 [details] [diff] [review]
implement reset()
Safe sex is good! sr=peterv.
Attachment #105193 -
Flags: superreview+
Assignee | ||
Comment 5•22 years ago
|
||
checked into the trunk, is this sexy enough to go into 1.2?
Assignee | ||
Comment 6•22 years ago
|
||
Comment on attachment 105193 [details] [diff] [review]
implement reset()
requested approval for 1.2
Having .reset() on that milestone will ease the move to the new interface, as
we have only one version of it out there, as agreed on with peterv on irc
Attachment #105193 -
Flags: approval?
Comment 7•22 years ago
|
||
Comment on attachment 105193 [details] [diff] [review]
implement reset()
we're down to taking only crash fixes, major regression fixes or highly visible
bugs. This seems more featurish so I'm saying no to 1.2.
Attachment #105193 -
Flags: approval? → approval-
Assignee | ||
Comment 8•22 years ago
|
||
fixed in 1.3a, not fixed in 1.2 per drivers
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•