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+

Description Denis Nelubin 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.
Comment 1 Denis Nelubin 2008-04-01 03:28:59 PDT
Created attachment 20272 [details]
Simple testcase

Open index.html from the archive.
Comment 2 Denis Nelubin 2008-04-01 03:29:37 PDT
Created attachment 20273 [details]
Screenshot
Comment 3 Alexey Proskuryakov 2008-04-03 12:30:19 PDT
Created attachment 20318 [details]
proposed fix
Comment 4 Adam Roben (:aroben) 2008-04-16 10:24:33 PDT
Comment on attachment 20318 [details]
proposed fix

r=me
Comment 5 Alexey Proskuryakov 2008-04-16 10:33:02 PDT
Committed revision 31947.