Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d6752fc2981b0d3bbb4b1081fb5b257aca8a54fb
https://github.com/WebKit/WebKit/commit/d6752fc2981b0d3bbb4b1081fb5b257aca8a54fb
Author: Devin Rousso <[email protected]>
Date: 2026-07-31 (Fri, 31 Jul 2026)
Changed paths:
A
LayoutTests/inspector/runtime/frame-execution-context-after-navigation-expected.txt
A
LayoutTests/inspector/runtime/frame-execution-context-after-navigation.html
A LayoutTests/inspector/runtime/resources/frame-execution-context.html
M Source/WebInspectorUI/UserInterface/Models/Frame.js
Log Message:
-----------
Web Inspector: replace stale execution contexts when their identifiers change
https://bugs.webkit.org/show_bug.cgi?id=320522
Reviewed by Simon Fraser.
* Source/WebInspectorUI/UserInterface/Models/Frame.js:
(WI.Frame.prototype.addExecutionContext):
Clear existing execution contexts before adding a new `Normal` execution
context with a different identifier so stale page and isolated contexts are not
retained.
* LayoutTests/inspector/runtime/resources/frame-execution-context.html: Added.
* LayoutTests/inspector/runtime/frame-execution-context-after-navigation.html:
Added.
*
LayoutTests/inspector/runtime/frame-execution-context-after-navigation-expected.txt:
Added.
Canonical link: https://commits.webkit.org/318356@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications