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

Side by Side Diff: test/webkit/fast/js/primitive-property-access-edge-cases-expected.txt

Issue 1381083004: Improving error messages when adding properties to non JSObject receiver in (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: removing unused branch Created 5 years, 2 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 unified diff | Download patch
OLDNEW
1 # Copyright 2013 the V8 project authors. All rights reserved. 1 # Copyright 2013 the V8 project authors. All rights reserved.
2 # Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 # Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 # 3 #
4 # Redistribution and use in source and binary forms, with or without 4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions 5 # modification, are permitted provided that the following conditions
6 # are met: 6 # are met:
7 # 1. Redistributions of source code must retain the above copyright 7 # 1. Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # 2. Redistributions in binary form must reproduce the above copyright 9 # 2. Redistributions in binary form must reproduce the above copyright
10 # notice, this list of conditions and the following disclaimer in the 10 # notice, this list of conditions and the following disclaimer in the
(...skipping 29 matching lines...) Expand all
40 PASS checkSetStrict(true, Boolean) is true 40 PASS checkSetStrict(true, Boolean) is true
41 PASS checkRead(1, Number) is true 41 PASS checkRead(1, Number) is true
42 PASS checkRead('hello', String) is true 42 PASS checkRead('hello', String) is true
43 PASS checkRead(true, Boolean) is true 43 PASS checkRead(true, Boolean) is true
44 PASS checkWrite(1, Number) is true 44 PASS checkWrite(1, Number) is true
45 PASS checkWrite('hello', String) is true 45 PASS checkWrite('hello', String) is true
46 PASS checkWrite(true, Boolean) is true 46 PASS checkWrite(true, Boolean) is true
47 PASS checkReadStrict(1, Number) is true 47 PASS checkReadStrict(1, Number) is true
48 PASS checkReadStrict('hello', String) is true 48 PASS checkReadStrict('hello', String) is true
49 PASS checkReadStrict(true, Boolean) is true 49 PASS checkReadStrict(true, Boolean) is true
50 PASS checkWriteStrict(1, Number) threw exception TypeError: Cannot assign to rea d only property 'foo' of 1. 50 PASS checkWriteStrict(1, Number) threw exception TypeError: Cannot create proper ty 'foo' on number '1'.
51 PASS checkWriteStrict('hello', String) threw exception TypeError: Cannot assign to read only property 'foo' of hello. 51 PASS checkWriteStrict('hello', String) threw exception TypeError: Cannot create property 'foo' on string 'hello'.
52 PASS checkWriteStrict(true, Boolean) threw exception TypeError: Cannot assign to read only property 'foo' of true. 52 PASS checkWriteStrict(true, Boolean) threw exception TypeError: Cannot create pr operty 'foo' on boolean 'true'.
53 PASS checkNumericGet(1, Number) is true 53 PASS checkNumericGet(1, Number) is true
54 PASS checkNumericGet('hello', String) is true 54 PASS checkNumericGet('hello', String) is true
55 PASS checkNumericGet(true, Boolean) is true 55 PASS checkNumericGet(true, Boolean) is true
56 PASS checkNumericSet(1, Number) is true 56 PASS checkNumericSet(1, Number) is true
57 PASS checkNumericSet('hello', String) is true 57 PASS checkNumericSet('hello', String) is true
58 PASS checkNumericSet(true, Boolean) is true 58 PASS checkNumericSet(true, Boolean) is true
59 PASS checkNumericGetStrict(1, Number) is true 59 PASS checkNumericGetStrict(1, Number) is true
60 PASS checkNumericGetStrict('hello', String) is true 60 PASS checkNumericGetStrict('hello', String) is true
61 PASS checkNumericGetStrict(true, Boolean) is true 61 PASS checkNumericGetStrict(true, Boolean) is true
62 PASS checkNumericSetStrict(1, Number) is true 62 PASS checkNumericSetStrict(1, Number) is true
63 PASS checkNumericSetStrict('hello', String) is true 63 PASS checkNumericSetStrict('hello', String) is true
64 PASS checkNumericSetStrict(true, Boolean) is true 64 PASS checkNumericSetStrict(true, Boolean) is true
65 PASS checkNumericRead(1, Number) is true 65 PASS checkNumericRead(1, Number) is true
66 PASS checkNumericRead('hello', String) is true 66 PASS checkNumericRead('hello', String) is true
67 PASS checkNumericRead(true, Boolean) is true 67 PASS checkNumericRead(true, Boolean) is true
68 PASS checkNumericWrite(1, Number) is true 68 PASS checkNumericWrite(1, Number) is true
69 PASS checkNumericWrite('hello', String) is true 69 PASS checkNumericWrite('hello', String) is true
70 PASS checkNumericWrite(true, Boolean) is true 70 PASS checkNumericWrite(true, Boolean) is true
71 PASS checkNumericReadStrict(1, Number) is true 71 PASS checkNumericReadStrict(1, Number) is true
72 PASS checkNumericReadStrict('hello', String) is true 72 PASS checkNumericReadStrict('hello', String) is true
73 PASS checkNumericReadStrict(true, Boolean) is true 73 PASS checkNumericReadStrict(true, Boolean) is true
74 PASS checkNumericWriteStrict(1, Number) threw exception TypeError: Cannot assign to read only property '42' of 1. 74 PASS checkNumericWriteStrict(1, Number) threw exception TypeError: Cannot create property '42' on number '1'.
75 PASS checkNumericWriteStrict('hello', String) threw exception TypeError: Cannot assign to read only property '42' of hello. 75 PASS checkNumericWriteStrict('hello', String) threw exception TypeError: Cannot create property '42' on string 'hello'.
76 PASS checkNumericWriteStrict(true, Boolean) threw exception TypeError: Cannot as sign to read only property '42' of true. 76 PASS checkNumericWriteStrict(true, Boolean) threw exception TypeError: Cannot cr eate property '42' on boolean 'true'.
77 PASS didNotCrash is true 77 PASS didNotCrash is true
78 PASS successfullyParsed is true 78 PASS successfullyParsed is true
79 79
80 TEST COMPLETE 80 TEST COMPLETE
81 81
OLDNEW
« no previous file with comments | « test/webkit/fast/js/basic-strict-mode-expected.txt ('k') | test/webkit/fast/js/read-modify-eval-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698