WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
36881
document.write() isn't processed immediately before DOM access
https://bugs.webkit.org/show_bug.cgi?id=36881
Summary
document.write() isn't processed immediately before DOM access
Hajime Morrita
Reported
2010-03-31 05:02:09 PDT
Created
attachment 52152
[details]
reproduce Following results "SecondFirst". The result should be "FirstSecond": document.write("<div class='parent' id='innerHTMLTextDom'>"); document.write("First"); document.getElementById("innerHTMLTextDom").innerHTML += "Second"; document.write("</div>");
Attachments
reproduce
(2.29 KB, text/html)
2010-03-31 05:02 PDT
,
Hajime Morrita
no flags
Details
Patch
(1.76 KB, patch)
2010-08-16 00:21 PDT
,
Adam Barth
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2010-03-31 13:49:44 PDT
Related to
bug 8961
,
bug 25567
,
bug 36802
.
Adam Barth
Comment 2
2010-08-16 00:09:04 PDT
This is fixed on trunk, presumably when I fixed
Bug 8961
.
Adam Barth
Comment 3
2010-08-16 00:17:34 PDT
ap is going to ask me to land a test for this bug.
Adam Barth
Comment 4
2010-08-16 00:21:51 PDT
Created
attachment 64470
[details]
Patch
Alexey Proskuryakov
Comment 5
2010-08-16 00:30:51 PDT
Comment on
attachment 64470
[details]
Patch Thank you!
WebKit Commit Bot
Comment 6
2010-08-16 01:51:45 PDT
Comment on
attachment 64470
[details]
Patch Clearing flags on attachment: 64470 Committed
r65401
: <
http://trac.webkit.org/changeset/65401
>
WebKit Commit Bot
Comment 7
2010-08-16 01:51:50 PDT
All reviewed patches have been landed. Closing bug.
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