Bug 5219 - XSLT processing doesn't preserve document.URL
Summary: XSLT processing doesn't preserve document.URL
Alias: None
Product: WebKit
Classification: Unclassified
Component: XML (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Dave Hyatt
Depends on:
Reported: 2005-10-01 06:56 PDT by Alexey Proskuryakov
Modified: 2005-10-26 19:47 PDT (History)
0 users

See Also:

test case (2.89 KB, application/zip)
2005-10-01 06:57 PDT, Alexey Proskuryakov
no flags Details
proposed patch (1.14 KB, patch)
2005-10-01 06:59 PDT, Alexey Proskuryakov
eric: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2005-10-01 06:56:38 PDT
In an HTML result of XSLT processing, document.URL is empty.
Comment 1 Alexey Proskuryakov 2005-10-01 06:57:32 PDT
Created attachment 4129 [details]
test case
Comment 2 Alexey Proskuryakov 2005-10-01 06:59:32 PDT
Created attachment 4130 [details]
proposed patch

The test case doesn't work in Firefox as is (it crashes), but Firefox does have
the expected behavior of preserving document.URL.
Comment 3 Eric Seidel (no email) 2005-10-02 14:54:37 PDT
Comment on attachment 4130 [details]
proposed patch

Looks great.  r=me.
Comment 4 Michael Sinz 2005-10-26 19:47:08 PDT
Could this be the same problem that caused bug 4054?