Bug 958674 - Paint popup synchronously when showing the window, like we do for normal windows. r=smichaud

--HG--
extra : rebase_source : f0c62a48c4410ad293f8a9ed0b4a1b30abe349e9
Bug 958674 - Return true from nsCocoaWindow::IsVisible while nsCocoaWindow::Show(true) is running. r=smichaud

--HG--
extra : rebase_source : 566f89c38316440243b178eb46d5048bcf416a32