pub fn update_location(global: &Rc<RefCell<Scope>>, url: &str)
グローバルの location オブジェクトの各成分を url から更新する(メソッドは保持)。