-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve "completely loaded" specification
Closes #5796. This also makes <meta http-equiv="refresh">'s discussion of "seconds elapsed since document's has completed loaded" more rigorous, by explicitly saving the timestamp in a new field. Additionally, this fixes what is either a spec bug or a serious ambiguity. Previously, <iframe> and friends, when loading the initial about:blank, would fire two load events: one from explicit prose doing so in their sections, and one implicitly because one always gets fired when you set the "completely loaded" flag. It's possible that the spec meant to distinguish "mark the document as completely loaded" from the initial about:blank's "the document is completely loaded immediately", and have only the former trigger the reaction-at-a-distance that fired load events. In that case this change is an editorial clarification only, albeit quite a nice one as by moving the load firing into the initial about:blank creation, we deduplicate spec prose from the iframe/frame, embed, and object sections.
- Loading branch information
Showing
1 changed file
with
62 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters