diff options
author | dglazkov@chromium.org <dglazkov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-12 18:03:46 +0000 |
---|---|---|
committer | dglazkov@chromium.org <dglazkov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-12 18:03:46 +0000 |
commit | 0eef5bb702e45fdf84a3c50d13e11425dea7b133 (patch) | |
tree | fc95ba23e054ec073df85b464b440604b1daf387 /webkit/data/layout_tests | |
parent | dd3f36ffb7b5ef1820c1df3a398b142848aeccde (diff) | |
download | chromium_src-0eef5bb702e45fdf84a3c50d13e11425dea7b133.zip chromium_src-0eef5bb702e45fdf84a3c50d13e11425dea7b133.tar.gz chromium_src-0eef5bb702e45fdf84a3c50d13e11425dea7b133.tar.bz2 |
Rebaseline a getter precedence tests.
TBR=japhet
TEST=none
BUG=10530
BUG=24205
Review URL: http://codereview.chromium.org/548010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36017 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/data/layout_tests')
4 files changed, 232 insertions, 0 deletions
diff --git a/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/dom/Window/window-function-frame-getter-precedence-expected.txt b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/dom/Window/window-function-frame-getter-precedence-expected.txt new file mode 100644 index 0000000..167af24 --- /dev/null +++ b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/dom/Window/window-function-frame-getter-precedence-expected.txt @@ -0,0 +1,58 @@ +This tests that a frame with a the same name as function on the window object, has precedence in the lookup. + +PASS: typeof window.getSelection should be object and is. +PASS: typeof window.focus should be object and is. +PASS: typeof window.blur should be object and is. +PASS: typeof window.close should be object and is. +PASS: typeof window.print should be object and is. +PASS: typeof window.stop should be object and is. +PASS: typeof window.alert should be object and is. +PASS: typeof window.confirm should be object and is. +PASS: typeof window.prompt should be object and is. +PASS: typeof window.find should be object and is. +PASS: typeof window.scrollBy should be object and is. +PASS: typeof window.scrollTo should be object and is. +PASS: typeof window.scroll should be object and is. +PASS: typeof window.moveBy should be object and is. +PASS: typeof window.moveTo should be object and is. +PASS: typeof window.resizeBy should be object and is. +PASS: typeof window.resizeTo should be object and is. +PASS: typeof window.getComputedStyle should be object and is. +PASS: typeof window.getMatchedCSSRules should be object and is. +PASS: typeof window.openDatabase should be object and is. +PASS: typeof window.postMessage should be object and is. +PASS: typeof window.atob should be object and is. +PASS: typeof window.btoa should be object and is. +PASS: typeof window.open should be object and is. +PASS: typeof window.setTimeout should be object and is. +PASS: typeof window.clearTimeout should be object and is. +PASS: typeof window.setInterval should be object and is. +PASS: typeof window.clearInterval should be object and is. +PASS: typeof window.addEventListener should be object and is. +PASS: typeof window.removeEventListener should be object and is. +PASS: typeof window.showModalDialog should be object and is. +PASS: typeof window.captureEvents should be object and is. +PASS: typeof window.releaseEvents should be object and is. +FAIL: typeof window.eval should be object but instead is function +FAIL: typeof window.parseInt should be object but instead is function +FAIL: typeof window.parseFloat should be object but instead is function +FAIL: typeof window.isNaN should be object but instead is function +FAIL: typeof window.isFinite should be object but instead is function +FAIL: typeof window.escape should be object but instead is function +FAIL: typeof window.unescape should be object but instead is function +FAIL: typeof window.decodeURI should be object but instead is function +FAIL: typeof window.decodeURIComponent should be object but instead is function +FAIL: typeof window.encodeURI should be object but instead is function +FAIL: typeof window.encodeURIComponent should be object but instead is function +PASS: typeof window.toString should be object and is. +PASS: typeof window.toLocaleString should be object and is. +PASS: typeof window.valueOf should be object and is. +PASS: typeof window.hasOwnProperty should be object and is. +PASS: typeof window.propertyIsEnumerable should be object and is. +PASS: typeof window.isPrototypeOf should be object and is. +PASS: typeof window.__defineGetter__ should be object and is. +PASS: typeof window.__defineSetter__ should be object and is. +PASS: typeof window.__lookupGetter__ should be object and is. +PASS: typeof window.__lookupSetter__ should be object and is. +FAIL: typeof window.myFunction should be object but instead is function +PASS: typeof window.myPrototypeFunction should be object and is. diff --git a/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/dom/Window/window-function-name-getter-precedence-expected.txt b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/dom/Window/window-function-name-getter-precedence-expected.txt new file mode 100644 index 0000000..26c5934 --- /dev/null +++ b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/dom/Window/window-function-name-getter-precedence-expected.txt @@ -0,0 +1,58 @@ +This tests that functions of the window object and it's prototype have precedence in lookup over elements with id's of the same name. + +PASS: typeof window.getSelection should be function and is. +PASS: typeof window.focus should be function and is. +PASS: typeof window.blur should be function and is. +PASS: typeof window.close should be function and is. +PASS: typeof window.print should be function and is. +PASS: typeof window.stop should be function and is. +PASS: typeof window.alert should be function and is. +PASS: typeof window.confirm should be function and is. +PASS: typeof window.prompt should be function and is. +PASS: typeof window.find should be function and is. +PASS: typeof window.scrollBy should be function and is. +PASS: typeof window.scrollTo should be function and is. +PASS: typeof window.scroll should be function and is. +PASS: typeof window.moveBy should be function and is. +PASS: typeof window.moveTo should be function and is. +PASS: typeof window.resizeBy should be function and is. +PASS: typeof window.resizeTo should be function and is. +PASS: typeof window.getComputedStyle should be function and is. +PASS: typeof window.getMatchedCSSRules should be function and is. +PASS: typeof window.openDatabase should be function and is. +PASS: typeof window.postMessage should be function and is. +PASS: typeof window.atob should be function and is. +PASS: typeof window.btoa should be function and is. +PASS: typeof window.open should be function and is. +PASS: typeof window.setTimeout should be function and is. +PASS: typeof window.clearTimeout should be function and is. +PASS: typeof window.setInterval should be function and is. +PASS: typeof window.clearInterval should be function and is. +PASS: typeof window.addEventListener should be function and is. +PASS: typeof window.removeEventListener should be function and is. +PASS: typeof window.showModalDialog should be function and is. +PASS: typeof window.captureEvents should be function and is. +PASS: typeof window.releaseEvents should be function and is. +PASS: typeof window.eval should be function and is. +PASS: typeof window.parseInt should be function and is. +PASS: typeof window.parseFloat should be function and is. +PASS: typeof window.isNaN should be function and is. +PASS: typeof window.isFinite should be function and is. +PASS: typeof window.escape should be function and is. +PASS: typeof window.unescape should be function and is. +PASS: typeof window.decodeURI should be function and is. +PASS: typeof window.decodeURIComponent should be function and is. +PASS: typeof window.encodeURI should be function and is. +PASS: typeof window.encodeURIComponent should be function and is. +PASS: typeof window.toString should be function and is. +PASS: typeof window.toLocaleString should be function and is. +PASS: typeof window.valueOf should be function and is. +PASS: typeof window.hasOwnProperty should be function and is. +PASS: typeof window.propertyIsEnumerable should be function and is. +PASS: typeof window.isPrototypeOf should be function and is. +PASS: typeof window.__defineGetter__ should be function and is. +PASS: typeof window.__defineSetter__ should be function and is. +PASS: typeof window.__lookupGetter__ should be function and is. +PASS: typeof window.__lookupSetter__ should be function and is. +PASS: typeof window.myFunction should be function and is. +PASS: typeof window.myPrototypeFunction should be function and is. diff --git a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/dom/Window/window-function-frame-getter-precedence-expected.txt b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/dom/Window/window-function-frame-getter-precedence-expected.txt new file mode 100644 index 0000000..167af24 --- /dev/null +++ b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/dom/Window/window-function-frame-getter-precedence-expected.txt @@ -0,0 +1,58 @@ +This tests that a frame with a the same name as function on the window object, has precedence in the lookup. + +PASS: typeof window.getSelection should be object and is. +PASS: typeof window.focus should be object and is. +PASS: typeof window.blur should be object and is. +PASS: typeof window.close should be object and is. +PASS: typeof window.print should be object and is. +PASS: typeof window.stop should be object and is. +PASS: typeof window.alert should be object and is. +PASS: typeof window.confirm should be object and is. +PASS: typeof window.prompt should be object and is. +PASS: typeof window.find should be object and is. +PASS: typeof window.scrollBy should be object and is. +PASS: typeof window.scrollTo should be object and is. +PASS: typeof window.scroll should be object and is. +PASS: typeof window.moveBy should be object and is. +PASS: typeof window.moveTo should be object and is. +PASS: typeof window.resizeBy should be object and is. +PASS: typeof window.resizeTo should be object and is. +PASS: typeof window.getComputedStyle should be object and is. +PASS: typeof window.getMatchedCSSRules should be object and is. +PASS: typeof window.openDatabase should be object and is. +PASS: typeof window.postMessage should be object and is. +PASS: typeof window.atob should be object and is. +PASS: typeof window.btoa should be object and is. +PASS: typeof window.open should be object and is. +PASS: typeof window.setTimeout should be object and is. +PASS: typeof window.clearTimeout should be object and is. +PASS: typeof window.setInterval should be object and is. +PASS: typeof window.clearInterval should be object and is. +PASS: typeof window.addEventListener should be object and is. +PASS: typeof window.removeEventListener should be object and is. +PASS: typeof window.showModalDialog should be object and is. +PASS: typeof window.captureEvents should be object and is. +PASS: typeof window.releaseEvents should be object and is. +FAIL: typeof window.eval should be object but instead is function +FAIL: typeof window.parseInt should be object but instead is function +FAIL: typeof window.parseFloat should be object but instead is function +FAIL: typeof window.isNaN should be object but instead is function +FAIL: typeof window.isFinite should be object but instead is function +FAIL: typeof window.escape should be object but instead is function +FAIL: typeof window.unescape should be object but instead is function +FAIL: typeof window.decodeURI should be object but instead is function +FAIL: typeof window.decodeURIComponent should be object but instead is function +FAIL: typeof window.encodeURI should be object but instead is function +FAIL: typeof window.encodeURIComponent should be object but instead is function +PASS: typeof window.toString should be object and is. +PASS: typeof window.toLocaleString should be object and is. +PASS: typeof window.valueOf should be object and is. +PASS: typeof window.hasOwnProperty should be object and is. +PASS: typeof window.propertyIsEnumerable should be object and is. +PASS: typeof window.isPrototypeOf should be object and is. +PASS: typeof window.__defineGetter__ should be object and is. +PASS: typeof window.__defineSetter__ should be object and is. +PASS: typeof window.__lookupGetter__ should be object and is. +PASS: typeof window.__lookupSetter__ should be object and is. +FAIL: typeof window.myFunction should be object but instead is function +PASS: typeof window.myPrototypeFunction should be object and is. diff --git a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/dom/Window/window-function-name-getter-precedence-expected.txt b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/dom/Window/window-function-name-getter-precedence-expected.txt new file mode 100644 index 0000000..26c5934 --- /dev/null +++ b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/dom/Window/window-function-name-getter-precedence-expected.txt @@ -0,0 +1,58 @@ +This tests that functions of the window object and it's prototype have precedence in lookup over elements with id's of the same name. + +PASS: typeof window.getSelection should be function and is. +PASS: typeof window.focus should be function and is. +PASS: typeof window.blur should be function and is. +PASS: typeof window.close should be function and is. +PASS: typeof window.print should be function and is. +PASS: typeof window.stop should be function and is. +PASS: typeof window.alert should be function and is. +PASS: typeof window.confirm should be function and is. +PASS: typeof window.prompt should be function and is. +PASS: typeof window.find should be function and is. +PASS: typeof window.scrollBy should be function and is. +PASS: typeof window.scrollTo should be function and is. +PASS: typeof window.scroll should be function and is. +PASS: typeof window.moveBy should be function and is. +PASS: typeof window.moveTo should be function and is. +PASS: typeof window.resizeBy should be function and is. +PASS: typeof window.resizeTo should be function and is. +PASS: typeof window.getComputedStyle should be function and is. +PASS: typeof window.getMatchedCSSRules should be function and is. +PASS: typeof window.openDatabase should be function and is. +PASS: typeof window.postMessage should be function and is. +PASS: typeof window.atob should be function and is. +PASS: typeof window.btoa should be function and is. +PASS: typeof window.open should be function and is. +PASS: typeof window.setTimeout should be function and is. +PASS: typeof window.clearTimeout should be function and is. +PASS: typeof window.setInterval should be function and is. +PASS: typeof window.clearInterval should be function and is. +PASS: typeof window.addEventListener should be function and is. +PASS: typeof window.removeEventListener should be function and is. +PASS: typeof window.showModalDialog should be function and is. +PASS: typeof window.captureEvents should be function and is. +PASS: typeof window.releaseEvents should be function and is. +PASS: typeof window.eval should be function and is. +PASS: typeof window.parseInt should be function and is. +PASS: typeof window.parseFloat should be function and is. +PASS: typeof window.isNaN should be function and is. +PASS: typeof window.isFinite should be function and is. +PASS: typeof window.escape should be function and is. +PASS: typeof window.unescape should be function and is. +PASS: typeof window.decodeURI should be function and is. +PASS: typeof window.decodeURIComponent should be function and is. +PASS: typeof window.encodeURI should be function and is. +PASS: typeof window.encodeURIComponent should be function and is. +PASS: typeof window.toString should be function and is. +PASS: typeof window.toLocaleString should be function and is. +PASS: typeof window.valueOf should be function and is. +PASS: typeof window.hasOwnProperty should be function and is. +PASS: typeof window.propertyIsEnumerable should be function and is. +PASS: typeof window.isPrototypeOf should be function and is. +PASS: typeof window.__defineGetter__ should be function and is. +PASS: typeof window.__defineSetter__ should be function and is. +PASS: typeof window.__lookupGetter__ should be function and is. +PASS: typeof window.__lookupSetter__ should be function and is. +PASS: typeof window.myFunction should be function and is. +PASS: typeof window.myPrototypeFunction should be function and is. |