Summary: | document.write() inside an <iframe src> does not work | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Sridhar Gurivireddy <just1gb> | ||||||
Component: | DOM | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED DUPLICATE | ||||||||
Severity: | Normal | CC: | abarth, ap | ||||||
Priority: | P2 | ||||||||
Version: | 523.x (Safari 3) | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Attachments: |
|
Description
Sridhar Gurivireddy
2007-07-12 17:03:26 PDT
Created attachment 15496 [details]
test case
Not a regression as the reduction behaves the same way with Safari 2.0.4 (419.3) with original WebKit on Mac OS X 10.4.10 (2R218). Tested with a local debug build of WebKit r24285 with Safari 3.0 (522.12) on 10.410. (In reply to comment #2) > Created an attachment (id=15496) [edit] > test case FWIW, this test case caused a crash in Firefox 2.0.0.4: https://bugzilla.mozilla.org/show_bug.cgi?id=388181 Created attachment 15695 [details]
Testcase.. 2 files
2 file testcase in ZIP....
test.html opens up an iframe which uses document.write.
I believe the bug description is wrong, and the test case provide demonstrates a different bug? Can you really put framecontent inline with the mainpage? I've never seen that be done.
I beleive basically the bug here is that document.write() does not update the content until document.close() is called. javascript:document.write("sridhar") does not work in Safari, while javascript:document.write("sridhar");document.close(); works (In reply to comment #6) > I beleive basically the bug here is that document.write() does not update the > content until document.close() is called. This sounds like a duplicate of bug 8961. |