Only first call to window.close() would have an effect

This is a workaround for https://bugs.webkit.org/show_bug.cgi?id=121232
This commit is contained in:
Allan Odgaard
2013-09-12 19:10:03 +02:00
parent 776a8d46d9
commit e4a5db0f3b
8 changed files with 18 additions and 2 deletions

View File

@@ -93,6 +93,11 @@ static std::multimap<oak::uuid_t, HTMLOutputWindowController*> Windows;
return runner->running();
}
- (BOOL)needsNewWebView
{
return _htmlOutputView.needsNewWebView;
}
- (void)tearDown
{
foreach(it, Windows.lower_bound(runner->uuid()), Windows.upper_bound(runner->uuid()))