mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Make reflect_dom_object take a &GlobalScope
This commit is contained in:
parent
093b189b48
commit
fcb59d3057
132 changed files with 488 additions and 407 deletions
|
@ -71,7 +71,7 @@ pub fn Fetch(global: GlobalRef, input: RequestOrUSVString, init: &RequestInit) -
|
|||
|
||||
// Step 1
|
||||
let promise = Promise::new(global);
|
||||
let response = Response::new(global);
|
||||
let response = Response::new(global.as_global_scope());
|
||||
|
||||
// Step 2
|
||||
let request = match Request::Constructor(global, input, init) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue