Changeset 229115 in webkit


Ignore:
Timestamp:
Feb 28, 2018 4:54:45 PM (6 years ago)
Author:
wilander@apple.com
Message:

Remove assertion from ResourceLoadStatisticsClassifier::calculateResourcePrevalence() which causes crashes when domains are explicitly set as prevalent without the associated statistics
https://bugs.webkit.org/show_bug.cgi?id=183233

Unreviewed removal of an assertion that's causing layout test crashes.

  • Platform/classifier/ResourceLoadStatisticsClassifier.cpp:

(WebKit::ResourceLoadStatisticsClassifier::calculateResourcePrevalence):

Removed ASSERT(currentPrevalence == Low).

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r229106 r229115  
     12018-02-28  John Wilander  <wilander@apple.com>
     2
     3        Remove assertion from ResourceLoadStatisticsClassifier::calculateResourcePrevalence() which causes crashes when domains are explicitly set as prevalent without the associated statistics
     4        https://bugs.webkit.org/show_bug.cgi?id=183233
     5
     6        Unreviewed removal of an assertion that's causing layout test crashes.
     7
     8        * Platform/classifier/ResourceLoadStatisticsClassifier.cpp:
     9        (WebKit::ResourceLoadStatisticsClassifier::calculateResourcePrevalence):
     10            Removed ASSERT(currentPrevalence == Low).
     11
    1122018-02-28  John Wilander  <wilander@apple.com>
    213
  • trunk/Source/WebKit/Platform/classifier/ResourceLoadStatisticsClassifier.cpp

    r229106 r229115  
    5353        && !subframeUnderTopFrameOriginsCount
    5454        && !topFrameUniqueRedirectsToCount) {
    55         ASSERT(currentPrevalence == Low);
    5655        return Low;
    5756    }
Note: See TracChangeset for help on using the changeset viewer.