Bug 967286 - Default to Layout.FRAME if layout type isn't specified (r=margaret)