Use GatherURL in ParseNameSpaceRule and ParseImageRect, and rename GatherURL to ParseURLOrString for clarity. (
Bug 604179, patch 1) r=bzbarsky
Note that this adds a missing UngetToken(), which affects the other
consumer of GatherURL, parsing of @import rules.
<!DOCTYPE HTML>
<title>Test for unexpected end of @import</title>
<style>div { color: red }</style>
<style>@media ; div { color: green; }</style>
<div>This should be green</div>