#356 closed
Scriptish

Get QUnit 're-run' working (and cleanly)

Reported by Scriptish | September 18th, 2011 @ 09:53 PM

QUnit makes certain assumptions, such as the existence of window.location.search (for extracting params during initialization). Since it doesn't for about:scriptish?test, we should extract params a different way, such as:

params = (location.href.split( "?" )[1] || "").split( "&" )

Also, QUnit.url() doesn't create absolute links (it uses the non-existent location.pathname in our case). Perhaps this could be handled by adding QUnit.config.urlbase to optionally create an absolute URL in QUnit.url(). This would result in cleaner (i.e. not chrome://) URLs if "Re-Run" was clicked.

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Shared Ticket Bins

People watching this ticket

Tags