Bug 206125

Summary: [WebCore] Fix crash in module loader due to change in fragment reservation
Product: WebKit Reporter: Yusuke Suzuki <ysuzuki>
Component: WebCore Misc.Assignee: Yusuke Suzuki <ysuzuki>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, dino, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch dino: review+

Description Yusuke Suzuki 2020-01-10 21:43:54 PST
At some point, CachedResource::url() starts returning URL without fragment.
This breaks invariant in module loader and one of WPT test is crashing.
Comment 1 Yusuke Suzuki 2020-01-10 21:46:30 PST
Created attachment 387422 [details]
Patch
Comment 2 Yusuke Suzuki 2020-01-10 21:53:16 PST
Created attachment 387423 [details]
Patch
Comment 3 Yusuke Suzuki 2020-01-10 21:56:45 PST
Maybe, this? https://bugs.webkit.org/show_bug.cgi?id=159705
Comment 4 Yusuke Suzuki 2020-01-10 22:27:28 PST
Created attachment 387426 [details]
Patch
Comment 5 Yusuke Suzuki 2020-01-11 17:25:29 PST
Committed r254408: <https://trac.webkit.org/changeset/254408>
Comment 6 Radar WebKit Bug Importer 2020-01-11 17:26:14 PST
<rdar://problem/58507472>