Bug 838315 - Avoid race condition for switching during a seek r=cpearce
Bug 846888. Part 1. Update the in popup frame state bits when we swap docshells. r=mattwoodrow
Bug 846888. Part 2. List control frames are only display roots for popups when they are in dropdown state, so use the IsPopup function in nsLayoutUtils to determine that when setting popup state bits on frames. r=mats