Auto merge of #23904 - paulrouget:loop2, r=gterzian

Better Hololens loop

Depends on #23900

Fix #23823

r? @gterzian

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23904)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2019-08-07 06:21:36 -04:00 committed by GitHub
commit 371f514664
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 165 additions and 58 deletions

View file

@ -490,7 +490,8 @@ impl ServoGlue {
.host_callbacks
.on_allow_navigation(url.to_string());
let window_event = WindowEvent::AllowNavigationResponse(pipeline_id, data);
let _ = self.process_event(window_event);
self.events.push(window_event);
let _ = self.perform_updates();
}
},
EmbedderMsg::HistoryChanged(entries, current) => {