Explicitly place '/' before fragment for multipage spec links

This prevents us from 301 redirecting, which could cause the fragment to
get lost
This commit is contained in:
Corey Farwell 2015-10-10 12:07:10 -04:00
parent 85f2b6fc5b
commit 9b68d715de
97 changed files with 152 additions and 152 deletions

View file

@ -62,7 +62,7 @@ impl Worker {
WorkerBinding::Wrap)
}
// https://html.spec.whatwg.org/multipage#dom-worker
// https://html.spec.whatwg.org/multipage/#dom-worker
pub fn Constructor(global: GlobalRef, script_url: DOMString) -> Fallible<Root<Worker>> {
// Step 2-4.
let worker_url = match UrlParser::new().base_url(&global.get_url()).parse(&script_url) {