diff options
author | ager@chromium.org <ager@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-30 09:55:51 +0000 |
---|---|---|
committer | ager@chromium.org <ager@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-30 09:55:51 +0000 |
commit | 4ae049a795e55f7b6e6d8c8cc9966e50fcb622bf (patch) | |
tree | 259653e44aaa77051cbe493491f4a74277fe6930 /webkit/data | |
parent | b046d241e0a5b3d31d94419751b944c078706ca4 (diff) | |
download | chromium_src-4ae049a795e55f7b6e6d8c8cc9966e50fcb622bf.zip chromium_src-4ae049a795e55f7b6e6d8c8cc9966e50fcb622bf.tar.gz chromium_src-4ae049a795e55f7b6e6d8c8cc9966e50fcb622bf.tar.bz2 |
Remove Linux expectations that are not needed because they are
identical to the Windows expectations (and Linux falls back to Windows
results).
Review URL: http://codereview.chromium.org/19500
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8958 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/data')
8 files changed, 0 insertions, 225 deletions
diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/dom/Window/README b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/dom/Window/README deleted file mode 100644 index 5f5d40e..0000000 --- a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/dom/Window/README +++ /dev/null @@ -1,6 +0,0 @@ -This file documents why the various tests have been rebaselined. - -window-custom-property ----------------------- -V8 uses the string 'Cyclic' compared to KJS's 'cyclic' for the -exception, resulting in different test results. diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/dom/Window/window-custom-prototype-expected.txt b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/dom/Window/window-custom-prototype-expected.txt deleted file mode 100644 index 3058e6a..0000000 --- a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/dom/Window/window-custom-prototype-expected.txt +++ /dev/null @@ -1,21 +0,0 @@ -Test what happens when you set the window's prototype to various values. - -On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". - - -FAIL __proto__ = window; __proto should throw Error: cyclic __proto__ value. Threw exception Error: Cyclic __proto__ value. -FAIL __proto__ = chainPointingBackToWindow; __proto__ should throw Error: cyclic __proto__ value. Threw exception Error: Cyclic __proto__ value. -PASS __proto__ = 1; __proto__ is originalWindowPrototype -PASS __proto__ = 'a string'; __proto__ is originalWindowPrototype -PASS __proto__ = anotherObject; __proto__ is anotherObject -FAIL anotherObject.__proto__ = window; __proto__ should throw Error: cyclic __proto__ value. Threw exception Error: Cyclic __proto__ value. -PASS __proto__ = null; __proto__ is null -PASS __proto__ = 1; __proto__ is null -PASS __proto__ = 'a string'; __proto__ is null -PASS __proto__ = anotherObject; __proto__ is anotherObject -PASS __proto__ = originalWindowPrototype; __proto__ is originalWindowPrototype -PASS anotherObject.__proto__ = window; anotherObject.__proto__ is window -PASS successfullyParsed is true - -TEST COMPLETE - diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/js/README b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/js/README deleted file mode 100644 index 88a88e1..0000000 --- a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/js/README +++ /dev/null @@ -1,22 +0,0 @@ -This file documents why the various tests have been rebaselined. - -eval-keyword-vs-function -eval-cross-window --------------------------- -Only difference is the value of toString() on the window object. - -constructor-attributes --------------------------- -The only difference is that V8 defines the constructor attribute on the -prototype for DOM objects just as for other objects. -The V8 implementation is consistent with the JavaScript specification and IE. - -function-dot-arguments-and-caller --------------------------- -The only difference is that V8 defines the caller of a custom toString function -as the function that calls toString() on the object. This treatment is -consistent with Firefox. - -exception-thrown-from-new --------------------------- -Exception text is different in v8 diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/js/constructor-attributes-expected.txt b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/js/constructor-attributes-expected.txt deleted file mode 100644 index fbec5d1..0000000 --- a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/js/constructor-attributes-expected.txt +++ /dev/null @@ -1,85 +0,0 @@ -This test checks that constructor properties are not enumeratable, but are writable deletable. - -On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". - - -PASS (function () { }).prototype.hasOwnProperty('constructor') is true -PASS canEnum((function () { }).prototype, 'constructor') is false -PASS x = (function () { }).prototype; x.constructor = 4; x.constructor is 4 -PASS x = (function () { }).prototype; delete x.constructor; x.hasOwnProperty('constructor') is false -PASS declaredFunction.prototype.hasOwnProperty('constructor') is true -PASS canEnum(declaredFunction.prototype, 'constructor') is false -PASS x = declaredFunction.prototype; x.constructor = 4; x.constructor is 4 -PASS x = declaredFunction.prototype; delete x.constructor; x.hasOwnProperty('constructor') is false -PASS (new Function).prototype.hasOwnProperty('constructor') is true -PASS canEnum((new Function).prototype, 'constructor') is false -PASS x = (new Function).prototype; x.constructor = 4; x.constructor is 4 -PASS x = (new Function).prototype; delete x.constructor; x.hasOwnProperty('constructor') is false -PASS Array.prototype.hasOwnProperty('constructor') is true -PASS canEnum(Array.prototype, 'constructor') is false -PASS x = Array.prototype; x.constructor = 4; x.constructor is 4 -PASS x = Array.prototype; delete x.constructor; x.hasOwnProperty('constructor') is false -PASS Boolean.prototype.hasOwnProperty('constructor') is true -PASS canEnum(Boolean.prototype, 'constructor') is false -PASS x = Boolean.prototype; x.constructor = 4; x.constructor is 4 -PASS x = Boolean.prototype; delete x.constructor; x.hasOwnProperty('constructor') is false -PASS Date.prototype.hasOwnProperty('constructor') is true -PASS canEnum(Date.prototype, 'constructor') is false -PASS x = Date.prototype; x.constructor = 4; x.constructor is 4 -PASS x = Date.prototype; delete x.constructor; x.hasOwnProperty('constructor') is false -PASS Error.prototype.hasOwnProperty('constructor') is true -PASS canEnum(Error.prototype, 'constructor') is false -PASS x = Error.prototype; x.constructor = 4; x.constructor is 4 -PASS x = Error.prototype; delete x.constructor; x.hasOwnProperty('constructor') is false -PASS EvalError.prototype.hasOwnProperty('constructor') is true -PASS canEnum(EvalError.prototype, 'constructor') is false -PASS x = EvalError.prototype; x.constructor = 4; x.constructor is 4 -PASS x = EvalError.prototype; delete x.constructor; x.hasOwnProperty('constructor') is false -PASS Function.prototype.hasOwnProperty('constructor') is true -PASS canEnum(Function.prototype, 'constructor') is false -PASS x = Function.prototype; x.constructor = 4; x.constructor is 4 -PASS x = Function.prototype; delete x.constructor; x.hasOwnProperty('constructor') is false -PASS Number.prototype.hasOwnProperty('constructor') is true -PASS canEnum(Number.prototype, 'constructor') is false -PASS x = Number.prototype; x.constructor = 4; x.constructor is 4 -PASS x = Number.prototype; delete x.constructor; x.hasOwnProperty('constructor') is false -PASS Object.prototype.hasOwnProperty('constructor') is true -PASS canEnum(Object.prototype, 'constructor') is false -PASS x = Object.prototype; x.constructor = 4; x.constructor is 4 -PASS x = Object.prototype; delete x.constructor; x.hasOwnProperty('constructor') is false -PASS RangeError.prototype.hasOwnProperty('constructor') is true -PASS canEnum(RangeError.prototype, 'constructor') is false -PASS x = RangeError.prototype; x.constructor = 4; x.constructor is 4 -PASS x = RangeError.prototype; delete x.constructor; x.hasOwnProperty('constructor') is false -PASS ReferenceError.prototype.hasOwnProperty('constructor') is true -PASS canEnum(ReferenceError.prototype, 'constructor') is false -PASS x = ReferenceError.prototype; x.constructor = 4; x.constructor is 4 -PASS x = ReferenceError.prototype; delete x.constructor; x.hasOwnProperty('constructor') is false -PASS RegExp.prototype.hasOwnProperty('constructor') is true -PASS canEnum(RegExp.prototype, 'constructor') is false -PASS x = RegExp.prototype; x.constructor = 4; x.constructor is 4 -PASS x = RegExp.prototype; delete x.constructor; x.hasOwnProperty('constructor') is false -PASS String.prototype.hasOwnProperty('constructor') is true -PASS canEnum(String.prototype, 'constructor') is false -PASS x = String.prototype; x.constructor = 4; x.constructor is 4 -PASS x = String.prototype; delete x.constructor; x.hasOwnProperty('constructor') is false -PASS SyntaxError.prototype.hasOwnProperty('constructor') is true -PASS canEnum(SyntaxError.prototype, 'constructor') is false -PASS x = SyntaxError.prototype; x.constructor = 4; x.constructor is 4 -PASS x = SyntaxError.prototype; delete x.constructor; x.hasOwnProperty('constructor') is false -PASS TypeError.prototype.hasOwnProperty('constructor') is true -PASS canEnum(TypeError.prototype, 'constructor') is false -PASS x = TypeError.prototype; x.constructor = 4; x.constructor is 4 -PASS x = TypeError.prototype; delete x.constructor; x.hasOwnProperty('constructor') is false -PASS URIError.prototype.hasOwnProperty('constructor') is true -PASS canEnum(URIError.prototype, 'constructor') is false -PASS x = URIError.prototype; x.constructor = 4; x.constructor is 4 -PASS x = URIError.prototype; delete x.constructor; x.hasOwnProperty('constructor') is false -FAIL document.createTextNode('').hasOwnProperty('constructor') should be true. Was false. -PASS canEnum(document.createTextNode(''), 'constructor') is false -PASS x = document.createTextNode(''); x.constructor = 4; x.constructor is 4 -PASS x = document.createTextNode(''); delete x.constructor; x.hasOwnProperty('constructor') is false -PASS successfullyParsed is true - -TEST COMPLETE - diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/js/eval-cross-window-expected.txt b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/js/eval-cross-window-expected.txt deleted file mode 100644 index 482a468..0000000 --- a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/js/eval-cross-window-expected.txt +++ /dev/null @@ -1,40 +0,0 @@ -This page verifies that eval, when called as a function, uses the "this" object provided by the call as its variable object, scope chain, and "this" object. However, if the "this" object is not the global object eval was originally associated with, eval throws an exception. - -If the test passes, you'll see a series of pass messages below. - - ------ Scope Chain Head for Getters: ----- - -PASS: window.eval("x") should be 0 and is. -PASS: frames[0].eval("x") should be 1 and is. -PASS: window.eval("x") should be EvalError and is. -PASS: frames[0].eval("x") should be EvalError and is. - ------ Scope Chain for Getters: ----- - -PASS: window.eval("xx") should be ReferenceError and is. -PASS: frames[0].eval("xx") should be ReferenceError and is. -PASS: window.eval("xx") should be EvalError and is. -PASS: frames[0].eval("xx") should be EvalError and is. - ------ Variable Object: ----- - -PASS: window.eval("var y; "y" in top") should be true and is. -PASS: frames[0].eval("var y; "y" in top.frames[0]") should be true and is. -PASS: window.eval("var y; "y" in top.frames[0]") should be EvalError and is. -PASS: frames[0].eval("var y; "y" in top") should be EvalError and is. - ------ Scope Chain for Setters: ----- - -PASS: window.eval("z = 1; top.z") should be 1 and is. -PASS: frames[0].eval("z = 2; top.frames[0].z") should be 2 and is. -PASS: window.eval("z = 3; top.frames[0].z") should be EvalError and is. -PASS: frames[0].eval("z = 4; top.z") should be EvalError and is. - ------ This Object: ----- - -PASS: window.eval("this") should be [object global] and is. -PASS: frames[0].eval("this") should be [object global] and is. -PASS: window.eval("this") should be EvalError and is. -PASS: frames[0].eval("this") should be EvalError and is. - diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/js/eval-keyword-vs-function-expected.txt b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/js/eval-keyword-vs-function-expected.txt deleted file mode 100644 index f3df34a..0000000 --- a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/js/eval-keyword-vs-function-expected.txt +++ /dev/null @@ -1,40 +0,0 @@ -This page verifies that eval has two meanings: - -An operator: executes a script in local scope with the local scope's variable object and "this" object. -A global function: executes a script in global scope with the global scope's variable object and "this" object. -Meaning #2 should remain constant even if the global eval function is copied into a global variable ("globalEval") or a local variable ("localEval"). -If the test passes, you'll see a series of pass messages below. - - ------ Scope Chain for Getters: ----- - -PASS: eval("x") should be 1 and is. -PASS: window.eval("x") should be 0 and is. -PASS: globalEval("x") should be 0 and is. -PASS: localEval("x") should be 0 and is. -PASS: (function() { var eval = window.eval; return eval("x"); })() should be 0 and is. - ------ Variable Object: ----- - -PASS: eval("var y; "y" in window") should be false and is. -PASS: window.eval("var y; "y" in window") should be true and is. -PASS: globalEval("var y; "y" in window") should be true and is. -PASS: localEval("var y; "y" in window") should be true and is. -PASS: (function() { var eval = window.eval; return eval("var y; "y" in window"); })() should be true and is. - ------ Scope Chain for Setters: ----- - -PASS: eval("z = 1; window.z") should be 0 and is. -PASS: window.eval("z = 2; window.z") should be 2 and is. -PASS: globalEval("z = 3; window.z") should be 3 and is. -PASS: localEval("z = 4; window.z") should be 4 and is. -PASS: (function() { var eval = window.eval; return eval("z = 5; window.z"); })() should be 5 and is. - ------ This Object: ----- - -PASS: eval("this") should be ["this" object passed to .call()] and is. -PASS: window.eval("this") should be [object global] and is. -PASS: globalEval("this") should be [object global] and is. -PASS: localEval("this") should be [object global] and is. -PASS: (function() { var eval = window.eval; return eval("this"); })() should be [object global] and is. - diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/js/exception-thrown-from-new-expected.txt b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/js/exception-thrown-from-new-expected.txt deleted file mode 100644 index 08f0a04..0000000 --- a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/js/exception-thrown-from-new-expected.txt +++ /dev/null @@ -1,5 +0,0 @@ -This page tests exceptions thrown from 'new' expressions. If the test passes, you'll see a series of PASS messages below. - -FAIL: e1 should be 'TypeError: Result of expression 'f' [undefined] is not a constructor.' but instead is 'TypeError: undefined is not a constructor'. -FAIL: e2 should be 'TypeError: Result of expression 'g' [undefined] is not a function.' but instead is 'TypeError: undefined is not a function'. - diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/js/function-dot-arguments-and-caller-expected.txt b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/js/function-dot-arguments-and-caller-expected.txt deleted file mode 100644 index 2afc581..0000000 --- a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/js/function-dot-arguments-and-caller-expected.txt +++ /dev/null @@ -1,6 +0,0 @@ -This page tests function.caller and function.arguments in interesting nested scopes. - -If the test passes, you'll see a series of PASS messages below. - -PASS,PASS,PASS,PASS,PASS,PASS,PASS,PASS,PASS,PASS,PASS,PASS,PASS,PASS,PASS,FAIL,PASS - |