You are here: Editor project page > How to change DOM IDL specs
How to change idl specs
This document concerns how to change one of the DOM IDL specs. Unfortunately can only be done on Windows.
For most IDL, you will want to use the more cross-platform xpidl compiler. This has just recently come on-line; there is still a lot of old dom idl code in the tree which has not been converted over to xpidl (especially interfaces which really are part of the DOM). Eventually the plan is to convert all of these interfaces to xpidl, at which this document will cease to be useful.
- If this is a new idl spec, appropriate an iid from
- Edit the idl file (e.g.
dom/public/idl/range/Range.idl) to make your changes
- Build idlc.exe:
cd dom/tools; nmake -f makefile.win
- In the directory where the idl file lives:
nmake -f makefile.win
- After you've verified that everything still builds, you have three files
to check in: