Closed
Bug 154814
Opened 23 years ago
Closed 23 years ago
[ActiveX] clean up basic DOM functionality
Categories
(Core Graveyard :: Embedding: ActiveX Wrapper, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: adamlock, Assigned: adamlock)
References
Details
Attachments
(1 file, 2 obsolete files)
42.80 KB,
patch
|
chak
:
review+
alecf
:
superreview+
|
Details | Diff | Splinter Review |
The DOM source code is very crusty, overly complicated and needs to be updated
to use Mozilla naming conventions and efficient use of Mozilla classes (e.g. not
use nsString for local string variables).
Ensure all basic functionality from traversal, setting/getting arributes,
get_all, (& get_embeds, etc.), open, close, write, writeln are working properly.
Add a
basic style object implementation. Investigate if script handlers (onclick,
onload etc.) can be made to work.
Add tests CBrowse to exercise the DOM more thoroughly
New patch considerably cleans up implementation, and should be more efficient.
Made control and performance *much* faster in debug by commenting out #define
_ATL_DEBUG_INTERFACES
Attachment #89555 -
Attachment is obsolete: true
Patch uses the DOM2 standard TreeWalker class instead of the proprietary
nsDOMWalker from webbrowserpersist (which is defunct).
Attachment #89713 -
Attachment is obsolete: true
Comment 5•23 years ago
|
||
Comment on attachment 90241 [details] [diff] [review]
Patch
r=chak
Attachment #90241 -
Flags: review+
Comment 6•23 years ago
|
||
Comment on attachment 90241 [details] [diff] [review]
Patch
I don't know much about OLE2W, but could you be using nsDependentString
szName(OLE2W(strAttributeName)) or anything?
other than that, this looks fine. sr=alecf either way.
Attachment #90241 -
Flags: superreview+
OLE2W and the other FOO2BAR macros can potentially use temporary variables so I
don't want to risk it.
Fix is checked in
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•