mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Support stringifier attributes
This commit is contained in:
parent
97c01fc479
commit
691af0e98b
14 changed files with 11 additions and 73 deletions
|
@ -270,11 +270,6 @@ impl URLMethods for URL {
|
|||
.or_init(|| URLSearchParams::new(&self.global(), Some(self)))
|
||||
}
|
||||
|
||||
// https://url.spec.whatwg.org/#dom-url-href
|
||||
fn Stringifier(&self) -> DOMString {
|
||||
DOMString::from(self.Href().0)
|
||||
}
|
||||
|
||||
// https://url.spec.whatwg.org/#dom-url-username
|
||||
fn Username(&self) -> USVString {
|
||||
UrlHelper::Username(&self.url.borrow())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue