Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closing ARQL results in an empty view with a spinner #6974

Conversation

grorg
Copy link
Contributor

@grorg grorg commented Nov 30, 2022

ca06823

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

0cbb84d

Misc iOS, tvOS & watchOS macOS Linux Windows
βœ… πŸ§ͺ style βœ… πŸ›  ios βœ… πŸ›  mac βœ… πŸ›  wpe
βœ… πŸ›  ios-sim βœ… πŸ›  mac-debug   πŸ›  gtk   πŸ›  wincairo
βœ… πŸ§ͺ webkitperl   πŸ§ͺ ios-wk2 βœ… πŸ›  mac-AS-debug   πŸ§ͺ gtk-wk2
  πŸ§ͺ api-ios   πŸ§ͺ api-mac   πŸ§ͺ api-gtk
βœ… πŸ›  tv   πŸ§ͺ mac-wk1
  πŸ›  tv-sim   πŸ§ͺ mac-wk2
βœ… πŸ›  watch   πŸ§ͺ mac-AS-debug-wk2
βœ… πŸ›  πŸ§ͺ unsafe-merge βœ… πŸ›  watch-sim   πŸ§ͺ mac-wk2-stress

@grorg grorg requested a review from cdumez as a code owner November 30, 2022 18:36
@grorg grorg self-assigned this Nov 30, 2022
@grorg grorg added the WebKit Misc. For miscellaneous bugs in the WebKit framework (and not JavaScriptCore or WebCore). label Nov 30, 2022
@grorg grorg added the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Nov 30, 2022
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
@webkit-early-warning-system webkit-early-warning-system force-pushed the eng/Closing-ARQL-results-in-an-empty-view-with-a-spinner branch from 0cbb84d to ca06823 Compare November 30, 2022 19:06
@webkit-commit-queue
Copy link
Collaborator

Committed 257188@main (ca06823): https://commits.webkit.org/257188@main

Reviewed commits have been landed. Closing PR #6974 and removing active labels.

@webkit-early-warning-system webkit-early-warning-system merged commit ca06823 into WebKit:main Nov 30, 2022
@webkit-commit-queue webkit-commit-queue removed the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Nov 30, 2022
@grorg grorg deleted the eng/Closing-ARQL-results-in-an-empty-view-with-a-spinner branch November 30, 2022 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WebKit Misc. For miscellaneous bugs in the WebKit framework (and not JavaScriptCore or WebCore).
Projects
None yet
4 participants