Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8b9a751017aa0d969a219404b0d59def58c92acb
https://github.com/WebKit/WebKit/commit/8b9a751017aa0d969a219404b0d59def58c92acb
Author: Devin Rousso <[email protected]>
Date: 2024-11-15 (Fri, 15 Nov 2024)
Changed paths:
M LayoutTests/http/tests/inspector/network/intercept-request-properties.html
M Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js
M Source/WebInspectorUI/UserInterface/Controllers/NetworkManager.js
M Source/WebInspectorUI/UserInterface/Models/Resource.js
M Source/WebInspectorUI/UserInterface/Models/WebSocketResource.js
M Source/WebInspectorUI/UserInterface/Views/LocalResourceOverridePopover.js
M
Source/WebInspectorUI/UserInterface/Views/LocalResourceOverrideRequestContentView.js
Log Message:
-----------
Web Inspector: Network: allow the method of Request Local Overrides to
passthrough
https://bugs.webkit.org/show_bug.cgi?id=282076
Reviewed by Anne van Kesteren.
This allows developers to use a Request Local Override to add headers to all
requests matching the given URL without modifying any of the other data.
* Source/WebInspectorUI/UserInterface/Controllers/NetworkManager.js:
(WI.NetworkManager.prototype.resourceRequestWasServedFromMemoryCache):
(WI.NetworkManager.prototype.requestIntercepted):
* Source/WebInspectorUI/UserInterface/Views/LocalResourceOverridePopover.js:
(WI.LocalResourceOverridePopover.prototype.get serializedData):
(WI.LocalResourceOverridePopover.prototype.show):
Add a passthrough option to the method select when passthrough is enabled.
*
Source/WebInspectorUI/UserInterface/Views/LocalResourceOverrideRequestContentView.js:
(WI.LocalResourceOverrideRequestContentView.prototype.initialLayout):
Only show the message about the request not having a body if the request method
exists and is one of those.
* Source/WebInspectorUI/UserInterface/Models/Resource.js:
(WI.Resource):
* Source/WebInspectorUI/UserInterface/Models/WebSocketResource.js:
(WI.WebSocketResource):
Drive-by: use `WI.HTTPUtilities.RequestMethod.GET` instead of `"GET"`.
* Source/WebInspectorUI/Localizations/en.lproj/localizedStrings.js:
* LayoutTests/http/tests/inspector/network/intercept-request-properties.html:
Canonical link: https://commits.webkit.org/286679@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