mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Auto merge of #24672 - paulrouget:24400, r=jdm
Print an error if Glutin port needs to manage a new tab When a tab needs to be created because the user clicks on a link with a `target=…` attribute, the Glutin port just ignores it, creating weird behaviors. We should at least print an error.
This commit is contained in:
commit
a33d493a4f
1 changed files with 2 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue