Skip to content

Commit 72bfee2

Browse files
committed
[rb32] fix window.open
1 parent 1995a70 commit 72bfee2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/nw_shell.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -534,6 +534,10 @@ void Shell::WebContentsCreated(WebContents* source_contents,
534534

535535
// don't pass the url on window.open case
536536
Shell::Create(source_contents, GURL::EmptyGURL(), manifest.get(), new_contents);
537+
538+
// in Chromium 32 RenderViewCreated will not be called so the case
539+
// should be handled here
540+
new nwapi::DispatcherHost(new_contents->GetRenderViewHost());
537541
}
538542

539543
#if defined(OS_WIN)

0 commit comments

Comments
 (0)