Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(270)

Unified Diff: test/webkit/typeof-constant-string-expected.txt

Issue 18068003: Migrated several tests from blink to V8 repository. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/webkit/typeof-constant-string.js ('k') | test/webkit/unexpected-constant-crash.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/webkit/typeof-constant-string-expected.txt
diff --git a/test/webkit/concat-while-having-a-bad-time-expected.txt b/test/webkit/typeof-constant-string-expected.txt
similarity index 51%
copy from test/webkit/concat-while-having-a-bad-time-expected.txt
copy to test/webkit/typeof-constant-string-expected.txt
index f949db98fd7b911d30b20281c82ee0f801405c77..274e197b72b112d86f420edcfa28a674542d24c8 100644
--- a/test/webkit/concat-while-having-a-bad-time-expected.txt
+++ b/test/webkit/typeof-constant-string-expected.txt
@@ -21,12 +21,49 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-Tests the behavior of Array.prototype.concat while the array is having a bad time due to one of the elements we are concatenating.
+This test checks that using the typeof operator on a JavaScript value and comparing it to a constant string works as expected.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS [42].concat() is [42]
+PASS isUndefined(undefined) is true
+PASS isUndefined(1) is false
+PASS isUndefinedStrict(undefined) is true
+PASS isUndefinedStrict(1) is false
+PASS isBoolean(true) is true
+PASS isBoolean(false) is true
+PASS isBoolean(1) is false
+PASS isBooleanStrict(true) is true
+PASS isBooleanStrict(false) is true
+PASS isBooleanStrict(1) is false
+PASS isNumber(1) is true
+PASS isNumber(undefined) is false
+PASS isNumberStrict(1) is true
+PASS isNumberStrict(undefined) is false
+PASS isString('string') is true
+PASS isString(1) is false
+PASS isStringStrict('string') is true
+PASS isStringStrict(1) is false
+PASS isObject({ }) is true
+PASS isObject(1) is false
+PASS isObjectStrict({ }) is true
+PASS isObjectStrict(1) is false
+PASS isFunction(function () { }) is true
+PASS isFunction(1) is false
+PASS isFunctionStrict(function () { }) is true
+PASS isFunctionStrict(1) is false
+PASS complexIsUndefinedTest() is 'PASS'
+PASS complexIsBooleanTest() is 'PASS'
+PASS complexIsNumberTest() is 'PASS'
+PASS complexIsStringTest() is 'PASS'
+PASS complexIsObjectTest() is 'PASS'
+PASS complexIsFunctionTest() is 'PASS'
+PASS complexIsUndefinedStrictTest() is 'PASS'
+PASS complexIsBooleanStrictTest() is 'PASS'
+PASS complexIsNumberStrictTest() is 'PASS'
+PASS complexIsStringStrictTest() is 'PASS'
+PASS complexIsObjectStrictTest() is 'PASS'
+PASS complexIsFunctionStrictTest() is 'PASS'
PASS successfullyParsed is true
TEST COMPLETE
« no previous file with comments | « test/webkit/typeof-constant-string.js ('k') | test/webkit/unexpected-constant-crash.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698