diff --git a/source b/source index 8b33a524d91..246348626f4 100644 --- a/source +++ b/source @@ -384,7 +384,6 @@ interface File : Blob { }; // File API interface FileList { }; // File API interface WebGLRenderingContext { }; // WebGL - interface XMLDocument { }; // DOM interface HTMLCollection { }; // DOM interface DOMTokenList { attribute any value; }; // DOM interface DOMMatrix { }; // Geometry @@ -3102,7 +3101,6 @@ a.setAttribute('href', 'http://example.com/'); // change the content attribute d
  • Comment interface
  • DOMImplementation interface
  • Document interface
  • -
  • XMLDocument interface
  • DocumentFragment interface
  • DocumentType interface
  • ChildNode interface
  • @@ -9356,112 +9354,6 @@ partial /*sealed*/ interface Document { content attribute.

    - -
    - -

    Loading XML documents

    - -
    partial interface XMLDocument {
    -  [CEReactions] boolean load(USVString url);
    -};
    - - - - - -

    The load(url) method - must run the following steps:

    - -
      - -
    1. Let document be the XMLDocument object on which the - method was invoked.

    2. - -
    3. Parse url, relative to the entry - settings object. If this is not successful, throw a - "SyntaxError" DOMException and abort these steps. - Otherwise, let urlRecord be the resulting URL record.

    4. - -
    5. If urlRecord's origin is not the same - as the origin of document, throw a - "SecurityError" DOMException and abort these - steps.

    6. - -
    7. Remove all child nodes of document, without firing any mutation - events.

    8. - -
    9. Set the current document readiness of document to "loading".

    10. - -
    11. Run the remainder of these steps in parallel, and return true from the - method.

    12. - -
    13. Let result be a Document object.

    14. - -
    15. Let success be false.

    16. - -
    17. Let request be a new request whose - url is urlRecord, client is entry settings object, destination is the empty string, - synchronous flag is set, mode is "same-origin", credentials - mode is "same-origin", and whose use-URL-credentials - flag is set.

    18. - -
    19. Let response be the result of fetching request. - -

    20. - -

      If response's Content-Type metadata is an - XML MIME type, then run these substeps:

      - -
        - -
      1. Create a new XML parser associated with the result - document.

      2. - -
      3. Pass this parser response's body.

      4. - -
      5. If there is an XML well-formedness or XML namespace well-formedness error, then remove - all child nodes from result. Otherwise let success be - true.

      6. - -
      - -
    21. - -
    22. - -

      Queue a task to run the following steps.

      - -
        - -
      1. Set the current document readiness of document to - "complete".

      2. - -
      3. Replace all the children of document by the children of result (even if it has no children), firing mutation events as if a - DocumentFragment containing the new children had been inserted.

      4. - - - -
      5. Fire a simple event named load at document.

      6. - -
      - -
    23. - -
    - -
    - -

    Elements