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

2010-06-10 Thread David Kilzer
I think you want: window.location.hash = 'name1'; I'm sure there are other layout tests that set the hash property, so you might search for them to get some ideas about how to build your test. Dave -- Sent from my iPhone 3GS On Jun 7, 2010, at 2:04 PM, Chris Fleizach cfleiz...@apple.com

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

2010-06-07 Thread Chris Fleizach
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

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

2010-06-07 Thread Adam Barth
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 cfleiz...@apple.com wrote: Hello, I need to write a layout test where the document's URL will be reported as