Bug 24963 - xml-stylesheet applied in frame has wrong window.location
Summary: xml-stylesheet applied in frame has wrong window.location
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: Frames (show other bugs)
Version: 525.x (Safari 3.2)
Hardware: PC All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-31 12:51 PDT by James Leigh
Modified: 2009-04-01 05:59 PDT (History)
1 user (show)

See Also:


Attachments
demostration files (940 bytes, application/x-zip-compressed)
2009-03-31 15:37 PDT, James Leigh
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.