diff --git a/source b/source index 1f4439d93a2..50b6a4f4f75 100644 --- a/source +++ b/source @@ -9009,8 +9009,7 @@ o.myself = o;
When a Document
is created by a script using
the createDocument()
or createHTMLDocument()
the
- Document
is both ready for post-load tasks and completely
- loaded immediately.
Document
is ready for post-load tasks immediately.
The document's referrer is a string (representing a URL)
that can be set when the Document
is created. If it is not explicitly set, then its
@@ -14595,8 +14594,8 @@ people expect to have work and what is necessary.
the later of the following two conditions occurs:
Otherwise, if element has no src
- attribute specified, and initialInsertion is true, then queue an element
- task on the DOM manipulation task source given element and the
- iframe load event steps.
Otherwise, run the otherwise steps for iframe
or frame
- elements given element.
Otherwise, if initialInsertion is false, run the otherwise steps for
+ iframe
or frame
elements given element.
The otherwise steps for iframe
or frame
elements, given an
@@ -30135,9 +30129,6 @@ interface HTMLIFrameElement : HTMLElement {
-
When a Document
in an iframe
is marked as completely
- loaded, the user agent must run the iframe load event steps.
A load
event is also fired at the
iframe
element when it is created if no other data is loaded in it.
Document
is created, these flags must be unset for
that Document
.
- The iframe load event steps are as follows:
+To run the iframe load event steps, given an iframe
element
+ element:
Let child document be the active document of the
- iframe
element's nested browsing context (which cannot be null at this
- point).
Assert: element's nested browsing context is not null.
If child document has its mute iframe load flag set, +
Let childDocument be the active document of element's + nested browsing context.
If childDocument has its mute iframe load flag set, then return.
Set child document's iframe load in progress - flag.
Set childDocument's iframe load in progress flag.
Fire an event named load
at the iframe
element.
Unset child document's iframe load in progress - flag.
Unset childDocument's iframe load in progress flag.
This, in conjunction with scripting, can be used to probe the URL space of the @@ -30799,12 +30790,6 @@ interface HTMLEmbedElement : HTMLElement {
element now represents its nested browsing context.
When the Document
of element's nested browsing
- context is marked as completely loaded, queue an element
- task on the DOM manipulation task source given element to
- fire an event named load
at element.
object
element doesn't
get updated if the browsing context gets further navigated to other locations.)
- If the URL of the given resource is about:blank
, then,
- instead, the user agent must queue an element task on the DOM
- manipulation task source given the object
element to fire an event named load
- at the object
element. No load
event is fired at the about:blank
document
- itself.
The object
element represents its nested browsing
context.
Return. Once the resource is completely loaded, queue an element task on the
- DOM manipulation task source given the object
element to fire an event named load
- at the element.
If the object
element does not represent its nested browsing
+ context, then once the resource is completely loaded, queue an element
+ task on the DOM manipulation task source given the object
+ element to fire an event named load
at the element.
If the element does represent its nested browsing
+ context, then an analogous task will be queued when the created Document
+ is completely finished loading.
Return.
Ensure that document has a single child html
node, which itself
has two empty child nodes: a head
element, and a body
element.
Add document to browsingContext's session history.
Completely finish loading document.
Return browsingContext.
The persisted
attribute must
return the value it was initialized to. It represents the context information for the event.
A Document
has a completely loaded time (a time or null), which is
+ initially null.
A Document
is considered completely loaded if its completely
+ loaded time is non-null.
+
+
To completely finish loading a Document
document:
Assert: document's browsing context + is non-null.
Set document's completely loaded time to the current + time.
Let container be document's browsing context's container.
If container is an iframe
element, then queue an element
+ task on the DOM manipulation task source given container to run
+ the iframe load event steps given container.
Otherwise, if container is non-null, then queue an element task on
+ the DOM manipulation task source given container to fire an event named load
at
+ container.
The Document
is now ready for post-load tasks.
Queue a global task on the DOM manipulation task source given
- the Document
's relevant global object to mark the Document
- as completely loaded.
Completely finish loading the Document
.
When the user agent is to abort a parser, it must run the following steps:
@@ -115733,22 +115746,12 @@ interface HTMLFrameSetElement : HTMLElement { data-x="process-frame-initial-insertion">initialInsertion:If element has no src
attribute
- specified, and initialInsertion is true, then queue an element task on
- the DOM manipulation task source given element to fire an event named load
at
- element.
If initialInsertion is true, then do nothing.
Otherwise, run the otherwise steps for iframe
or frame
elements given element.
When a Document
in a frame
is marked as completely
- loaded, the user agent must fire an event named
- load
at the frame
element.
The frame
element potentially delays the load event.