Closed
Bug 1253178
Opened 10 years ago
Closed 10 years ago
Page doesn't load completely when using document.write and failing to call document.close
Categories
(Firefox :: Address Bar, defect)
Firefox
Address Bar
Tracking
()
RESOLVED
INVALID
People
(Reporter: pauly, Unassigned)
References
Details
[Note]:
- follow-up of bug 1228754
[Affected versions]:
- 45, 46.0a2 (2016-03-02), 47.0a1 (2016-03-02)
[Affected platforms]:
- all
[Steps to reproduce]:
1. Open https://bugzilla.mozilla.org/attachment.cgi?id=8695015 (testcase in bug 1228754)
2. Press on "Click here"
[Expected result]:
- Page should load completely
- Inspector should work fine
[Actual result]:
- Tab circle spins forever
- If you open the Inspector, you'll see it's frozen and it cannot be closed
[Regression range]:
- not a regression
Comment 1•10 years ago
|
||
So this is because the code calls document.write() after a document has already loaded, and doesn't call document.close, see https://developer.mozilla.org/en-US/docs/Web/API/Document/open#Notes .
This is expected and basically a "broken website", but nothing else.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
Updated•10 years ago
|
Summary: Page doesn't load completely using javascript URI scheme (spoof) → Page doesn't load completely when using document.write and failing to call document.close
You need to log in
before you can comment on or make changes to this bug.
Description
•