#56165: chore: remove chore_expose_isolate_parameter_in_script_lifecycle_observers.patch
Merged
Addresses Tier 1A from #56164.
Removes patches/chromium/chore_expose_isolate_parameter_in_script_lifecycle_observers.patch.
Blink invokes both WillReleaseScriptContext (in LocalWindowProxy::DisposeContext) and WillEvaluateServiceWorkerOnWorkerThread (in ServiceWorkerGlobalScopeProxy::WillEvaluateScript) inside a ScriptState::Scope on the context's isolate, so Electron's renderer observers obtain v8::Isolate* directly via v8::Isolate::GetCurrent() instead of patching the observer signatures across 18 Chromium/Blink files.
Notes: none
Backports
Semver Impact
Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.
Semantic Versioning helps users understand the impact of updates:
- Major (X.y.z): Breaking changes that may require code modifications
- Minor (x.Y.z): New features that maintain backward compatibility
- Patch (x.y.Z): Bug fixes that don't change the API
- None: Changes that don't affect using facing parts of Electron