Bug 213815 - Rename ManifestParser.h/cpp to ApplicationCacheManifestParser.h/cpp to make it clear its not the ApplicationManifestParser (a different thing entirely).
Summary: Rename ManifestParser.h/cpp to ApplicationCacheManifestParser.h/cpp to make i...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Sam Weinig
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-06-30 13:37 PDT by Sam Weinig
Modified: 2020-06-30 16:55 PDT (History)
6 users (show)

See Also:


Attachments
Patch (35.03 KB, patch)
2020-06-30 13:38 PDT, Sam Weinig
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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".