Bug 24963

Summary: xml-stylesheet applied in frame has wrong window.location
Product: WebKit Reporter: James Leigh <james-nospam>
Component: FramesAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: ap
Priority: P2    
Version: 525.x (Safari 3.2)   
Hardware: PC   
OS: All   
Attachments:
Description Flags
demostration files none

Description James Leigh 2009-03-31 12:51:23 PDT
When an xml page is loaded in an iframe with an xml-stylesheet (xslt) the javascript window object in the frame has the wrong location. The window object in the frame has the value of the parent window. However, the value of document.documentURI is the correct value of the frame location.
Comment 1 Mark Rowe (bdash) 2009-03-31 14:48:38 PDT
Can you provide a test case that demonstrates this problem?
Comment 2 James Leigh 2009-03-31 15:37:17 PDT
Created attachment 29138 [details]
demostration files
Comment 3 Alexey Proskuryakov 2009-04-01 04:45:35 PDT
I can reproduce this with Safari/WebKit 3.2.1, but not with a local debug build of r42148. Could you please try a recent nightly build from <http://nightly.webkit.org>?
Comment 4 James Leigh 2009-04-01 05:59:40 PDT
I was not able to install a nightly build on windows XP.