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

Side by Side Diff: src/messages.js

Issue 103343005: ES6: Remove __proto__ setter poison pill (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Expand tests Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/v8natives.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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 invalid_weakset_value: ["Invalid value used in weak set"], 97 invalid_weakset_value: ["Invalid value used in weak set"],
98 not_date_object: ["this is not a Date object."], 98 not_date_object: ["this is not a Date object."],
99 observe_non_object: ["Object.", "%0", " cannot ", "%0", " non-objec t"], 99 observe_non_object: ["Object.", "%0", " cannot ", "%0", " non-objec t"],
100 observe_non_function: ["Object.", "%0", " cannot deliver to non-funct ion"], 100 observe_non_function: ["Object.", "%0", " cannot deliver to non-funct ion"],
101 observe_callback_frozen: ["Object.observe cannot deliver to a frozen fun ction object"], 101 observe_callback_frozen: ["Object.observe cannot deliver to a frozen fun ction object"],
102 observe_invalid_accept: ["Object.observe accept must be an array of str ings."], 102 observe_invalid_accept: ["Object.observe accept must be an array of str ings."],
103 observe_type_non_string: ["Invalid changeRecord with non-string 'type' p roperty"], 103 observe_type_non_string: ["Invalid changeRecord with non-string 'type' p roperty"],
104 observe_perform_non_string: ["Invalid non-string changeType"], 104 observe_perform_non_string: ["Invalid non-string changeType"],
105 observe_perform_non_function: ["Cannot perform non-function"], 105 observe_perform_non_function: ["Cannot perform non-function"],
106 observe_notify_non_notifier: ["notify called on non-notifier object"], 106 observe_notify_non_notifier: ["notify called on non-notifier object"],
107 proto_poison_pill: ["Generic use of __proto__ accessor not allowed "],
108 not_typed_array: ["this is not a typed array."], 107 not_typed_array: ["this is not a typed array."],
109 invalid_argument: ["invalid_argument"], 108 invalid_argument: ["invalid_argument"],
110 data_view_not_array_buffer: ["First argument to DataView constructor must b e an ArrayBuffer"], 109 data_view_not_array_buffer: ["First argument to DataView constructor must b e an ArrayBuffer"],
111 constructor_not_function: ["Constructor ", "%0", " requires 'new'"], 110 constructor_not_function: ["Constructor ", "%0", " requires 'new'"],
112 not_a_promise: ["%0", " is not a promise"], 111 not_a_promise: ["%0", " is not a promise"],
113 resolver_not_a_function: ["Promise resolver ", "%0", " is not a function "], 112 resolver_not_a_function: ["Promise resolver ", "%0", " is not a function "],
114 promise_cyclic: ["Chaining cycle detected for promise ", "%0"], 113 promise_cyclic: ["Chaining cycle detected for promise ", "%0"],
115 array_functions_on_frozen: ["Cannot modify frozen array elements"], 114 array_functions_on_frozen: ["Cannot modify frozen array elements"],
116 array_functions_change_sealed: ["Cannot add/remove sealed array elements"], 115 array_functions_change_sealed: ["Cannot add/remove sealed array elements"],
117 // RangeError 116 // RangeError
(...skipping 1238 matching lines...) Expand 10 before | Expand all | Expand 10 after
1356 %GetAndClearOverflowedStackTrace(this); 1355 %GetAndClearOverflowedStackTrace(this);
1357 }; 1356 };
1358 1357
1359 %DefineOrRedefineAccessorProperty( 1358 %DefineOrRedefineAccessorProperty(
1360 boilerplate, 'stack', getter, setter, DONT_ENUM); 1359 boilerplate, 'stack', getter, setter, DONT_ENUM);
1361 1360
1362 return boilerplate; 1361 return boilerplate;
1363 } 1362 }
1364 1363
1365 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate(); 1364 var kStackOverflowBoilerplate = SetUpStackOverflowBoilerplate();
OLDNEW
« no previous file with comments | « no previous file | src/v8natives.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698