Bug 213815

Summary: Rename ManifestParser.h/cpp to ApplicationCacheManifestParser.h/cpp to make it clear its not the ApplicationManifestParser (a different thing entirely).
Product: WebKit Reporter: Sam Weinig <sam>
Component: New BugsAssignee: Sam Weinig <sam>
Status: RESOLVED FIXED    
Severity: Normal CC: beidson, cdumez, darin, ews-watchlist, japhet, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Sam Weinig 2020-06-30 13:37:33 PDT
Rename ManifestParser.h/cpp to ApplicationCacheManifestParser.h/cpp to make it clear its not the ApplicationManifestParser (a different thing entirely).
Comment 1 Sam Weinig 2020-06-30 13:38:22 PDT
Created attachment 403238 [details]
Patch
Comment 2 Darin Adler 2020-06-30 14:44:11 PDT
Comment on attachment 403238 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=403238&action=review

> Source/WebCore/loader/appcache/ApplicationCacheManifestParser.cpp:53
> +template<typename CharacterType> static constexpr bool isManifestNewline(CharacterType character)

This seems like a pretty standard definition of isNewline. Just saying.

> Source/WebCore/loader/appcache/ApplicationCacheManifestParser.h:36
> +    FallbackURLVector fallbackURLs;

Seems a slight shame that we have to include ApplicationCache.h just to get the definition of this vector type.
Comment 3 Darin Adler 2020-06-30 14:44:29 PDT
Comment on attachment 403238 [details]
Patch

Couldn’t set commit-queue+ without seeing more EWS results.
Comment 4 Sam Weinig 2020-06-30 14:49:58 PDT
(In reply to Darin Adler from comment #2)
> Comment on attachment 403238 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=403238&action=review
> 
> > Source/WebCore/loader/appcache/ApplicationCacheManifestParser.cpp:53
> > +template<typename CharacterType> static constexpr bool isManifestNewline(CharacterType character)
> 
> This seems like a pretty standard definition of isNewline. Just saying.

You don't know about these newfangled emoji newlines in Unicode 12?

> 
> > Source/WebCore/loader/appcache/ApplicationCacheManifestParser.h:36
> > +    FallbackURLVector fallbackURLs;
> 
> Seems a slight shame that we have to include ApplicationCache.h just to get
> the definition of this vector type.

Yeah. That's silly. Will fix (just not in this rename, too scared of messing up svn add / svn removes right now).
Comment 5 EWS 2020-06-30 15:43:06 PDT
Committed r263775: <https://trac.webkit.org/changeset/263775>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 403238 [details].
Comment 6 Radar WebKit Bug Importer 2020-06-30 15:44:20 PDT
<rdar://problem/64959544>
Comment 7 Darin Adler 2020-06-30 16:55:02 PDT
Noticed some "manfest" in the patch instead of "manifest".