Skip to content

Commit

Permalink
Print an error if Glutin port needs to manage a new tab
Browse files Browse the repository at this point in the history
  • Loading branch information
paulrouget committed Nov 6, 2019
1 parent 8abc272 commit d779573
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ports/glutin/browser.rs
Expand Up @@ -346,6 +346,8 @@ where
self.browsers.push(new_browser_id);
if self.browser_id.is_none() {
self.browser_id = Some(new_browser_id);
} else {
error!("Multiple top level browsing contexts not supported yet.");
}
self.event_queue
.push(WindowEvent::SelectBrowser(new_browser_id));
Expand Down

0 comments on commit d779573

Please sign in to comment.