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

Side by Side Diff: src/isolate.h

Issue 1398093002: Pass the context from which a given receiver is accessed explicitly (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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
« no previous file with comments | « src/builtins.cc ('k') | src/isolate.cc » ('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_ISOLATE_H_ 5 #ifndef V8_ISOLATE_H_
6 #define V8_ISOLATE_H_ 6 #define V8_ISOLATE_H_
7 7
8 #include <queue> 8 #include <queue>
9 #include <set> 9 #include <set>
10 10
(...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after
672 Handle<Object> CaptureSimpleStackTrace(Handle<JSObject> error_object, 672 Handle<Object> CaptureSimpleStackTrace(Handle<JSObject> error_object,
673 Handle<Object> caller); 673 Handle<Object> caller);
674 MaybeHandle<JSObject> CaptureAndSetDetailedStackTrace( 674 MaybeHandle<JSObject> CaptureAndSetDetailedStackTrace(
675 Handle<JSObject> error_object); 675 Handle<JSObject> error_object);
676 MaybeHandle<JSObject> CaptureAndSetSimpleStackTrace( 676 MaybeHandle<JSObject> CaptureAndSetSimpleStackTrace(
677 Handle<JSObject> error_object, Handle<Object> caller); 677 Handle<JSObject> error_object, Handle<Object> caller);
678 Handle<JSArray> GetDetailedStackTrace(Handle<JSObject> error_object); 678 Handle<JSArray> GetDetailedStackTrace(Handle<JSObject> error_object);
679 Handle<JSArray> GetDetailedFromSimpleStackTrace( 679 Handle<JSArray> GetDetailedFromSimpleStackTrace(
680 Handle<JSObject> error_object); 680 Handle<JSObject> error_object);
681 681
682 // Returns if the top context may access the given global object. If 682 // Returns if the given context may access the given global object. If
683 // the result is false, the pending exception is guaranteed to be 683 // the result is false, the pending exception is guaranteed to be
684 // set. 684 // set.
685 bool MayAccess(Handle<Context> accessing_context, Handle<JSObject> receiver);
685 686
686 bool MayAccess(Handle<JSObject> receiver);
687 bool IsInternallyUsedPropertyName(Handle<Object> name); 687 bool IsInternallyUsedPropertyName(Handle<Object> name);
688 bool IsInternallyUsedPropertyName(Object* name); 688 bool IsInternallyUsedPropertyName(Object* name);
689 689
690 void SetFailedAccessCheckCallback(v8::FailedAccessCheckCallback callback); 690 void SetFailedAccessCheckCallback(v8::FailedAccessCheckCallback callback);
691 void ReportFailedAccessCheck(Handle<JSObject> receiver); 691 void ReportFailedAccessCheck(Handle<JSObject> receiver);
692 692
693 // Exception throwing support. The caller should use the result 693 // Exception throwing support. The caller should use the result
694 // of Throw() as its return value. 694 // of Throw() as its return value.
695 Object* Throw(Object* exception, MessageLocation* location = NULL); 695 Object* Throw(Object* exception, MessageLocation* location = NULL);
696 Object* ThrowIllegalOperation(); 696 Object* ThrowIllegalOperation();
(...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after
1553 1553
1554 EmbeddedVector<char, 128> filename_; 1554 EmbeddedVector<char, 128> filename_;
1555 FILE* file_; 1555 FILE* file_;
1556 int scope_depth_; 1556 int scope_depth_;
1557 }; 1557 };
1558 1558
1559 } // namespace internal 1559 } // namespace internal
1560 } // namespace v8 1560 } // namespace v8
1561 1561
1562 #endif // V8_ISOLATE_H_ 1562 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/builtins.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698