servo: Merge #9840 - Update to rust-url 1.0 (from servo:url-1.0); r=asajeffrey
**Do not merge yet:** rust-url 1.0 is not published yet and may still get breaking changes. The goal of this PR for now is to demonstrate API usage. Depends on: * <s>https://github.com/servo/rust-url/pull/176</s> * <s>https://github.com/alexcrichton/cookie-rs/pull/42</s> * <s>https://github.com/hyperium/hyper/pull/740</s> * https://github.com/cyderize/rust-websocket/pull/70 * https://github.com/jgraham/webdriver-rust/pull/28 Source-Repo: https://github.com/servo/servo Source-Revision: 84ab7e9fe8f4a6528995eff3eb6e814cb724c364
This commit is contained in:
@@ -448,7 +448,7 @@ impl HTMLScriptElement {
|
||||
let window = window_from_node(self);
|
||||
let mut rval = RootedValue::new(window.get_cx(), UndefinedValue());
|
||||
window.evaluate_script_on_global_with_result(&*source,
|
||||
&*url.serialize(),
|
||||
url.as_str(),
|
||||
rval.handle_mut());
|
||||
|
||||
// Step 2.b.7.
|
||||
|
||||
Reference in New Issue
Block a user