Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a2efc000398df38fa2fa081a89da4dc038f4d8cc
https://github.com/WebKit/WebKit/commit/a2efc000398df38fa2fa081a89da4dc038f4d8cc
Author: Qianlang Chen <[email protected]>
Date: 2024-11-11 (Mon, 11 Nov 2024)
Changed paths:
M Source/WebKit/UIProcess/Inspector/mac/WKInspectorViewController.mm
Log Message:
-----------
Sites Logout Automatically After Brief Amount of Time
rdar://99829958
https://bugs.webkit.org/show_bug.cgi?id=245491
Reviewed by Sihui Liu.
Web Inspector currently uses its own default website data store, one
that comes with WKWebView with the default configurations. However,
this can cause conflicts when the owner browser already created a data
store pointing to the same file paths. As the browser may not expect
the default data store to be used at all, this patch makes Web Inspector
try to use the same custom data store object as the browser, avoiding
the conflicts.
I was not able reproduce the issue from the bug report, but I tested
that this patch still preserved Web Inspector's storage as normal.
I could still add breakpoints and change settings and have Web Inspector
remember those states across relaunches of Safari or the Minibrowser,
all while my code changes were executed.
* Source/WebKit/UIProcess/Inspector/mac/WKInspectorViewController.mm:
(-[WKInspectorViewController webViewConfiguration]):
- When constructing the configurations to create a WKWebView, try
searching for the data store object the browser would have created.
Canonical link: https://commits.webkit.org/286436@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes