window-function-name-getter-precedence-expected.txt 3.33 KB
Newer Older
weinig@apple.com's avatar
weinig@apple.com committed
1
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.
weinig's avatar
weinig committed
2

weinig@apple.com's avatar
weinig@apple.com committed
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
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.
FAIL: typeof window.showModalDialog should be function but instead is undefined
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.
weinig@apple.com's avatar
weinig@apple.com committed
47 48 49 50 51 52 53 54 55 56
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.
weinig@apple.com's avatar
weinig@apple.com committed
57 58
PASS: typeof window.myFunction should be function and is.
PASS: typeof window.myPrototypeFunction should be function and is.