Bug 222524

Summary: Restoring App Highlight crashes if no range is found.
Product: WebKit Reporter: Megan Gardner <megan_gardner>
Component: New BugsAssignee: Megan Gardner <megan_gardner>
Status: RESOLVED FIXED    
Severity: Normal CC: info, thorton, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch for landing none

Megan Gardner
Reported 2021-02-27 23:23:05 PST
Restoring App Highlight crashes if no range is found.
Attachments
Patch (4.17 KB, patch)
2021-02-27 23:25 PST, Megan Gardner
no flags
Patch for landing (4.09 KB, patch)
2021-03-01 08:47 PST, Megan Gardner
no flags
Megan Gardner
Comment 1 2021-02-27 23:25:10 PST
Tim Horton
Comment 2 2021-02-28 01:24:30 PST
Comment on attachment 421766 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=421766&action=review > Source/WebCore/Modules/highlight/AppHighlightStorage.cpp:243 > + if (range) what is the bool return value of this method for? If it’s “did restoration succeed”, perhaps you should return false here?
Megan Gardner
Comment 3 2021-03-01 08:47:10 PST
Created attachment 421831 [details] Patch for landing
EWS
Comment 4 2021-03-01 09:36:23 PST
Committed r273654: <https://commits.webkit.org/r273654> All reviewed patches have been landed. Closing bug and clearing flags on attachment 421831 [details].
Radar WebKit Bug Importer
Comment 5 2021-03-01 09:37:48 PST
Anne
Comment 6 2021-03-09 23:57:29 PST Comment hidden (spam)
Note You need to log in before you can comment on or make changes to this bug.