mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Responding to review comments.
This commit is contained in:
parent
79743b5358
commit
3f761bed53
4 changed files with 5 additions and 5 deletions
|
@ -498,7 +498,7 @@ unsafe fn build_mozbrowser_event_detail(event: MozBrowserEvent,
|
|||
}
|
||||
MozBrowserEvent::LocationChange(url, can_go_back, can_go_forward) => {
|
||||
BrowserElementLocationChangeEventDetail {
|
||||
url: Some(DOMString::from(url.as_str())),
|
||||
url: Some(DOMString::from(url)),
|
||||
canGoBack: Some(can_go_back),
|
||||
canGoForward: Some(can_go_forward),
|
||||
}.to_jsval(cx, rval);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue