clean up spurious changes and todos with no action needed

This commit is contained in:
Delan Azabani 2023-03-21 13:48:28 +08:00
parent 65da7b668b
commit dd905d8434
3 changed files with 3 additions and 6 deletions

View file

@ -526,8 +526,9 @@ impl EventTarget {
let args = if is_error { ERROR_ARG_NAMES } else { ARG_NAMES };
let cx = window.get_cx();
let options =
unsafe { CompileOptionsWrapper::new(*cx, handler.url.as_str(), handler.line as u32) };
let options = unsafe {
CompileOptionsWrapper::new(*cx, &handler.url.to_string(), handler.line as u32)
};
// Step 3.9, subsection Scope steps 1-6
let scopechain = RootedObjectVectorWrapper::new(*cx);