Title: [263982] trunk/Source/WebKit
- Revision
- 263982
- Author
- [email protected]
- Date
- 2020-07-06 13:19:51 -0700 (Mon, 06 Jul 2020)
Log Message
update-webkit-localizable-strings exits without writing localized strings because of an R"" string
https://bugs.webkit.org/show_bug.cgi?id=213274
<rdar://problem/64427891>
Reviewed by Darin Adler.
Remove R"" string, use adjacent string literals instead.
No new tests, functionality tested by existing tests, specifically
(http/tests/resourceLoadStatistics/telemetry-generation-basic-functionality-database.html
and http/tests/resourceLoadStatistics/telemetry-generation-advanced-functionality-database.html).
* NetworkProcess/Classifier/ResourceLoadStatisticsDatabaseStore.cpp:
(WebKit::joinSubStatisticsForSorting):
(WebKit::CompletionHandler<void): Deleted.
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (263981 => 263982)
--- trunk/Source/WebKit/ChangeLog 2020-07-06 19:51:49 UTC (rev 263981)
+++ trunk/Source/WebKit/ChangeLog 2020-07-06 20:19:51 UTC (rev 263982)
@@ -1,3 +1,21 @@
+2020-07-06 Kate Cheney <[email protected]>
+
+ update-webkit-localizable-strings exits without writing localized strings because of an R"" string
+ https://bugs.webkit.org/show_bug.cgi?id=213274
+ <rdar://problem/64427891>
+
+ Reviewed by Darin Adler.
+
+ Remove R"" string, use adjacent string literals instead.
+
+ No new tests, functionality tested by existing tests, specifically
+ (http/tests/resourceLoadStatistics/telemetry-generation-basic-functionality-database.html
+ and http/tests/resourceLoadStatistics/telemetry-generation-advanced-functionality-database.html).
+
+ * NetworkProcess/Classifier/ResourceLoadStatisticsDatabaseStore.cpp:
+ (WebKit::joinSubStatisticsForSorting):
+ (WebKit::CompletionHandler<void): Deleted.
+
2020-07-06 Wenson Hsieh <[email protected]>
[iPadOS] Unable to change focus between Google Docs windows by tapping
Modified: trunk/Source/WebKit/NetworkProcess/Classifier/ResourceLoadStatisticsDatabaseStore.cpp (263981 => 263982)
--- trunk/Source/WebKit/NetworkProcess/Classifier/ResourceLoadStatisticsDatabaseStore.cpp 2020-07-06 19:51:49 UTC (rev 263981)
+++ trunk/Source/WebKit/NetworkProcess/Classifier/ResourceLoadStatisticsDatabaseStore.cpp 2020-07-06 20:19:51 UTC (rev 263982)
@@ -926,24 +926,22 @@
static const StringView joinSubStatisticsForSorting()
{
- return R"query(
- domainID,
- (countSubFrameUnderTopFrame + countSubResourceUnderTopFrame + countUniqueRedirectTo) as sum
- FROM (
- SELECT
- domainID,
- COUNT(DISTINCT f.topFrameDomainID) as countSubFrameUnderTopFrame,
- COUNT(DISTINCT r.topFrameDomainID) as countSubResourceUnderTopFrame,
- COUNT(DISTINCT toDomainID) as countUniqueRedirectTo
- FROM
- ObservedDomains o
- LEFT JOIN SubframeUnderTopFrameDomains f ON o.domainID = f.subFrameDomainID
- LEFT JOIN SubresourceUnderTopFrameDomains r ON o.domainID = r.subresourceDomainID
- LEFT JOIN SubresourceUniqueRedirectsTo u ON o.domainID = u.subresourceDomainID
- WHERE isPrevalent LIKE ?
- and hadUserInteraction LIKE ?
- GROUP BY domainID) ORDER BY sum DESC
- )query";
+ return "domainID,"
+ "(countSubFrameUnderTopFrame + countSubResourceUnderTopFrame + countUniqueRedirectTo) as sum "
+ "FROM ( "
+ "SELECT "
+ "domainID, "
+ "COUNT(DISTINCT f.topFrameDomainID) as countSubFrameUnderTopFrame, "
+ "COUNT(DISTINCT r.topFrameDomainID) as countSubResourceUnderTopFrame, "
+ "COUNT(DISTINCT toDomainID) as countUniqueRedirectTo "
+ "FROM "
+ "ObservedDomains o "
+ "LEFT JOIN SubframeUnderTopFrameDomains f ON o.domainID = f.subFrameDomainID "
+ "LEFT JOIN SubresourceUnderTopFrameDomains r ON o.domainID = r.subresourceDomainID "
+ "LEFT JOIN SubresourceUniqueRedirectsTo u ON o.domainID = u.subresourceDomainID "
+ "WHERE isPrevalent LIKE ? "
+ "and hadUserInteraction LIKE ? "
+ "GROUP BY domainID) ORDER BY sum DESC ";
}
static SQLiteStatement makeMedianWithUIQuery(SQLiteDatabase& database)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes