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

Side by Side Diff: src/contexts.h

Issue 1717893002: Remove the Proxy enumerate trap (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix tests Created 4 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
« no previous file with comments | « no previous file | src/js/proxy.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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_CONTEXTS_H_ 5 #ifndef V8_CONTEXTS_H_
6 #define V8_CONTEXTS_H_ 6 #define V8_CONTEXTS_H_
7 7
8 #include "src/heap/heap.h" 8 #include "src/heap/heap.h"
9 #include "src/objects.h" 9 #include "src/objects.h"
10 10
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 V(OBSERVERS_NOTIFY_CHANGE_INDEX, JSFunction, observers_notify_change) \ 133 V(OBSERVERS_NOTIFY_CHANGE_INDEX, JSFunction, observers_notify_change) \
134 V(PROMISE_CATCH_INDEX, JSFunction, promise_catch) \ 134 V(PROMISE_CATCH_INDEX, JSFunction, promise_catch) \
135 V(PROMISE_CHAIN_INDEX, JSFunction, promise_chain) \ 135 V(PROMISE_CHAIN_INDEX, JSFunction, promise_chain) \
136 V(PROMISE_CREATE_INDEX, JSFunction, promise_create) \ 136 V(PROMISE_CREATE_INDEX, JSFunction, promise_create) \
137 V(PROMISE_FUNCTION_INDEX, JSFunction, promise_function) \ 137 V(PROMISE_FUNCTION_INDEX, JSFunction, promise_function) \
138 V(PROMISE_HAS_USER_DEFINED_REJECT_HANDLER_INDEX, JSFunction, \ 138 V(PROMISE_HAS_USER_DEFINED_REJECT_HANDLER_INDEX, JSFunction, \
139 promise_has_user_defined_reject_handler) \ 139 promise_has_user_defined_reject_handler) \
140 V(PROMISE_REJECT_INDEX, JSFunction, promise_reject) \ 140 V(PROMISE_REJECT_INDEX, JSFunction, promise_reject) \
141 V(PROMISE_RESOLVE_INDEX, JSFunction, promise_resolve) \ 141 V(PROMISE_RESOLVE_INDEX, JSFunction, promise_resolve) \
142 V(PROMISE_THEN_INDEX, JSFunction, promise_then) \ 142 V(PROMISE_THEN_INDEX, JSFunction, promise_then) \
143 V(PROXY_ENUMERATE_INDEX, JSFunction, proxy_enumerate) \
144 V(RANGE_ERROR_FUNCTION_INDEX, JSFunction, range_error_function) \ 143 V(RANGE_ERROR_FUNCTION_INDEX, JSFunction, range_error_function) \
145 V(REFERENCE_ERROR_FUNCTION_INDEX, JSFunction, reference_error_function) \ 144 V(REFERENCE_ERROR_FUNCTION_INDEX, JSFunction, reference_error_function) \
146 V(SET_ADD_METHOD_INDEX, JSFunction, set_add) \ 145 V(SET_ADD_METHOD_INDEX, JSFunction, set_add) \
147 V(SET_DELETE_METHOD_INDEX, JSFunction, set_delete) \ 146 V(SET_DELETE_METHOD_INDEX, JSFunction, set_delete) \
148 V(SET_HAS_METHOD_INDEX, JSFunction, set_has) \ 147 V(SET_HAS_METHOD_INDEX, JSFunction, set_has) \
149 V(STACK_OVERFLOW_BOILERPLATE_INDEX, JSObject, stack_overflow_boilerplate) \ 148 V(STACK_OVERFLOW_BOILERPLATE_INDEX, JSObject, stack_overflow_boilerplate) \
150 V(SYNTAX_ERROR_FUNCTION_INDEX, JSFunction, syntax_error_function) \ 149 V(SYNTAX_ERROR_FUNCTION_INDEX, JSFunction, syntax_error_function) \
151 V(TYPE_ERROR_FUNCTION_INDEX, JSFunction, type_error_function) \ 150 V(TYPE_ERROR_FUNCTION_INDEX, JSFunction, type_error_function) \
152 V(URI_ERROR_FUNCTION_INDEX, JSFunction, uri_error_function) 151 V(URI_ERROR_FUNCTION_INDEX, JSFunction, uri_error_function)
153 152
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
590 #endif 589 #endif
591 590
592 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize); 591 STATIC_ASSERT(kHeaderSize == Internals::kContextHeaderSize);
593 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex); 592 STATIC_ASSERT(EMBEDDER_DATA_INDEX == Internals::kContextEmbedderDataIndex);
594 }; 593 };
595 594
596 } // namespace internal 595 } // namespace internal
597 } // namespace v8 596 } // namespace v8
598 597
599 #endif // V8_CONTEXTS_H_ 598 #endif // V8_CONTEXTS_H_
OLDNEW
« no previous file with comments | « no previous file | src/js/proxy.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698