Skip to main content

assign_location

Function assign_location 

Source
pub fn assign_location(url: &str)
Expand description

Another document loads at url — a link followed, or a request_load carried out. The page that asked is gone; the location and the back stack move to url; the load is the first thing the new document’s navigation log records (RouteOp::Load); and the document is empty, since what url serves is another page’s content, outside the page under test. The test’s own answers for requests survive, as they do across a reload.