Closed
Bug 280693
Opened 20 years ago
Closed 14 years ago
Use createElementNS instead of createElement for XUL in printoptions
Categories
(Core :: Printing: Output, defect)
Core
Printing: Output
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: timeless, Unassigned)
References
()
Details
Attachments
(1 file)
4.97 KB,
patch
|
Gavin
:
review+
Gavin
:
approval2.0-
|
Details | Diff | Splinter Review |
this is a code audit of sorts based on an irc discussion. if you are not more
familiar than I am with DOM2/DOM3 then you probably should read about it before
deciding to work on this task. it's probably also a good idea to read bug 280692
which was filed based on the irc conversation.
Updated•15 years ago
|
Assignee: printing → nobody
QA Contact: printing
Comment 1•15 years ago
|
||
Comment 2•15 years ago
|
||
Neil: ping?
Updated•15 years ago
|
Attachment #430947 -
Flags: review?(neil) → review?(roc)
Comment on attachment 430947 [details] [diff] [review]
Patch
I am not a toolkit peer
Attachment #430947 -
Flags: review?(roc) → review?(gavin.sharp)
Comment 4•15 years ago
|
||
Comment on attachment 430947 [details] [diff] [review]
Patch
I'm pretty sure this file has no test coverage. Have you tested these changes manually? It's not particularly difficult to verify the correctness of these changes by inspection, obviously, but bugs have been caused by simpler changes when there's no testing involved!
Attachment #430947 -
Flags: review?(gavin.sharp) → review+
Comment 5•15 years ago
|
||
Comment on attachment 430947 [details] [diff] [review]
Patch
Manual testing didn't reveal breakage. Thanks, Gavin.
Attachment #430947 -
Flags: approval2.0?
Attachment #430947 -
Flags: approval2.0? → approval2.0+
Updated•15 years ago
|
Keywords: checkin-needed
Comment 6•15 years ago
|
||
Err, bug 280692 seems dead, the latest comment suggests WONTFIX. There are also many more places that we'd have to change if bug 280692 would be resurrected for some reason. What's the point of landing this patch, now?
Keywords: checkin-needed
Comment 7•15 years ago
|
||
Henri's argument is that we shouldn't change HTML namespace -> null namespace, as was the original intention in bug 280692; we should still change XUL namespace -> HTML namespace, though.
Also, it would be good to land this patch in any case, as its approach is more robust.
Keywords: checkin-needed
Comment 8•15 years ago
|
||
(In reply to comment #7)
> we should still change XUL namespace -> HTML namespace, though.
Why would we want to do this for XUL documents as opposed to HTML documents, and where's the bug for this? Where are the bugs for "fixing" other uses of createElement in our code base?
> Also, it would be good to land this patch in any case, as its approach is more
> robust.
It doesn't provide any win in robustness. This is a script very much tailored for running in one specific XUL document.
Comment 9•14 years ago
|
||
Comment on attachment 430947 [details] [diff] [review]
Patch
Let's not land it now. WONTFIX seems appropriate.
Attachment #430947 -
Flags: approval2.0+ → approval2.0-
Updated•14 years ago
|
Keywords: checkin-needed
Updated•14 years ago
|
Assignee: Ms2ger → nobody
Updated•14 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•