[webkit-changes] [WebKit/WebKit] 30bd76: Clicking a link to a download file served by a ser...

youennf noreply at github.com
Wed Nov 16 00:52:14 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 30bd7667b181ed333be95ebfc8a24617c7ebaab6
      https://github.com/WebKit/WebKit/commit/30bd7667b181ed333be95ebfc8a24617c7ebaab6
  Author: Youenn Fablet <youennf at gmail.com>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M Source/WebCore/loader/DocumentLoader.cpp

  Log Message:
  -----------
  Clicking a link to a download file served by a service-worker with a fetch event handler yields "Frame load interrupted" error
https://bugs.webkit.org/show_bug.cgi?id=247793
rdar://problem/102296700

Web Inspector shows the "Frame load interrupted" error based on the sub resource load failing error.
Mark the error type as Cancellation so that Web Inspector does not show this message.

Reviewed by Alex Christensen.

* Source/WebCore/loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::interruptedForPolicyChangeError const):
(WebCore::DocumentLoader::stopLoadingForPolicyChange):

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




More information about the webkit-changes mailing list