Bug 18259

Summary: XML+XSLT pages in iframe contains document.location of a parent window
Product: WebKit Reporter: Denis Nelubin <dnelubin>
Component: FramesAssignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal CC: sam
Priority: P2    
Version: 525.x (Safari 3.1)   
Hardware: PC   
OS: Windows XP   
Attachments:
Description Flags
Simple testcase
none
Screenshot
none
proposed fix aroben: review+

Denis Nelubin
Reported 2008-04-01 03:27:20 PDT
When you load to iframe not HTML but XML page with XSLT transformation, you'll get incorrect document.location value. JavaScript in the iframe shows location of the parent window.
Attachments
Simple testcase (2.06 KB, application/octet-stream)
2008-04-01 03:28 PDT, Denis Nelubin
no flags
Screenshot (47.90 KB, image/png)
2008-04-01 03:29 PDT, Denis Nelubin
no flags
proposed fix (5.10 KB, patch)
2008-04-03 12:30 PDT, Alexey Proskuryakov
aroben: review+
Denis Nelubin
Comment 1 2008-04-01 03:28:59 PDT
Created attachment 20272 [details] Simple testcase Open index.html from the archive.
Denis Nelubin
Comment 2 2008-04-01 03:29:37 PDT
Created attachment 20273 [details] Screenshot
Alexey Proskuryakov
Comment 3 2008-04-03 12:30:19 PDT
Created attachment 20318 [details] proposed fix
Adam Roben (:aroben)
Comment 4 2008-04-16 10:24:33 PDT
Comment on attachment 20318 [details] proposed fix r=me
Alexey Proskuryakov
Comment 5 2008-04-16 10:33:02 PDT
Committed revision 31947.
Note You need to log in before you can comment on or make changes to this bug.