mirror of
https://github.com/servo/servo.git
synced 2025-06-25 17:44:33 +01:00
Implement document.URL & document.documentURI
Specs: http://dom.spec.whatwg.org/#dom-document-url http://dom.spec.whatwg.org/#dom-document-documenturi This is a sub-task for #1428.
This commit is contained in:
parent
0777f211df
commit
43416ef91f
7 changed files with 64 additions and 14 deletions
|
@ -690,7 +690,7 @@ impl ScriptTask {
|
|||
// Parse HTML.
|
||||
//
|
||||
// Note: We can parse the next document in parallel with any previous documents.
|
||||
let document = HTMLDocument::new(window);
|
||||
let document = HTMLDocument::new(window, Some(url.clone()));
|
||||
let html_parsing_result = hubbub_html_parser::parse_html(cx.ptr,
|
||||
document,
|
||||
url.clone(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue