diff options
-rw-r--r-- | chrome_frame/test/data/CFInstall_overlay.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome_frame/test/data/CFInstall_overlay.html b/chrome_frame/test/data/CFInstall_overlay.html index 1d17422..0478b2f 100644 --- a/chrome_frame/test/data/CFInstall_overlay.html +++ b/chrome_frame/test/data/CFInstall_overlay.html @@ -39,16 +39,16 @@ return; } - var lc = document.body.lastChild; + var fc = document.body.firstChild; - if (lc.nodeType != 1 || !lc.firstChild && - lc.firstChild != byId('chromeFrameOverlayUnderlay')) { + if (fc.nodeType != 1 || !fc.firstChild && + fc.firstChild != byId('chromeFrameOverlayUnderlay')) { onFailure(testName, 1, 'underlay placed incorrectly'); return; } - if (lc.nodeType != 1 || !lc.firstChild && - lc.firstChild.nextSibling != byId('chromeFrameOverlayContent')) { + if (fc.nodeType != 1 || !fc.firstChild && + fc.nextSibling != byId('chromeFrameOverlayContent')) { onFailure(testName, 1, 'prompt placed incorrectly'); return; } |