DocumentExtensions
Useful methods for document objects.
Adds a transient observer for the given node.
Adopts the given node for the provided document context.
Applies the manifest to the given document.
Gets the resource loader for the given document, by creating it if
possible.
Gets the event loop for the given document.
Creates the specified target browsing context.
Creates a new Window instance for the given document.
public static void ForEachRange(this Document document, Predicate<Range> condition, Action<Range> action)
Iterates over all ranges in the document, applying the provided
action when the given condition is fulfilled.
Gets the specified target browsing context.
Creates a new nested browsing context with the given name and
creator.
Creates a new browsing context with the given name and creator.
Performs a microtask checkpoint using the mutations host.
Queue a mutation observer compound microtask.
Provides a stable state by running the synchronous sections of
asynchronously-running algorithms until the asynchronous algorithm
can be resumed (if appropriate).
Queues a mutation record for the corresponding observers.
Queues an action in the event loop of the document.
Releases the storage mutex. For more information, see:
http://www.w3.org/html/wg/drafts/html/CR/webappapis.html#storage-mutex
Spins the event loop until all stylesheets are downloaded (if
required) and all scripts are ready to be parser executed.
http://www.w3.org/html/wg/drafts/html/master/syntax.html#the-end
(bullet 3)