Support arbitrary protos when wrapping DOM objects with constructors.

This commit is contained in:
Josh Matthews 2023-05-28 22:43:55 -04:00
parent d9600ff50f
commit dbff26bce0
197 changed files with 2028 additions and 586 deletions

View file

@ -146,7 +146,7 @@ pub fn Fetch(
let response = Response::new(global);
// Step 2
let request = match Request::Constructor(global, input, init) {
let request = match Request::Constructor(global, None, input, init) {
Err(e) => {
response.error_stream(e.clone());
promise.reject_error(e);