Open
Bug 1176706
Opened 9 years ago
Updated 2 years ago
Async write to blank document in new window is ignored if there were no sync write.
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
NEW
People
(Reporter: ettavolt, Unassigned)
References
(Depends on 1 open bug)
Details
(Keywords: testcase)
Attachments
(1 file, 1 obsolete file)
1.62 KB,
text/html
|
Details |
User Agent: Opera/12.16 (X11; Linux i686) Presto/2.12.388 Steps to reproduce: Script opens new window, does some AJAX, sends HTML with write(). Actual results: Nothing changes in new document by the time/after document.close(). It still has readyState 'uninitialized' (unspecified here: https://developer.mozilla.org/ru/docs/Web/API/Document/readyState), visibilityState 'hidden' and no content. Expected results: readyState 'complete' even before write is called (since there is a AJAX timeout), and graphical representation of written content after.
A bit wrong title. Actually only async write is ignored, and only if there was no sync write before.
Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core
Summary: First write to blank document in new window is ignored. → Async write to blank document in new window is ignored if there were no sync write.
Comment 3•4 years ago
|
||
The issue is that the async about:blank load loads a new document, so the write is happening on a no-longer-loaded document in the "Async" case in the testcase.
Aha, so the solution would have been to not preserve the reference to initial value of document of the new window.
Attachment #8625294 -
Attachment is obsolete: true
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•