Bug 947527 - Correct waitForPageIndex output per device. r=margaret