Bug 1009271 - only create PopupWindow for http/https url