pub trait LocationMethods {
Show 20 methods
// Required methods
fn GetHref(&self) -> Result<USVString, Error>;
fn SetHref(&self, value: USVString, _can_gc: CanGc) -> Result<(), Error>;
fn GetOrigin(&self) -> Result<USVString, Error>;
fn GetProtocol(&self) -> Result<USVString, Error>;
fn SetProtocol(&self, value: USVString, _can_gc: CanGc) -> Result<(), Error>;
fn GetHost(&self) -> Result<USVString, Error>;
fn SetHost(&self, value: USVString, _can_gc: CanGc) -> Result<(), Error>;
fn GetHostname(&self) -> Result<USVString, Error>;
fn SetHostname(&self, value: USVString, _can_gc: CanGc) -> Result<(), Error>;
fn GetPort(&self) -> Result<USVString, Error>;
fn SetPort(&self, value: USVString, _can_gc: CanGc) -> Result<(), Error>;
fn GetPathname(&self) -> Result<USVString, Error>;
fn SetPathname(&self, value: USVString, _can_gc: CanGc) -> Result<(), Error>;
fn GetSearch(&self) -> Result<USVString, Error>;
fn SetSearch(&self, value: USVString, _can_gc: CanGc) -> Result<(), Error>;
fn GetHash(&self) -> Result<USVString, Error>;
fn SetHash(&self, value: USVString, _can_gc: CanGc) -> Result<(), Error>;
fn Assign(&self, url: USVString, _can_gc: CanGc) -> Result<(), Error>;
fn Replace(&self, url: USVString, _can_gc: CanGc) -> Result<(), Error>;
fn Reload(&self, _can_gc: CanGc) -> Result<(), Error>;
}