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

Side by Side Diff: test/mjsunit/third_party/object-keys/object-keys.js

Issue 1183743003: Updates to the license information of third party components. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Reworded naming regarding sub dirs Created 5 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 unified diff | Download patch
« no previous file with comments | « test/mjsunit/third_party/object-keys/LICENSE ('k') | test/mjsunit/third_party/regexp-pcre.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006 Apple Computer, Inc. All rights reserved. 1 // Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
2 // 2 //
3 // Redistribution and use in source and binary forms, with or without 3 // Redistribution and use in source and binary forms, with or without
4 // modification, are permitted provided that the following conditions 4 // modification, are permitted provided that the following conditions
5 // are met: 5 // are met:
6 // 6 //
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 // 9 //
10 // 2. Redistributions in binary form must reproduce the above 10 // 2. Redistributions in binary form must reproduce the above
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 argsTest(1, 2, 3); 60 argsTest(1, 2, 3);
61 61
62 var literal = {a: 1, b: 2, c: 3}; 62 var literal = {a: 1, b: 2, c: 3};
63 var keysBefore = Object.keys(literal); 63 var keysBefore = Object.keys(literal);
64 assertEquals(['a', 'b', 'c'], keysBefore); 64 assertEquals(['a', 'b', 'c'], keysBefore);
65 keysBefore[0] = 'x'; 65 keysBefore[0] = 'x';
66 var keysAfter = Object.keys(literal); 66 var keysAfter = Object.keys(literal);
67 assertEquals(['a', 'b', 'c'], keysAfter); 67 assertEquals(['a', 'b', 'c'], keysAfter);
68 assertEquals(['x', 'b', 'c'], keysBefore); 68 assertEquals(['x', 'b', 'c'], keysBefore);
OLDNEW
« no previous file with comments | « test/mjsunit/third_party/object-keys/LICENSE ('k') | test/mjsunit/third_party/regexp-pcre.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698