[webkit-changes] [WebKit/WebKit] ca0682: Closing ARQL results in an empty view with a spinner

Dean Jackson noreply at github.com
Wed Nov 30 11:06:48 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ca068233ac864da83dc48c89a51cc9d7f4ee05e8
      https://github.com/WebKit/WebKit/commit/ca068233ac864da83dc48c89a51cc9d7f4ee05e8
  Author: Dean Jackson <dino at apple.com>
  Date:   2022-11-30 (Wed, 30 Nov 2022)

  Changed paths:
    M Source/WebKit/UIProcess/Cocoa/SystemPreviewControllerCocoa.mm

  Log Message:
  -----------
  Closing ARQL results in an empty view with a spinner
https://bugs.webkit.org/show_bug.cgi?id=248538
rdar://102379447

Reviewed by Antoine Quint.

ARQL compares the URL we give it at the start of a download to the one
we give it at the end. The latter one has the fragment identifier appended,
and unfortunately ARQL does a string comparison. This causes it to think
it is opening two different files, resulting in a spinner spinning forever.

* Source/WebKit/UIProcess/Cocoa/SystemPreviewControllerCocoa.mm: Remove the
fragment identifier before sending it to ARQL.

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




More information about the webkit-changes mailing list