It allows to specify a custom allocator to be used when creating instances of the DOM classes. As keeping track of the lifetime of every node would be very complex, this implementation does not try to do so. Instead, no object is ever deallocated; it is the users responsibility to directly free the allocator memory when all objects are no longer reachable.
class DOMImplementation(DOMString, Alloc, ErrorHandler);
Copyright Lodovico Giaretta 2016 --