facebook/react — pull request #572 by cpojer (2013-11-20 01:13:19+00:00)
Title: Ensure ReactPerf always uses a string as a URL.

This is a pretty pointless exercise and it is mostly about fixing my not being in the contributors list.

Anyway, the reason I'm making this change is that I ran into a case where window.location.href was empty and URL.match would fail. It doesn't make a lot of sense to be in an environment where window exists and window.location.href does not, but in any case it is better to have an empty string instead of no string :)