mirror of
https://github.com/servo/servo.git
synced 2025-08-16 02:45:36 +01:00
Add a spec link for the Worker constructor.
This commit is contained in:
parent
9524f8daa7
commit
ca2a5f150d
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ impl Worker {
|
|||
WorkerBinding::Wrap)
|
||||
}
|
||||
|
||||
// http://www.whatwg.org/html/#dom-worker
|
||||
pub fn Constructor(global: &GlobalRef, scriptURL: DOMString) -> Fallible<Temporary<Worker>> {
|
||||
// Step 2-4.
|
||||
let worker_url = match try_parse_url(scriptURL.as_slice(), Some(global.get_url())) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue