Changeset 234890 in webkit


Ignore:
Timestamp:
Aug 15, 2018 10:48:07 AM (6 years ago)
Author:
achristensen@apple.com
Message:

Remove failing assertion introduced in r234873
https://bugs.webkit.org/show_bug.cgi?id=188581

  • contentextensions/ContentExtensionCompiler.cpp:

(WebCore::ContentExtensions::compileRuleList):
The assertion is correct but failing because VectorTraits<String> is incorrect.
I'll re-add it and fix VectorTraits<String> in a separate patch.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r234885 r234890  
     12018-08-15  Alex Christensen  <achristensen@webkit.org>
     2
     3        Remove failing assertion introduced in r234873
     4        https://bugs.webkit.org/show_bug.cgi?id=188581
     5
     6        * contentextensions/ContentExtensionCompiler.cpp:
     7        (WebCore::ContentExtensions::compileRuleList):
     8        The assertion is correct but failing because VectorTraits<String> is incorrect.
     9        I'll re-add it and fix VectorTraits<String> in a separate patch.
     10
    1112018-08-15  Wenson Hsieh  <wenson_hsieh@apple.com>
    212
  • trunk/Source/WebCore/contentextensions/ContentExtensionCompiler.cpp

    r234873 r234890  
    286286std::error_code compileRuleList(ContentExtensionCompilationClient& client, String&& ruleJSON, Vector<ContentExtensionRule>&& parsedRuleList)
    287287{
    288 #if !ASSERT_DISABLED
    289     callOnMainThread([ruleJSON = ruleJSON.isolatedCopy(), parsedRuleList = parsedRuleList.isolatedCopy()] {
    290         ASSERT(parseRuleList(ruleJSON) == parsedRuleList);
    291     });
    292 #endif
    293 
    294288    bool domainConditionSeen = false;
    295289    bool topURLConditionSeen = false;
Note: See TracChangeset for help on using the changeset viewer.