mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
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:
parent
85f2b6fc5b
commit
9b68d715de
97 changed files with 152 additions and 152 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue