-
aliceli1 authored
Reviewed by Geoff. Added tests for <rdar://problem/4548537> Document.domain and other attributes are blank for an iframe created with document.write * http/tests/misc/iframe-domain-test-expected.txt: Added. * http/tests/misc/iframe-domain-test.html: Added. WebCore: Reviewed by Geoff. Fixed <rdar://problem/4548537> Document.domain and other attributes are blank for an iframe created with document.write * dom/Document.cpp: (WebCore::Document::open): set the document's url to the parent's url and re-located the code that does this to occur before calling the frame's didExplicitOpen() * page/Frame.cpp: (WebCore::Frame::didExplicitOpen): set the frame's url to the document's url git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16081 268f45cc-cd09-0410-ab3c-d52691b4dbfc
4bd01007