tree: 6d47485516fd879ef7346341382241dfb3e49e76 [path history] [tgz]
  1. BUILD.gn
  2. OWNERS
  3. README.md
  4. execution_context.cc
  5. execution_context.h
  6. pausable_object.cc
  7. pausable_object.h
  8. pausable_object_test.cc
  9. pause_state.h
  10. remote_security_context.cc
  11. remote_security_context.h
  12. security_context.cc
  13. security_context.h
third_party/blink/renderer/core/execution_context/README.md

execution_context

Rendered

The renderer/core/execution_context directory contains the implementation of ExecutionContext and SecurityContext.

ExecutionContext

ExecutionContext is an abstraction of ES global environment and supposed to be inherited by Window and Workers (however, it's inherited by Document instead of DOMWindow/LocalDOMWindow for historical reasons).

HTML defines environment settings object, and ExecutionContext is somewhat similar to this object, however, there is unfortunately no exact correspondence between them because ExecutionContext has grown step by step since before environment settings object got defined as today's one.

SecurityContext

SecurityContext represents an environment that supports security origin and CSP.