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

Side by Side Diff: src/d8.h

Issue 2725153002: 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 <iterator> 8 #include <iterator>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 size_t buckets); 370 size_t buckets);
371 static void AddHistogramSample(void* histogram, int sample); 371 static void AddHistogramSample(void* histogram, int sample);
372 static void MapCounters(v8::Isolate* isolate, const char* name); 372 static void MapCounters(v8::Isolate* isolate, const char* name);
373 373
374 static void PerformanceNow(const v8::FunctionCallbackInfo<v8::Value>& args); 374 static void PerformanceNow(const v8::FunctionCallbackInfo<v8::Value>& args);
375 375
376 static void RealmCurrent(const v8::FunctionCallbackInfo<v8::Value>& args); 376 static void RealmCurrent(const v8::FunctionCallbackInfo<v8::Value>& args);
377 static void RealmOwner(const v8::FunctionCallbackInfo<v8::Value>& args); 377 static void RealmOwner(const v8::FunctionCallbackInfo<v8::Value>& args);
378 static void RealmGlobal(const v8::FunctionCallbackInfo<v8::Value>& args); 378 static void RealmGlobal(const v8::FunctionCallbackInfo<v8::Value>& args);
379 static void RealmCreate(const v8::FunctionCallbackInfo<v8::Value>& args); 379 static void RealmCreate(const v8::FunctionCallbackInfo<v8::Value>& args);
380 static void RealmNavigate(const v8::FunctionCallbackInfo<v8::Value>& args);
380 static void RealmCreateAllowCrossRealmAccess( 381 static void RealmCreateAllowCrossRealmAccess(
381 const v8::FunctionCallbackInfo<v8::Value>& args); 382 const v8::FunctionCallbackInfo<v8::Value>& args);
382 static void RealmDispose(const v8::FunctionCallbackInfo<v8::Value>& args); 383 static void RealmDispose(const v8::FunctionCallbackInfo<v8::Value>& args);
383 static void RealmSwitch(const v8::FunctionCallbackInfo<v8::Value>& args); 384 static void RealmSwitch(const v8::FunctionCallbackInfo<v8::Value>& args);
384 static void RealmEval(const v8::FunctionCallbackInfo<v8::Value>& args); 385 static void RealmEval(const v8::FunctionCallbackInfo<v8::Value>& args);
385 static void RealmSharedGet(Local<String> property, 386 static void RealmSharedGet(Local<String> property,
386 const PropertyCallbackInfo<Value>& info); 387 const PropertyCallbackInfo<Value>& info);
387 static void RealmSharedSet(Local<String> property, 388 static void RealmSharedSet(Local<String> property,
388 Local<Value> value, 389 Local<Value> value,
389 const PropertyCallbackInfo<void>& info); 390 const PropertyCallbackInfo<void>& info);
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 static void WriteIgnitionDispatchCountersFile(v8::Isolate* isolate); 469 static void WriteIgnitionDispatchCountersFile(v8::Isolate* isolate);
469 // Append LCOV coverage data to file. 470 // Append LCOV coverage data to file.
470 static void WriteLcovData(v8::Isolate* isolate, const char* file); 471 static void WriteLcovData(v8::Isolate* isolate, const char* file);
471 static Counter* GetCounter(const char* name, bool is_histogram); 472 static Counter* GetCounter(const char* name, bool is_histogram);
472 static Local<String> Stringify(Isolate* isolate, Local<Value> value); 473 static Local<String> Stringify(Isolate* isolate, Local<Value> value);
473 static void Initialize(Isolate* isolate); 474 static void Initialize(Isolate* isolate);
474 static void RunShell(Isolate* isolate); 475 static void RunShell(Isolate* isolate);
475 static bool SetOptions(int argc, char* argv[]); 476 static bool SetOptions(int argc, char* argv[]);
476 static Local<ObjectTemplate> CreateGlobalTemplate(Isolate* isolate); 477 static Local<ObjectTemplate> CreateGlobalTemplate(Isolate* isolate);
477 static MaybeLocal<Context> CreateRealm( 478 static MaybeLocal<Context> CreateRealm(
478 const v8::FunctionCallbackInfo<v8::Value>& args); 479 const v8::FunctionCallbackInfo<v8::Value>& args, int index,
480 v8::MaybeLocal<Value> global_object);
481 static void DisposeRealm(const v8::FunctionCallbackInfo<v8::Value>& args,
482 int index);
479 static MaybeLocal<Module> FetchModuleTree(v8::Local<v8::Context> context, 483 static MaybeLocal<Module> FetchModuleTree(v8::Local<v8::Context> context,
480 const std::string& file_name); 484 const std::string& file_name);
481 }; 485 };
482 486
483 487
484 } // namespace v8 488 } // namespace v8
485 489
486 490
487 #endif // V8_D8_H_ 491 #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