WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
33777
Iframe readyState is equal to "complete" when the Dom is still not ready.
https://bugs.webkit.org/show_bug.cgi?id=33777
Summary
Iframe readyState is equal to "complete" when the Dom is still not ready.
Grant Galitz
Reported
2010-01-17 17:25:21 PST
When a form targets an iframe, the iframe's readyState equals complete one millisecond too early. This is seen by the fact the Dom has a root element of HTML that has no children. Though one millisecond later the Dom is mapped outand has children. The iframe is an XML document.
Attachments
Add attachment
proposed patch, testcase, etc.
Grant Galitz
Comment 1
2010-01-17 17:29:29 PST
ThIs breaks the iframe POST Ajax method
Xavier Morel
Comment 2
2011-09-08 07:44:33 PDT
I guess this trunk revision was merged into Safari 5.1, because I now see this problem any time I try to get the result of an interaction uploading a file (e.g. via the jquery.forms plugin).
Alexey Proskuryakov
Comment 3
2011-09-08 22:33:38 PDT
Does any standard specify readyState? If it's about network loading, then it seems reasonable that it can be complete before parsing is done. Do you have a complete test case that you could attach to the bug?
Karl Dubost
Comment 4
2024-05-09 00:47:32 PDT
> Returns "loading" while the Document is loading, "interactive" once it is finished parsing but still loading subresources, and "complete" once it has loaded.
https://html.spec.whatwg.org/multipage/dom.html#reporting-document-loading-status
This requires a test. complete means all the subresources have been loaded.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug