should eliminate hard tabs anyway (so 8 is just in case one gets thru -- LXR
was not displaying this source well with 4).
- Don't nest jsapi.h outside the idempotent-include #ifndef in dom.h.
- Include xp.h to get this code working on Windows (to cope with some kind of
compiled header problem).
- Fix bad JS_GetEmptyStringValue calls that were treated as returning JSString*
rather than jsval, and fed into STRING_TO_JSVAL.
- Avoid tagging and untagging a jsval to test for a null JSString* return.
- Fiddle formatting in a couple of places.
- Avoid leaving cdata->data null after realloc failure. Use of a local temp
(data2) also improves generated code by eliminating memory ambiguity.
Added stuff for node destruction, including making node_finalize module-public
for use by other node types.
Added new methods to Element (setAttribute + stubs).