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

Side by Side Diff: src/messages.js

Issue 11369154: Implement Object.getNotifier() and remove Object.notify() (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: More restrictive, more tests Created 8 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/object-observe.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 handler_returned_false: ["Proxy handler ", "%0", " returned false from '", "%1", "' trap"], 89 handler_returned_false: ["Proxy handler ", "%0", " returned false from '", "%1", "' trap"],
90 handler_returned_undefined: ["Proxy handler ", "%0", " returned undefined f rom '", "%1", "' trap"], 90 handler_returned_undefined: ["Proxy handler ", "%0", " returned undefined f rom '", "%1", "' trap"],
91 proxy_prop_not_configurable: ["Proxy handler ", "%0", " returned non-configu rable descriptor for property '", "%2", "' from '", "%1", "' trap"], 91 proxy_prop_not_configurable: ["Proxy handler ", "%0", " returned non-configu rable descriptor for property '", "%2", "' from '", "%1", "' trap"],
92 proxy_non_object_prop_names: ["Trap '", "%1", "' returned non-object ", "%0" ], 92 proxy_non_object_prop_names: ["Trap '", "%1", "' returned non-object ", "%0" ],
93 proxy_repeated_prop_name: ["Trap '", "%1", "' returned repeated property name '", "%2", "'"], 93 proxy_repeated_prop_name: ["Trap '", "%1", "' returned repeated property name '", "%2", "'"],
94 invalid_weakmap_key: ["Invalid value used as weak map key"], 94 invalid_weakmap_key: ["Invalid value used as weak map key"],
95 not_date_object: ["this is not a Date object."], 95 not_date_object: ["this is not a Date object."],
96 observe_non_object: ["Object.", "%0", " cannot ", "%0", " non-objec t"], 96 observe_non_object: ["Object.", "%0", " cannot ", "%0", " non-objec t"],
97 observe_non_function: ["Object.", "%0", " cannot deliver to non-funct ion"], 97 observe_non_function: ["Object.", "%0", " cannot deliver to non-funct ion"],
98 observe_callback_frozen: ["Object.observe cannot deliver to a frozen fun ction object"], 98 observe_callback_frozen: ["Object.observe cannot deliver to a frozen fun ction object"],
99 observe_type_non_string: ["Object.notify provided changeRecord with non- string 'type' property"], 99 observe_type_non_string: ["Invalid changeRecord with non-string 'type' p roperty"],
100 observe_notify_non_notifier: ["notify called on non-notifier object"],
100 // RangeError 101 // RangeError
101 invalid_array_length: ["Invalid array length"], 102 invalid_array_length: ["Invalid array length"],
102 stack_overflow: ["Maximum call stack size exceeded"], 103 stack_overflow: ["Maximum call stack size exceeded"],
103 invalid_time_value: ["Invalid time value"], 104 invalid_time_value: ["Invalid time value"],
104 // SyntaxError 105 // SyntaxError
105 unable_to_parse: ["Parse error"], 106 unable_to_parse: ["Parse error"],
106 invalid_regexp_flags: ["Invalid flags supplied to RegExp constructor '", "%0", "'"], 107 invalid_regexp_flags: ["Invalid flags supplied to RegExp constructor '", "%0", "'"],
107 invalid_regexp: ["Invalid RegExp pattern /", "%0", "/"], 108 invalid_regexp: ["Invalid RegExp pattern /", "%0", "/"],
108 illegal_break: ["Illegal break statement"], 109 illegal_break: ["Illegal break statement"],
109 illegal_continue: ["Illegal continue statement"], 110 illegal_continue: ["Illegal continue statement"],
(...skipping 1112 matching lines...) Expand 10 before | Expand all | Expand 10 after
1222 throw e; 1223 throw e;
1223 } 1224 }
1224 } 1225 }
1225 1226
1226 1227
1227 InstallFunctions($Error.prototype, DONT_ENUM, ['toString', ErrorToString]); 1228 InstallFunctions($Error.prototype, DONT_ENUM, ['toString', ErrorToString]);
1228 1229
1229 // Boilerplate for exceptions for stack overflows. Used from 1230 // Boilerplate for exceptions for stack overflows. Used from
1230 // Isolate::StackOverflow(). 1231 // Isolate::StackOverflow().
1231 var kStackOverflowBoilerplate = MakeRangeError('stack_overflow', []); 1232 var kStackOverflowBoilerplate = MakeRangeError('stack_overflow', []);
OLDNEW
« no previous file with comments | « no previous file | src/object-observe.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698