Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 13c4a366e227388b5e4544eb628ada069a103fd7
      
https://github.com/WebKit/WebKit/commit/13c4a366e227388b5e4544eb628ada069a103fd7
  Author: Devin Rousso <[email protected]>
  Date:   2026-10-09 (Fri, 09 Oct 2026)

  Changed paths:
    M 
LayoutTests/http/tests/inspector/network/resource-response-service-worker-expected.txt
    M 
LayoutTests/http/tests/inspector/network/resource-response-service-worker.html
    M 
LayoutTests/http/tests/inspector/network/resource-response-source-memory-cache-expected.txt
    M 
LayoutTests/http/tests/inspector/network/resource-response-source-memory-cache.html
    M LayoutTests/http/tests/inspector/network/resources/fetch-service-worker.js
    M Source/WebInspectorUI/UserInterface/Models/Resource.js

  Log Message:
  -----------
  Web Inspector: compare resolved resource types after receiving a response
https://bugs.webkit.org/show_bug.cgi?id=320428

Reviewed by Timothy Hatcher.

* Source/WebInspectorUI/UserInterface/Models/Resource.js:
(WI.Resource.prototype.updateForRedirectResponse):
(WI.Resource.prototype.updateForResponse):
A response served from the memory cache can report `Other` even though its MIME 
type resolves to `Script`, and a Service Worker response can omit its URL 
without changing the request URL. Dispatch `URLDidChange`, `MIMETypeDidChange`, 
and `TypeDidChange` only when the corresponding updated property differs from 
the previous value.

* LayoutTests/http/tests/inspector/network/resources/fetch-service-worker.js:
* 
LayoutTests/http/tests/inspector/network/resource-response-service-worker.html:
* 
LayoutTests/http/tests/inspector/network/resource-response-service-worker-expected.txt:
* 
LayoutTests/http/tests/inspector/network/resource-response-source-memory-cache.html:
* 
LayoutTests/http/tests/inspector/network/resource-response-source-memory-cache-expected.txt:

Canonical link: https://commits.webkit.org/323274@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to