summaryrefslogtreecommitdiffstats
path: root/chrome_frame/test
diff options
context:
space:
mode:
authorslightlyoff@chromium.org <slightlyoff@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-19 03:54:51 +0000
committerslightlyoff@chromium.org <slightlyoff@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-19 03:54:51 +0000
commit049991792da2227508aaeef253a40408451893bd (patch)
tree4ab2c81145415b32165be61288f5e41dc642b666 /chrome_frame/test
parent13c30929c4c0daaf891554ddb52ebebb80a36afa (diff)
downloadchromium_src-049991792da2227508aaeef253a40408451893bd.zip
chromium_src-049991792da2227508aaeef253a40408451893bd.tar.gz
chromium_src-049991792da2227508aaeef253a40408451893bd.tar.bz2
Updates test to use new document location for overlay nodes.
BUG=none TEST=none TBR=iyengar Review URL: http://codereview.chromium.org/405029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32489 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/test')
-rw-r--r--chrome_frame/test/data/CFInstall_overlay.html10
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;
}