[webkit-dev] LayoutTest with a fragment reported as the document URL?

Chris Fleizach cfleizach at apple.com
Mon Jun 7 14:04:42 PDT 2010


I'd like the loaded page to be a url like

>> http://layouttest/new-test.html#segment

so that

m_renderer->document()->url();

returns http://layouttest/new-test.html#segment


On Jun 7, 2010, at 1:27 PM, Adam Barth wrote:

> I'd like to help you, but I don't know what you mean by "the
> document's URL will be reported as".  Reported to whom via what?
> 
> Adam
> 
> 
> On Mon, Jun 7, 2010 at 12:37 PM, Chris Fleizach <cfleizach at apple.com> wrote:
>> Hello,
>> I need to write a layout test where the document's URL will be reported as
>> http://layouttest/new-test.html#segment
>> I tried
>> window.location = url + "#name1";
>> but that doesn't work
>> any ideas?
>> thanks
>> _______________________________________________
>> webkit-dev mailing list
>> webkit-dev at lists.webkit.org
>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>> 
>> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20100607/2c1ab252/attachment.html>


More information about the webkit-dev mailing list