tree: 4eed69ec1e861c68306cd29e647af632bf2a292e [path history] [tgz]
  1. BUILD.gn
  2. context_lifecycle_notifier.cc
  3. context_lifecycle_notifier.h
  4. context_lifecycle_observer.cc
  5. context_lifecycle_observer.h
  6. context_lifecycle_state_observer.cc
  7. context_lifecycle_state_observer.h
  8. context_lifecycle_state_observer_test.cc
  9. execution_context.cc
  10. execution_context.h
  11. OWNERS
  12. README.md
  13. remote_security_context.cc
  14. remote_security_context.h
  15. security_context.cc
  16. 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.