Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Jari Bakken
RE: Trailing Anchor in URL Crashes [ reply ]  
2010-09-15 11:10
No, this probably is not a bug in Celerity, but in HtmlUnit. I can't say for sure unless you provide a way for me to reproduce the problem.

This seems to work fine:

browser.goto "http://google.com#blah";

By: Aaron Cheung
RE: Trailing Anchor in URL Crashes [ reply ]  
2010-09-14 20:05
Hi Jari,

I've done a little bit more digging, and it seems to be the javascript interpretation that is causing the crash. The reason I say this is because the page begins to render, but then doesn't completely finish.

I think that for some reason celerity continues to reload the contents of the page because I see repeated calls to the same external js file.

Am I right in saying I should still be looking for a patch within the celerity libraries and not htmlunit?

Thanks!
Aaron

By: Jari Bakken
RE: Trailing Anchor in URL Crashes [ reply ]  
2010-09-14 09:29
You'll want to report this to the HtmlUnit guys:

http://htmlunit.sourceforge.net

By: Aaron Cheung
Trailing Anchor in URL Crashes [ reply ]  
2010-09-14 03:42
Hi All,

I'm doing a straight-forward browser.goto('http://domain.com#').
or
browser.goto('http://domain.com#blah').

With javascript error logging turned on, all I see are repeated calls to an external js file, and then an out of memory traceback. It seems that the anchor tag in the URL is causing celerity to crash.

Does anybody know how to patch this, or know how to go about altering the library to figure out where exactly celerity is having trouble?

Thanks!!
Aaron