Bug 983920 - Port window.sidebar and window.external to WebIDL; r=bzbarsky