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

Side by Side Diff: src/d8.h

Issue 2724253003: Merged: [runtime] Mark old JSGlobalProxy's map as unstable when an iframe navigates away. (Closed)
Patch Set: Created 3 years, 9 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/d8.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_D8_H_ 5 #ifndef V8_D8_H_
6 #define V8_D8_H_ 6 #define V8_D8_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 size_t buckets); 353 size_t buckets);
354 static void AddHistogramSample(void* histogram, int sample); 354 static void AddHistogramSample(void* histogram, int sample);
355 static void MapCounters(v8::Isolate* isolate, const char* name); 355 static void MapCounters(v8::Isolate* isolate, const char* name);
356 356
357 static void PerformanceNow(const v8::FunctionCallbackInfo<v8::Value>& args); 357 static void PerformanceNow(const v8::FunctionCallbackInfo<v8::Value>& args);
358 358
359 static void RealmCurrent(const v8::FunctionCallbackInfo<v8::Value>& args); 359 static void RealmCurrent(const v8::FunctionCallbackInfo<v8::Value>& args);
360 static void RealmOwner(const v8::FunctionCallbackInfo<v8::Value>& args); 360 static void RealmOwner(const v8::FunctionCallbackInfo<v8::Value>& args);
361 static void RealmGlobal(const v8::FunctionCallbackInfo<v8::Value>& args); 361 static void RealmGlobal(const v8::FunctionCallbackInfo<v8::Value>& args);
362 static void RealmCreate(const v8::FunctionCallbackInfo<v8::Value>& args); 362 static void RealmCreate(const v8::FunctionCallbackInfo<v8::Value>& args);
363 static void RealmNavigate(const v8::FunctionCallbackInfo<v8::Value>& args);
363 static void RealmCreateAllowCrossRealmAccess( 364 static void RealmCreateAllowCrossRealmAccess(
364 const v8::FunctionCallbackInfo<v8::Value>& args); 365 const v8::FunctionCallbackInfo<v8::Value>& args);
365 static void RealmDispose(const v8::FunctionCallbackInfo<v8::Value>& args); 366 static void RealmDispose(const v8::FunctionCallbackInfo<v8::Value>& args);
366 static void RealmSwitch(const v8::FunctionCallbackInfo<v8::Value>& args); 367 static void RealmSwitch(const v8::FunctionCallbackInfo<v8::Value>& args);
367 static void RealmEval(const v8::FunctionCallbackInfo<v8::Value>& args); 368 static void RealmEval(const v8::FunctionCallbackInfo<v8::Value>& args);
368 static void RealmSharedGet(Local<String> property, 369 static void RealmSharedGet(Local<String> property,
369 const PropertyCallbackInfo<Value>& info); 370 const PropertyCallbackInfo<Value>& info);
370 static void RealmSharedSet(Local<String> property, 371 static void RealmSharedSet(Local<String> property,
371 Local<Value> value, 372 Local<Value> value,
372 const PropertyCallbackInfo<void>& info); 373 const PropertyCallbackInfo<void>& info);
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
449 static i::List<SharedArrayBuffer::Contents> externalized_shared_contents_; 450 static i::List<SharedArrayBuffer::Contents> externalized_shared_contents_;
450 451
451 static void WriteIgnitionDispatchCountersFile(v8::Isolate* isolate); 452 static void WriteIgnitionDispatchCountersFile(v8::Isolate* isolate);
452 static Counter* GetCounter(const char* name, bool is_histogram); 453 static Counter* GetCounter(const char* name, bool is_histogram);
453 static Local<String> Stringify(Isolate* isolate, Local<Value> value); 454 static Local<String> Stringify(Isolate* isolate, Local<Value> value);
454 static void Initialize(Isolate* isolate); 455 static void Initialize(Isolate* isolate);
455 static void RunShell(Isolate* isolate); 456 static void RunShell(Isolate* isolate);
456 static bool SetOptions(int argc, char* argv[]); 457 static bool SetOptions(int argc, char* argv[]);
457 static Local<ObjectTemplate> CreateGlobalTemplate(Isolate* isolate); 458 static Local<ObjectTemplate> CreateGlobalTemplate(Isolate* isolate);
458 static MaybeLocal<Context> CreateRealm( 459 static MaybeLocal<Context> CreateRealm(
459 const v8::FunctionCallbackInfo<v8::Value>& args); 460 const v8::FunctionCallbackInfo<v8::Value>& args, int index,
461 v8::MaybeLocal<Value> global_object);
462 static void DisposeRealm(const v8::FunctionCallbackInfo<v8::Value>& args,
463 int index);
460 static MaybeLocal<Module> FetchModuleTree(v8::Local<v8::Context> context, 464 static MaybeLocal<Module> FetchModuleTree(v8::Local<v8::Context> context,
461 const std::string& file_name); 465 const std::string& file_name);
462 }; 466 };
463 467
464 468
465 } // namespace v8 469 } // namespace v8
466 470
467 471
468 #endif // V8_D8_H_ 472 #endif // V8_D8_H_
OLDNEW
« no previous file with comments | « no previous file | src/d8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698