mirror of
https://github.com/servo/servo.git
synced 2025-06-17 04:44:28 +00:00
URI to URL
trying to pass test - uri
This commit is contained in:
parent
09a39af1c1
commit
97eb594cc2
5 changed files with 7 additions and 7 deletions
|
@ -379,9 +379,9 @@ impl MozBrowserEventDetailBuilder for HTMLIFrameElement {
|
|||
MozBrowserEvent::TitleChange(ref string) => {
|
||||
string.to_jsval(cx, rval);
|
||||
}
|
||||
MozBrowserEvent::LocationChange(uri, can_go_back, can_go_forward) => {
|
||||
MozBrowserEvent::LocationChange(url, can_go_back, can_go_forward) => {
|
||||
BrowserElementLocationChangeEventDetail {
|
||||
uri: Some(DOMString::from(uri)),
|
||||
url: Some(DOMString::from(url)),
|
||||
canGoBack: Some(can_go_back),
|
||||
canGoForward: Some(can_go_forward),
|
||||
}.to_jsval(cx, rval);
|
||||
|
|
|
@ -64,7 +64,7 @@ dictionary BrowserElementErrorEventDetail {
|
|||
};
|
||||
|
||||
dictionary BrowserElementLocationChangeEventDetail {
|
||||
DOMString uri;
|
||||
DOMString url;
|
||||
boolean canGoBack;
|
||||
boolean canGoForward;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue